hybrid经典小实验
- 实验拓扑
- 配置实现
-
- 配置验证
- PC1-PC3 不能通信
- PC1-PC2 正常通信
- 其他自行测试
实验拓扑
配置实现
SW1
sysname SW1
#
undo info-center enable
#
vlan batch 10 20 30
#
interface Ethernet0/0/1
port hybrid tagged vlan 10 20 30
#
interface Ethernet0/0/2
port hybrid pvid vlan 10
port hybrid untagged vlan 10 30
#
interface Ethernet0/0/3
port hybrid pvid vlan 20
port hybrid untagged vlan 20 30
#
interface Ethernet0/0/4
port hybrid pvid vlan 30
port hybrid untagged vlan 10 20 30
SW2
sysname SW2
#
undo info-center enable
#
vlan batch 10 20 30
#
interface Ethernet0/0/1
port hybrid tagged vlan 10 20 30
#
interface Ethernet0/0/2
port hybrid pvid vlan 10
port hybrid untagged vlan 10 30
#
interface Ethernet0/0/3
port hybrid pvid vlan 20
port hybrid untagged vlan 20 30
配置验证
PC1-PC3 不能通信
PC1-PC2 正常通信
其他自行测试