本文共 634 字,大约阅读时间需要 2 分钟。
在sw1交换机中创建vlan 5 10 50
Vlan batch 5 10 50Int e0/0/1[sw1-Ethernet0/0/1]Port link-type hybrid
[sw1-Ethernet0/0/1]port hybrid vlan 5[sw1-Ethernet0/0/1]port hybrid tagged vlan 5 50[sw1-Ethernet0/0/2]port link-type hybrid
[sw1-Ethernet0/0/2]port hybrid pvid vlan 10[sw1-Ethernet0/0/2]port hybrid tagged vlan 10 50设置交换机2
[sw2]vlan batch 5 10 50[Sw2]int e0/0/2[sw2-Ethernet0/0/2]port link-type hybrid[sw2-Ethernet0/0/2]port hybrid pvid vlan 50[sw2-Ethernet0/0/2]port hybrid untagged vlan 5 10 50[sw2-Ethernet0/0/1]port link-type hybrid[sw2-Ethernet0/0/1]port hybrid tagged vlan 5 10 50转载于:https://blog.51cto.com/13935936/2299001