单选题
网络技术
2014-09-03
如下图所示,Cisco Catalyst 6500交换机A与B之间需传输ID号为10-35的VLAN信息,但是ID号为23的VLAN信息不允许传输。下列为交换机port 5/1分配VIAN的配置,正确的是( )。

A.Switch-6500>(enable)set 5/1 trunk on dotlq
Switch-6500>(enable)set 5/1 trunk vlan 10-35
Switch-6500>(enable)clear 5/1 trunk 23
Switch-6500>(enable)set 5/1 trunk vlan 10-35
Switch-6500>(enable)clear 5/1 trunk 23
B.Switch-6500>(enable)set trunk 5/1 on dotIq
Switch-6500>(enable)set trunk 5/1 vlan 10-35
Switch-6500>(enable)except trunk 5/1 23
Switch-6500>(enable)set trunk 5/1 vlan 10-35
Switch-6500>(enable)except trunk 5/1 23
C.Switch-6500>(enable)set trunk 5/1 on dotlq
Switch-6500>( enable)set trunk 5/1 vlan 10-35
Switch-6500>(enable)clear trunk 5/1 23
Switch-6500>( enable)set trunk 5/1 vlan 10-35
Switch-6500>(enable)clear trunk 5/1 23
D.Switch-6500>(enable)set trunk on 5/1 dotlq
Switch-6500>(enable)set trunk 5/1 dan 10-35
Switch-6500>(enable)delete trunk 5/1 23
Switch-6500>(enable)set trunk 5/1 dan 10-35
Switch-6500>(enable)delete trunk 5/1 23
参考答案
C
答案解析
Catelyst 6500交换机VLAN TRUNK的配置有三个步骤:
步骤一:配置VLAN的TRUNK模式,封装VLAN协议。设置端口5/1为TRUNK模式,封装802.10协议:(enable)set trunk 5/1 0n dotlq
步骤二:配置允许中继的VLAN。在端口5/1允许VLAN的列表中添加10~35号VLAN:(enable)set trunk 5/1 vlan 10-35
步骤三:配置不允许中继的VLAN。在端口5/1删除23号VLAN:(enable)clear tnmk 5/1 23,综上所述C选项正确。
步骤一:配置VLAN的TRUNK模式,封装VLAN协议。设置端口5/1为TRUNK模式,封装802.10协议:(enable)set trunk 5/1 0n dotlq
步骤二:配置允许中继的VLAN。在端口5/1允许VLAN的列表中添加10~35号VLAN:(enable)set trunk 5/1 vlan 10-35
步骤三:配置不允许中继的VLAN。在端口5/1删除23号VLAN:(enable)clear tnmk 5/1 23,综上所述C选项正确。
你可能感兴趣的试题
1
一个校园主干网有4台Catelyst 6500核心交换机SW1-SW4,它们的优先级值依次为8192、24576、20480和16384,现要求将SW4作为根交换机,SW4优先级的正确配置是( )。
A.Switch-SW4-6500>(enable)set spantree priority 28672
B.Switch-SW4-6500>(enable)set spantree priority l2288
C.Switch-SW4-6500>(enable)set spantree priority 8192
D.Switch-SW4-6500>(enable)set spantree priority 4096
A.Switch-SW-6500>(enable)set spantme backbonefast 4/1-24 enable
B.Switch-SW-6500>(enable)set spantree uplinkfast 4/1-24 enable
C.Switch-SW-6500>(enable)set spantree portfast 4/1-24 enable
D.Switch-SW-6500>(enable)set spantree porffast bpdu-filter 4/1-24 enable