In some cases you need to create Layer-2 domains with switches from different vendors. This article gives you information how to connect Huawei and Cisco switches together with MSTP (IEEE 802.1s).
If you have connected Cisco and Huawei switches in the same Layer-2 network and you would like to have them in the same MSTP region then the following three parts needs to be the same:
- Region name
- Revision level
- VLAN to instance mapping
Region name and revision level are part of the MSTP BPDU frames in the MST Extension. As the VLAN to instance mapping table is too big to be included the same way in the BPDU frames they need to exchanged differently. The switch is calculating a 128-bit MD5 hash digest of the VLAN to instance mapping table which will be added to the BPDU frames. You can easily see that when capturing a MSTP BPDU frame using Wirehark:
To configure Cisco and Huawei switches in the same MSTP region the configuration is straight forward.
1. |
Cisco MSTP configuration:
Note: MSTP configuration is immediately active |
2. |
Huawei MSTP configuration:
Note: MSTP configuration must be activated with the last command |
3. |
Check if the MSTP region digest is the same on Cisco and Huawei switches. Huawei: Cisco: If both MD5 digest are the same you can be sure that the VLAN to instance mapping is the same for both switches. If the region name and revision level is also the same you are sure that they are part of the same MSTP region. In case that the digest are not the same and you have checked that the VLAN to instance mapping is configured correctly on both switches then it's possible that the Cisco switch has an old IOS release which is using the prestandard digest calculation. In this case you can configure the digest snooping on the Huawei uplink connecting to the Cisco switch:
|
➡️ Huawei switches are using their MAC address as the default region name (Cisco has no default region name). If you don't change the default settings on Huawei switches then they are all belonging to different MSTP regions.