華爲-兩層架構的SVI配置

華爲-兩層架構的SVI配置

sw2:架構

vlan batch  10 30 
interface Ethernet0/0/1  
port link-type trunk  
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/2  
port link-type access 
port default vlan 10
interface Ethernet0/0/3  
port link-type access  
port default vlan 30

sw3:ide

vlan  20 interface Ethernet0/0/1  
port link-type trunk  
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/2  
port link-type access  
port default vlan 20

核心交換機:sw1code

vlan batch 10 20 30 
interface Vlanif10 
ip address 192.168.10.1 255.255.255.0
interface Vlanif20
ip address 192.168.20.1 255.255.255.0
interface Vlanif30  
ip address 192.168.30.1 255.255.255.0
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
相關文章
相關標籤/搜索