问题
问答题
阅读以下的配置信息,解释(5)处的命令。
Switch#
Switch#cofing
Switch(cofing)#interface fo/1 //进入接口1配置模式
Switch(cofing-if)#switchport mode truck (5)
Switch(cofing-if)#switchport truck allowed vlan all //设置允许从该接口交换数据的vlan
Switch(cofing-if)#exit
Switch(cofing)#exit
Switch#
答案
参考答案:
5设置当前端口为Trunk模式。
解析:
Switch(config-if)#switchport mode access设置端口为静态访问模式。