Cisco三层交换机端口设置trunk方法是什么

疲惫芦苇 2个月前 已收到1个回答 举报

东京紸流 3星

共回答了357个问题采纳率:92.1% 评论

cisco二层交换机设置trunk:

S1>enable //进入特权模式

S1#config terminal //进入全局配置模式

S1(config)# interface vlan [vlanID] //进入vlan端口

S1(config-if)#switchport mode trunk //端口设置为trunk模式

三层交换机设置trunk:

S1>enable //进入特权模式

S1#config terminal //进入全局配置模式

S1(config)# interface vlan [vlanID] //进入vlan端口

S1(config-if)#switchport trunk encapsulation dot1q //封装协议

S1(config-if)#Switchport mode trunk //端口设置为trunk模式

扩展资料

交换机常见命令:

S1(config-if)#switchport trunk native vlan [vlanID] //设置为本征vlan

S1(config-if)#switchport trunk allowed vlan word/add/all/except/none/remove

//运行哪些vlan在本征vlan通信

S1(config-if)# do show interface trunk //查看端口trunk

S1#Show interface trunk //查看中继接口状态

S1#Show vlan brief //查看VLAN摘要信息

22小时前

20
可能相似的问题
Copyright © 2024 微短问答 All rights reserved. 粤ICP备2021119249号 站务邮箱 service@wdace.com