cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
623
Views
1
Helpful
13
Replies

Connection to Huawei switch

Faizandoger
Level 1
Level 1

Hi Dears 

I am connecting Huawei switch with Cisco nexus9k switch. When I enable vbst stp mode in Huawei switch then traffic seems not working. When I run mstp in Huawei switch then it's working. Cisco is running pvst in  both scenarios.  I am wondering how mstp is compatible with PVST in Cisco.  I can share configs of both, please support.

 

13 Replies 13

https://www.cisco.com/c/en/us/support/docs/lan-switching/multiple-instance-stp-mistp-8021s/116464-configure-pvst-00.html

The pvst not full compatible but it simulates mstp so it work' check link.

MHM

issue is I migrated the huawei switch from one location to another one but peer cisco switch is same with just port number changed. and in huawei switch before migration "stp mode vbst" was in its config file and when same configs loaded in huawei switch it stopped working for vlans. then I did " undo stp mode" in huawei switch and it falled back to MSTP. question is why it was working before and stopped working after wit vbst mode.

Two sites use nexus run same STP mode' i.e. MST?

MHM

 

  - @Faizandoger   If you migrate the switch to another network; then make sure to adapt the spanning tree algorithm accordingly

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

marce1000
Hall of Fame
Hall of Fame

 

 - @Faizandoger  You must configure a common spanning-tree algorithm on both devices (and or all switches on the intranet)

  M..



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Faizandogar
Level 1
Level 1

issue is I migrated the huawei switch from one location to another one but peer cisco switch is same with just port number changed. and in huawei switch before migration "stp mode vbst" was in its config file and when same configs loaded in huawei switch it stopped working for vlans. then I did " undo stp mode" in huawei switch and it falled back to MSTP. question is why it was working before and stopped working after wit vbst mode.

>>> peer cisco switch is same with just port number changed <<<
So why did you change the Huawei configuration ?
I don't think that needs changing, just modify the newly connected Cisco port
please post port configuration from original Cisco port and new Cisco port

This is exactly made me wondering, how come just physical migration can make this an issue. Please find below the configs of cisco switch before and after migration.

 

BEFORE(stp mode vbst on Huawei switch)::

interface Ethernet1/20
shutdown
switchport mode trunk
switchport trunk allowed vlan 1,22-24,55
spanning-tree port-priority 224
spanning-tree port type normal

AFTER(stp mode is mstp in huawei now)::

interface Ethernet1/21
switchport mode trunk
switchport trunk allowed vlan 1,22-24,55,110,120,251,400,500,701
spanning-tree port-priority 224
spanning-tree port type normal
speed 1000

 

 

pieterh
VIP
VIP

why did you configure more allowed vlans when you only needed to migrate from port 20 to port-21?

can you post the difference in configuration on the huawei side ?

interface XGigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 22 to 24 55 110 120 251 400 500 701

i just needed to have more vlans in the system to add so I made these configs. alos below is huawei STP status.

 

<MKXX-swXXX>display stp global
Protocol Status : Enabled
Bpdu-filter default : Disabled
Tc-protection : Enabled
Tc-protection threshold : 1
Tc-protection interval : 2s
Edged port default : Disabled
Pathcost-standard : Dot1t
Timer-factor : 3
Transmit-limit : 6
Bridge-diameter : 7
-------[CIST Global Info][Mode MSTP]-------
CIST Bridge :32768.2065-8e84-dc10
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.2065-8e84-dc10 / 0 (This bridge is the root)
CIST RegRoot/IRPC :32768.2065-8e84-dc10 / 0 (This bridge is the root)
CIST RootPortId :0.0
BPDU-Protection :Disabled
TC or TCN received :0
TC count per hello :0
STP Converge Mode :Normal
Share region-configuration :Enabled
Time since last TC :0 days 0h:0m:0s
Number of TC :0

 

and below is cisco switch STP

mkxx-sw10# show spanning-tree summary
Switch is in rapid-pvst mode

pieterh
VIP
VIP

interface Ethernet1/21
switchport trunk allowed vlan 1,22-24,55,110,120,251,400,500,701

interface XGigabitEthernet0/0/1
port trunk allow-pass vlan 22 to 24 55 110 120 251 400 500 701

any specific reason why vlan1 is inconsistent?

in huawei switch no need to add vlan 1

pieterh
VIP
VIP

Then you should also remove it from the Cisco's switchport.