Exam 300-115 | Question id=1367 | Layer 2 Technologies |
Refer to the exhibit.
!
interface GigabitEthernet0/1
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
switchport vioce vlan 11
spanning-tree portfast
!
Which option shows the expected result if a show vlan command is issued?
A. |
switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/2, Gi0/3, Gi0/4, Gi0/5,
Gi0/6, Gi0/7, Gi0/8, Gi0/9,
Gi0/10, Gi0/11, Gi0/12, Gi0/13,
Gi0/14, Gi0/15, Gi0/16, Gi0/17,
Gi0/18, Gi0/19, Gi0/20, Gi0/21,
Gi0/22, Gi0/23, Gi0/24
10 Data active
11 Voice active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
| |
B. |
switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/2, Gi0/3, Gi0/4, Gi0/5,
Gi0/6, Gi0/7, Gi0/8, Gi0/9,
Gi0/10, Gi0/11, Gi0/12, Gi0/13,
Gi0/14, Gi0/15, Gi0/16, Gi0/17,
Gi0/18, Gi0/19, Gi0/20, Gi0/21,
Gi0/22, Gi0/23, Gi0/24
10 Data active Gi0/1
11 Voice active Gi0/1
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
| |
C. |
switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/2, Gi0/3, Gi0/4, Gi0/5,
Gi0/6, Gi0/7, Gi0/8, Gi0/9,
Gi0/10, Gi0/11, Gi0/12, Gi0/13,
Gi0/14, Gi0/15, Gi0/16, Gi0/17,
Gi0/18, Gi0/19, Gi0/20, Gi0/21,
Gi0/22, Gi0/23, Gi0/24
10 Data active
11 Voice active Gi0/1
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
| |
D. |
switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/2, Gi0/3, Gi0/4, Gi0/5,
Gi0/6, Gi0/7, Gi0/8, Gi0/9,
Gi0/10, Gi0/11, Gi0/12, Gi0/13,
Gi0/14, Gi0/15, Gi0/16, Gi0/17,
Gi0/18, Gi0/19, Gi0/20, Gi0/21,
Gi0/22, Gi0/23, Gi0/24
10 Data active Gi0/1
11 Voice active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
|
In this case, the port has been configured both as a trunk and as a switchport in data vlan 10. Obviously, a port can not be both, so even though Cisco IOS will accept both, the port will actually be used as a trunk, ignoring the switchport access VLAN 10 command.