650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/46/4F/wKiom1PxtLuT8uDNAA7b5gUf4EM726.bmp "title=" Three layer switch different VLAN interworking. bmp "alt=" Wkiom1pxtlut8udnaa7b5guf4em726.bmp "/> Purpose: Two three-layer switches hang different VLANs for interoperability, all ports are access ports
After the configuration is complete, 10.86.3.50 can ping any networked IP that resides on the device.
LSW4 configuration:
#
sysname Huawei
#
VLAN Batch 2 to 4
#
Cluster enable
NTDP Enable
NDP enable
#
Drop Illegal-mac Alarm
#
DiffServ domain Default
#
Drop-profile Default
#
Aaa
Authentication-scheme Default
Authorization-scheme Default
Accounting-scheme Default
Domain default
Domain Default_admin
Local-user Admin Password Simple admin
Local-user Admin Service-type http
#
Interface VLANIF1
#
Interface Vlanif2
IP address 10.86.3.1 255.255.255.0
#
Interface Vlanif3
IP address 10.86.4.1 255.255.255.0
#
Interface Vlanif4
IP address 10.86.5.1 255.255.255.0
#
Interface METH0/0/1
#
Interface GIGABITETHERNET0/0/1
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/2
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/3
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/4
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/5
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/6
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/7
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/8
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/9
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/10
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/11
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/12
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/13
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/14
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/15
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/16
#
Interface GIGABITETHERNET0/0/17
#
Interface GIGABITETHERNET0/0/18
#
Interface Gigabitethernet0/0/19
#
Interface GIGABITETHERNET0/0/20
#
Interface GIGABITETHERNET0/0/21
#
Interface GIGABITETHERNET0/0/22
#
Interface GIGABITETHERNET0/0/23
Port Link-type Access
Port default VLAN 4
#
Interface GIGABITETHERNET0/0/24
Port Link-type Access
Port default VLAN 4
#
Interface NULL0
#
IP route-static 172.16.3.0 255.255.255.0 10.86.5.2
IP route-static 172.16.4.0 255.255.255.0 10.86.5.2
#
User-interface Con 0
User-interface vty 0 4
#
Port-group 1
#
Port-group 2
Group-member GIGABITETHERNET0/0/1
Group-member GIGABITETHERNET0/0/2
Group-member GIGABITETHERNET0/0/3
Group-member GIGABITETHERNET0/0/4
Group-member GIGABITETHERNET0/0/5
Group-member GIGABITETHERNET0/0/6
Group-member GIGABITETHERNET0/0/7
Group-member GIGABITETHERNET0/0/8
Group-member GIGABITETHERNET0/0/9
Group-member GIGABITETHERNET0/0/10
#
Port-group 3
Group-member GIGABITETHERNET0/0/11
Group-member GIGABITETHERNET0/0/12
Group-member GIGABITETHERNET0/0/13
Group-member GIGABITETHERNET0/0/14
Group-member GIGABITETHERNET0/0/15
#
Port-group 4
Group-member GIGABITETHERNET0/0/23
Group-member gigabitethernet0/0/24
#
Return
<Huawei>
LSW5 configuration:
#
sysname Huawei
#
VLAN Batch 2 to 4
#
Cluster enable
NTDP Enable
NDP enable
#
Drop Illegal-mac Alarm
#
DiffServ domain Default
#
Drop-profile Default
#
Aaa
Authentication-scheme Default
Authorization-scheme Default
Accounting-scheme Default
Domain default
Domain Default_admin
Local-user Admin Password Simple admin
Local-user Admin Service-type http
#
Interface VLANIF1
#
Interface Vlanif2
IP address 172.16.3.1 255.255.255.0
#
Interface Vlanif3
IP address 172.16.4.1 255.255.255.0
#
Interface Vlanif4
IP address 10.86.5.2 255.255.255.0
#
Interface METH0/0/1
#
Interface GIGABITETHERNET0/0/1
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/2
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/3
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/4
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/5
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/6
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/7
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/8
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/9
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/10
Port Link-type Access
Port default VLAN 2
#
Interface GIGABITETHERNET0/0/11
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/12
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/13
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/14
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/15
Port Link-type Access
Port default VLAN 3
#
Interface GIGABITETHERNET0/0/16
#
Interface GIGABITETHERNET0/0/17
#
Interface GIGABITETHERNET0/0/18
#
Interface Gigabitethernet0/0/19
#
Interface GIGABITETHERNET0/0/20
#
Interface GIGABITETHERNET0/0/21
#
Interface GIGABITETHERNET0/0/22
#
Interface GIGABITETHERNET0/0/23
Port Link-type Access
Port default VLAN 4
#
Interface GIGABITETHERNET0/0/24
Port Link-type Access
Port default VLAN 4
#
Interface NULL0
#
IP route-static 10.86.3.0 255.255.255.0 10.86.5.1
IP route-static 10.86.4.0 255.255.255.0 10.86.5.1
#
User-interface Con 0
User-interface vty 0 4
#
Port-group 2
Group-member GIGABITETHERNET0/0/1
Group-member GIGABITETHERNET0/0/2
Group-member GIGABITETHERNET0/0/3
Group-member GIGABITETHERNET0/0/4
Group-member GIGABITETHERNET0/0/5
Group-member GIGABITETHERNET0/0/6
Group-member GIGABITETHERNET0/0/7
Group-member GIGABITETHERNET0/0/8
Group-member GIGABITETHERNET0/0/9
Group-member GIGABITETHERNET0/0/10
#
Port-group 3
Group-member GIGABITETHERNET0/0/11
Group-member GIGABITETHERNET0/0/12
Group-member GIGABITETHERNET0/0/13
Group-member GIGABITETHERNET0/0/14
Group-member GIGABITETHERNET0/0/15
#
Port-group 4
Group-member GIGABITETHERNET0/0/23
Group-member gigabitethernet0/0/24
#
Return
This article is from the "tiaozhan1000" blog, make sure to keep this source http://211399.blog.51cto.com/201399/1541639