如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输VLAN ID为1、10、20和30的4个VIAN信息,Catalyst 3548交换机VLAN Trunk的正确配置是( )。

admin2020-04-29  51

问题 如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输VLAN ID为1、10、20和30的4个VIAN信息,Catalyst 3548交换机VLAN Trunk的正确配置是(    )。

选项 A、Switch一3548(config—if)# switchport trunk encapsulation dotl q   
Switch.3548(config—if)#switchport trunk allowed vlan l,10,20,30
B、Switch一3548(config—if)#switchport mode trunk   
Switch一3548(config—if)#switchport trunk encapsulation isl   
Switch一3548(config—if)#switchport trunk allowed vlan 1—30
C、Switch-3548(config—if)# switchport mode trunk   
Switch一3548(config—if)# switchport trunk encapsulation negotiate   
Switch一3548(config—if)# switchport trunk allowed vlan 1—30
D、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,10,20,30

答案D

解析 IEEE 802.1Q可用于不同厂家的交换机设备互连,是实现VLAN Trunk的唯一标准协议,因此,不同厂家交换机互连要实现VLAN Trunk功能时,必须在直接相连的两台交换机端口上都封装dotl q协议。VLAN Trunk协议配置的步骤为:
①进入继模式“#Switchport Mode trunk”;
②封装协议“#Switchport trunk encapsulation dotiq”;
③指定所属的VLAN“#Switch—port trunk allowed VLANl,10,20,30”。故D选项正确。
转载请注明原文地址:https://jikaoti.com/ti/6os7FFFM
0

随机试题
最新回复(0)