1填空题1 / 1
接入层交换机Switch2的配置命令如下,请解释并完成下列命令。
Switch2#config terminal __
Switch2(config)#interface f0/1 __
Switch2(config-if)#switchport mode trunk
Switch2(config-if)#switchport trunk allowed all
Swtich2(config-if)#exit
Swtich2(config)#interface f0/4
Switch2(config-if)#switchport mode access __
Switch2(config-if)#switchport access __
Swtich2(config-if)#exit
Swtich2(config)#interface f0/24
Switch2(config-if)#switchport mode access
Switch2(config-if)#switchport access __
从以上配置可以看出,该交换机的trunk口是端口 __
Switch2#config terminal __
Switch2(config)#interface f0/1 __
Switch2(config-if)#switchport mode trunk
Switch2(config-if)#switchport trunk allowed all
Swtich2(config-if)#exit
Swtich2(config)#interface f0/4
Switch2(config-if)#switchport mode access __
Switch2(config-if)#switchport access __
Swtich2(config-if)#exit
Swtich2(config)#interface f0/24
Switch2(config-if)#switchport mode access
Switch2(config-if)#switchport access __
从以上配置可以看出,该交换机的trunk口是端口 __
查看答案
- 进入全局配置模式
- 进入端口f0/1的配置模式
- 设置该端口为静态VLAN模式
- vlan2
- vlan3
- 1或f0/1