如图所示Catalyst 6500的3/1和Catalyst 3500的g0/1端口工作在VLAN trunk模式,且Catalyst 6500的3/1端口使用IEEE 802.1 Q协议,要求传输VLANl,2和24-100的VLAN信息,下列Catal

admin2019-07-29  25

问题 如图所示Catalyst 6500的3/1和Catalyst 3500的g0/1端口工作在VLAN trunk模式,且Catalyst 6500的3/1端口使用IEEE 802.1 Q协议,要求传输VLANl,2和24-100的VLAN信息,下列Catalyst 3500 VLAN trunk的正确配置是(    )。

选项 A、Switch-3548(config)#interface g0/1
Switch-3548(config-if)#switchpon mode trunk
Switch-3548(config-if)#switchport trunk encapsulation isl
Switch-3548(config-if)#switchpon trunk allowed vlan 1-100
Switch-3548(config-if)#switchpoa trunk allowed vlan except 3-23
B、Switch-3548(config)#interface g0/1
Switch-3548(config-if)#switchport mode trunk
Switch-3548(config-if)#switchport trunk encapsulation dotl q
Switch-3548(config-if)#switchport trunk allowed vlan 1-100
Switch-3548(config-if)#switchpot trunk allowed vlan except 3-23
C、Switch-3548(config)#interface g0/1
Switch-3548(config-if)#switchpon mode trunk
Switch-3548(config-if)#switchpon trunk encapsulation dotl q
Switch-3548(config-if)#switchpon trunk allowed vlan 1-100
Switch-3548(config-if)#switchpon trunk allowed vlan clear 3-23
D、Switch-3548(config)#interface g0/1
Switch-3548(config-if)#switchpot mode trunk
Switch-3548(config-if)#switchpot trunk encapsulation dotl q
Switch-3548(config-if)#switchpot trunk allowed vlan 1,100
Switch-3548(config-if)#switchport trunk allowed vlan except 3-23

答案B

解析 VLAN trunk的配置任务有:设置交换机端口的VLAN trunk模式,为VLAN trunk封装VLAN协议和设置VLAN trunk允许中级的VLANs。其中在VLAN协议中最具代表性的VLAN协议有ISL和IEEE 802.1Q。ISL是Cisco交换机内部链路的一个VLAN协议,它仅适用与Cisco设备。IEEE 802.1Q俗称“Dot.One Q”(dotlq)。Catalyst 3500操作步骤为:
步骤一:进入交换机端口配置模式Switch-3548(config)#interface<端口号>;
步骤二:配置VLAN trunk模式Switch-3548(config-if)#switchport mode trunk;
步骤三:封装VLAN协议
Switch-3548(config-if)#switchpot trunk encapsulation dotlq(封装IEEE 802.1Q)
Switch-3548(config-if)#switchport trunk encapsulation isl(封装ISL协议)
Switch-3548(config-if)#switchport trunk encapsulation negotiate P(自动协商)
(注:自动协商,及自适应协议的功能,但要求Cisco硬件支持ISL和802.1Q两个协议。)
步骤四:设置允许中继的VLAN
Switch-3548(config-if)#switchport trunk allowedvlan<vlan ID>
Switch-3548(config-if)#switchpoa trunk allowedvlan except,<vlan ID>
(注:except是从允许的VLAN列表中去除一些vlan号,也就是参数中给出的不允许中继的VLAN。)故选择B选项。
转载请注明原文地址:https://kaotiyun.com/show/SjdZ777K
0

随机试题
最新回复(0)