Realize different Vian communication

 pc configuration

 

 lsw1 configuration

interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk pvid vlan 10
 port trunk allow-pass vlan 10

lsw2 configuration

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk pvid vlan 20
 port trunk allow-pass vlan 20
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20

 Realize different vlan communication

 

The connected part of the switch is found to have no label.

Guess you like

Origin blog.csdn.net/qq_61759561/article/details/132883442