题目内容
【问题 5】(7分)
以下是交换机Switch1 的部分配置。请解释配置命令。
1.配置 VLAN Trunk端口
……
Switch1(config)#interface f0/24 (进入端口 24配置模式)
Switch1(config-if)#switchport mode trunk (5) (2 分)
Switch1(config-if)# switchport trunk allowed vlan all (6) (2 分)
2.创建 VLAN
……
Switch2#vlan database
Switch2(vlan)#vlan 2 name vlan2 (7) (1 分)
3. 将端口加入到 VLAN中
Switch#config termilal
Enter configuration commands, one per line. End with CNTL/Z.
Switch1(config)#interface f0/9 (进入端口9 的配置模式)
Switch1(config-if)#switchport mode access (设置端口为静态 VLAN 访问模式)
Switch1(config-if)#switchport access vlan 2 (8) (1 分)
Switch1(config-if)#exit
Switch1(config)#exit
Switch1#show vlan (9) (1 分)
查看答案
搜索结果不匹配?点我反馈