以华为产品为例
- LSW1
- interface Ethernet0/0/1 #PC1
- port hybrid pvid vlan 10
- port hybrid untagged vlan 10 30
- #
- interface Ethernet0/0/2 #PC2
- port hybrid pvid vlan 20
- port hybrid untagged vlan 20 30
- #
- interface Ethernet0/0/3 #PC3
- port hybrid pvid vlan 30
- port hybrid untagged vlan 10 20 30
- #
- interface Ethernet0/0/4 #PC4
- port link-type trunk
- #
- interface Ethernet0/0/5 #PC5
- port link-type trunk
- #
- interface Ethernet0/0/6
- port hybrid pvid vlan 20
- port hybrid tagged vlan 10
- LSW3
- interface Ethernet0/0/1
- port link-type trunk
- port trunk allow-pass vlan 2 to 4094
- #
版权声明:本文为weixin_42115003原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。