8.2 跨交换机实现VLAN间通信
最终配置<S1>display current-configuration
#
sysname S1
#
vlan batch 10 20
#
vlan 10
description R&D
vlan 20
description Market
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
#
interface Ethernet0/0/2
port link-type access
port default vlan 10
#
interface Ethernet0/0/3
port link-type access
port default vlan 20
#
Return
<S2>display current-configuration
#
sysname S2
#
vlan batch 10 20
#
vlan 10
description R&D
vlan 20
description Market
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10 20
#
interface Ethernet0/0/3
port link-type access
port default vlan 10
#
interface Ethernet0/0/4
port link-type access
port default vlan 20
#
Return
<S3>display current-configuration
#
sysname S3
#
vlan batch 10 20
#
vlan 10
description R$D
vlan 20
description Market
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
Return
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|