hehuanling

SW2:

en

conf t

hostname SW2

vlan 10

vlan 20

int e0/1

switchport mode access

switchport access vlan 10

int e0/2

switchport mode access

switchport access vlan 20

int e0/0

switchport trunk en dot1q

switchport mode trunk

switch trunk allow vlan 10,20

SW3:

en

conf t

hostname SW3

vlan 10

vlan 20

int e0/1

switchport mode access

switchport access vlan 10

int e0/2

switchport mode access

switchport access vlan 20

int e0/0

switchport trunk en dot1q

switchport mode trunk

switch trunk allow vlan 10,20

SW1:

en

conf t

hostname SW1

vlan 10

vlan 20

int e0/0

switchport trunk en dot1q

switchport mode trunk

switch trunk allow vlan 10,20

int e0/1

switchport trunk en dot1q

switchport mode trunk

switch trunk allow vlan 10,20

int vlan 10

ip add 192.168.1.254 255.255.255.0

no shut

int vlan 20

ip add 192.168.2.254 255.255.255.0

no shut

 

分类:

技术点:

相关文章:

  • 2021-04-07
  • 2021-05-01
  • 2021-12-24
  • 2021-04-05
  • 2021-09-09
  • 2021-08-01
  • 2021-05-15
  • 2021-11-26
猜你喜欢
  • 2021-04-10
  • 2021-10-28
  • 2021-05-28
  • 2021-12-07
  • 2021-12-22
相关资源
相似解决方案