華為trunk附案例(so easy)
實驗環境:華為模擬器 1. 配置pc機ip(192.168.10.1 192.168.20.1 192.168.10.2 192.168.20.2),子掩:255.255.255.0 2,給交換機添加vlan10,VLAN20, vlan 10 quit Vlan 20 Quit Interface g0/0/1 Port link-type access Port default vlan 10 Quit Interface g0/0/2 Port link-type access Port access vlan 20 配置交換機2 vlan 10 Quit Vlan 20 Quit interface g0/0/1 Port link-type access Port default vlan 10 Quit Intface g0/0/2 Port link-type access Port default vlan 20 Quit 3,配置trunk 鏈路 在交換機2上, Interface g0/0/24 Port link-type trunk Port trunk allow-pass vlan all 在交換機1上 Interface g0/0/24 Port link-type trunk Port trunk allow-paas vlan 4,驗證:ping192.168.10.2 配置 Trunk鏈路思路:(華為) |
華為trunk附案例(so easy)