如下图所示.两台Catelyst 3548交换机通过千兆以太网端121连接,Catelyst 3548 A使用IEEE 802.IQ协议,两台交换机之间需要传输ID号为10、14、24,VLAN名为lib10、lib14和1ib24的3个VLAN,禁止传送

admin2022-04-06  31

问题 如下图所示.两台Catelyst 3548交换机通过千兆以太网端121连接,Catelyst 3548 A使用IEEE 802.IQ协议,两台交换机之间需要传输ID号为10、14、24,VLAN名为lib10、lib14和1ib24的3个VLAN,禁止传送ID号为100-1000的VLAN信息,下列交换机B的VLAN配置,正确的是(          )。

选项 A、Switch-3548#vlan data
Switch-3548(vlan)#vlan 10 lib10
Switch-3548(vlan)#vlan 14 lib14
Switch-3548(vlan)#vlan 24 lib24
Switch-3548(vlan)#exit
Switch-3548#configure terminal
Switch-3548(config)#interface g0/8
Switch-3548(config-if)#switchport mode trunk
Switch-3548(config-if)#switchport trunk encapsulation is1
Switch-3548(config-if)#switchport trunk allowed vlan 10,14,24
Switch-3548(config-if)#switchport trunk allowed vlan except 100-1000
Switch-3548(config-if)#exit
B、Switch-3548#vlan data
Switch-3548(vlan)#vlan 10 name lib10
Switch-3548(vlan)#vlan 14 name lib14
Switch-3548(vlan)#vlan 24 name lib24
Switch-3548(vlan)#exit
Switch-3548#configure terminal
Switch-3548(config)#interface g0/8
Switch-3548(config-if)#switchport mode trunk
Switch-3548(config-if)#switchport trunk encapsulation dot1q
Switch-3548(config-if)#switchport trunk allowed vlan 10,14,24
Switch-3548(config-if)#switchport trunk allowed vlan except 100-1000
Switch-3548(config-if)#exit
C、Switch-3548#vlan data
Switch-3548(vlan)#vlan 10 name lib10
Switch-3548(vlan)#vlan 14 name lib14
Switch-3548(vlan)#vlan 24 name lib24
Switch-3548(vlan)#exit
Switch-3548#configure terminal
Switch-3548(config)#interface g0/8
Switch-3548(config-if)#switchport mode trunk
Switch-3548(config-if)#switchport trunk encapsulation is1
Switch-3548(config-if)#switchport trunk allowed vlan 10,14,24
Switch-3548(config-if)#switchport trunk allowed vlan except 100-1000
Switch-3548(config-if)#exit
D、Switch-3548#vlan data
Switch-3548(vlan)#vlan 10 name lib10
Switch-3548(vlan)#vlan 14 name lib14
Switch-3548(vlan)#vlan 24 name lib24
Switch-3548(vlan)#exit
Switch-3548#configure terminal
Switch-3548(config)#interface g0/8
Switch-3548(config-if)#switchport mode trunk
Switch-3548(config-if)#switchport trunk encapsulation dot1q
Switch-3548(config-if)#switchport trunk access vlan 10 14 24
Switch-3548(config-if)#switchport trunk allowed vlan clcar 100-1000
Switch-3548(config-if)#exit

答案B

解析 本题考查的是交换机Catelyst 3500系列VLAN的配置。交换机VLAN配置的主要任务是:配VTP,建立和删除VLAN,为交换机端口分配VLAN和在交换机端口上配置VLAN Trunk。建立VLAN命令格式:vlan<vlan ID>name<vlan name>,本题使用的是IEEE 802.1Q协议,故排除A、C选项;设置不允许中继的VLAN命令格式:Switch-3528-TEST(config-if)#switchport trunk allowed vlanexpect<vlan ID>(不允许访问的ID),排除D选项。故选择B选项。
转载请注明原文地址:https://jikaoti.com/ti/eZM7FFFM
0

最新回复(0)