如下图所示,在一台Cisco Catalyst 3500交换机上连接2台PC机,使用端口划分方法将它们分别划分在VLAN ID为21、22,VLAN名为VL21、V122的VLAN中,下列关于交换机VLAN的配置,正确的是( )。

admin2021-09-09  28

问题 如下图所示,在一台Cisco Catalyst 3500交换机上连接2台PC机,使用端口划分方法将它们分别划分在VLAN ID为21、22,VLAN名为VL21、V122的VLAN中,下列关于交换机VLAN的配置,正确的是(    )。

选项 A、Switch一3548#vlan data
Switch一3548(vlan)#vlan 21 name v121
Switch一3548(vlan)#vlan 22 name v122
Switch一3548(vlan)#exit
Switch一3548#configure terminal
Switch一3548(config)#int f0/1
Switch一3548(config—if)#switchpoa access vlan 2 1
Switch一3548(config)#int f0/2
Switch一3548(config—if)#switehpoa access vlan 22
B、Switch一3548#vlan data
Switch一3548(vlan)#set vlan 2 l name v121
Switch一3548(vlan)#set vlan 22 name v122
Switch一3548(vlan)#exit
Switch一3548#configure terminal
Switch一3548(config)#int f0/1
Switch一3548(config—if)#switchpoa access vlan 21
Switch一3548(config)#int f0/2
Switch一3548(config—if)#switchpoa access vlan 22
C、Switch一3548#vlan data
Switch一3548(vlan)#vlan 2 1 name v12 1
Switch一3548(vlan)#vlan 22 name v122
Switch一3548 (vlan)#exit
Switch一3548#configure terrninal
Switch一3548(config)#int f0/1
Switch一3548(config—if)#switchpoa allowed vlan 2 1
Switch一3548(config)#int t0/2
Switch一3548(config—if)#switchpoa allowed vlan 22
D、Switch一3548#vlan data
Switch一3548(vlan)#vlan 21 name v12 1
Switch一3548(vlan)#vlan 22 name v122
Switch一3548(vlan)#exit
Switch一3548#configure terminal
Switch一3548(eonfig)#int f0/1
Switch一3548(config-if)#switehport access 21
Switch一3548(config)#int f0/2
Switch一3548(eonfig—if)#switehport access 22

答案A

解析 建立VLAN的命令格式“vlanname”,为端口分配VLAN的命令格式为“switchport access vlan ”。综上所述只有A项符合。
转载请注明原文地址:https://kaotiyun.com/show/TvOZ777K
0

相关试题推荐
最新回复(0)