Issue Description:
Customer want to configuration the MSTP In order to solve the two-layer loop issue, but customer both have the Huawei and Cisco switch so he configuration the MSTP but find it’s not working and all of the network effect.so customer disable the stp in the Huawei switch. Huawei switch is S5300 V200R005C00SPC300.
Customer topology as bellow:
Customer disable the stp in both two Huawei switch g0/0/4, Business temporarily back to normal.
Alarm Information:
None.
Handling Process:
One、check the configuration of MSTP both from the Huawei and Cisco switch. Find the pothcost is not same and the region-name、instance is not also not match. Need change to same.
Huawei configuration about MSTP
stp region-configuration
region-name HUAWEI-VSNL
revision-level 20
instance 1 vlan 224 1100 to 1299 1500 to 1899
instance 2 vlan 3100 to 3549
instance 3 vlan 246 to 247 3000 to 3099
instance 4 vlan 2400 to 2999
instance 5 vlan 3550 to 4000
instance 6 vlan 1300 to 1499 1900 to 2399
instance 7 vlan 400 to 999
instance 8 vlan 2 to 223 225 to 245 248 to 399 1000 to 1099
active region-configuration
#
Cisco configuration about MSTP
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name VSNL
revision 20
instance 1 vlan 224, 1100-1299, 1500-1899
instance 2 vlan 3100-3549
instance 3 vlan 246-247, 3000-3099
instance 4 vlan 2400-2999
instance 5 vlan 3550-4000
instance 6 vlan 1300-1499, 1900-2399
instance 7 vlan 400-999
instance 8 vlan 2-223, 225-245, 248-399, 1000-1099
Second、check the configuration about the Interconnection port configuration, suggest enable some optimization and enable the stp.
interface GigabitEthernet0/0/4
description (Huawei_as01 connected to cisco_as04#GigabitEthernet 1/0/12)
undo port hybrid vlan 1
port hybrid tagged vlan 10 20 30 100 106 119 124 130 137 140 to 142
port hybrid tagged vlan 146 150 152 221 224 246 to 247 256 262 265 267 to 268
port hybrid tagged vlan 1100 1500 1504 1700 1900 2000 2500 2550 2600 2650
port hybrid tagged vlan 3000 3002 to 3004 3006 to 3007 3025 3560 3566 3569
stp disable
stp root-protection
interface GigabitEthernet1/0/12
description ***cisco_as04 connect to Huawei_as01-GigabitEthernet0/0/4***
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,30,100,109,112,118,122,140,150,152,224,246
switchport trunk allowed vlan add 247,256,260,268,1100-1109,1500-1509,1700
switchport trunk allowed vlan add 1900-1909,2500,2550,2600,2650,3000-3009
switchport mode trunk
Root Cause:
First、The pathcost calculation method is different between huawei and cisco switch,cisco default use the spanning-tree pathcost method short. Mean cisco use IEEE 802.1d-1998 standard, but Huawei default use the IEEE 802.1t, so need to change to same.
Second、MSTP configuration about region-name、revision-level、instance must be same ,Then MSTP can be Synchronize.
Third、There is no mechanism optimization from Interconnection port configuration
Solution:
Change the configuration as bellow:
[Huawei_as01]stp pathcost-standard dot1d-1998
Huawei switch:
stp region-configuration
region-name VSNL
revision-level 20
instance 1 vlan 224 1100 to 1299 1500 to 1899
instance 2 vlan 3100 to 3549
instance 3 vlan 246 3000 to 3099
instance 4 vlan 2400 to 2999
instance 5 vlan 3550 to 4000
instance 6 vlan 1300 to 1499 1900 to 2399
instance 7 vlan 400 to 999
instance 8 vlan 2 to 223 225 to 245 248 to 399 1000 to 1099
active region-configuration
#
[Huawei_as01-GigabitEthernet0/0/4] stp no-agreement-check
[Huawei_as01-GigabitEthernet0/0/4] stp config-digest-snoop
Suggestions:
Cisco usually use a private protocol, you need to configure the appropriate features in order to make the protocol work properly.