问题 问答题

阅读以下说明,回答问题。

说明:利用VLAN技术可以把物理上连接的网络从逻辑上划分为多个不同的虚拟子网,可以对各个子网实施不同的管理策略。图1—3标示两个交换机相连,把6台计算机配置成两个VLAN。

阅读以下的配置信息,解释(7)处的命令,将答案填写在答题纸上的相应位置。

Switch# cofing t

Switch (cofing) #interface fo/5(进入接口5配置模式)

Switch (cofing-if) #switchport mode access (7)

Switch (cofing-if) #switchport access vlan 2 (把端口5分配给相应的vlan2)

Switch (cofing) # exit

Switch (cofing) #interface fo/6

Switch (cofing-if) #switchport mode access

Switch (cofing-if) #switchport access vlan 3

Switch (cofing-if) # exit

Switch (cofing) # exit

Switch#

答案

参考答案:

⑦设置端口为静态vlan访问模式

解析:

(5)Switch(config)#interface f0/5配嚣端口f0/5。

Switch(config—if)#switchport mode access设置端口为静态访问模式

选择题
单项选择题