vlan网络环境1

2021-10-08 15:36:01 浏览数 (1)

配置LSW1:

vlan batch 2 3

interface GigabitEthernet 0/0/1

port link-type access

port default vlan 2

display this

interface GigabitEthernet 0/0/2

port link-type access

port default vlan 3

display this

interface GigabitEthernet 0/0/3

port link-type trunk

port trunk allow-pass vlan all

配置LSW3:

vlan batch 2 3

interface GigabitEthernet 0/0/2

port link-type access

port default vlan 2

display this

interface GigabitEthernet 0/0/3

port link-type access

port default vlan 3

display this

配置LSW2:

vlan batch 2 3

interface GigabitEthernet 0/0/1

port link-type trunk

port trunk allow-pass vlan all

interface GigabitEthernet 0/0/2

port link-type trunk

port trunk allow-pass vlan all

至此,同部门的可以通了。

0 人点赞