No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Interoperation and Replacement Guide

This document provides typical configuration examples for interoperation between Huawei switches and mainstream IP phones, firewalls, routers, Microsoft NLB servers, multi-NIC servers, Cisco switches, and SolarWinds.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Interoperation and Replacement Solution 3: Cisco Switches Use MST to Replace PVST to Interoperate with Huawei Switches Running MSTP

Interoperation and Replacement Solution 3: Cisco Switches Use MST to Replace PVST to Interoperate with Huawei Switches Running MSTP

Overview

PVST on Cisco switches is changed to MST so that Cisco switches can interwork with Huawei switches running MSTP.

Networking Requirements

In Figure 5-23, all switches are Cisco switches. Layer 3 switches establish a virtual switching system (VSS) to implement connectivity. Two aggregation switches establish a port channel in manual mode to provide link redundancy. They are configured with OSPF and establish OSPF relationships with core switches to receive and transmit routes, and are configured with the Hot Standby Router Protocol (HSRP) to implement virtual gateway backup. Switches are enabled with PVST to remove loops.

Cisco switches use the short algorithm to calculate the path cost. The short algorithm corresponds to the dot1d-1998 algorithm on Huawei switches. Cisco switches do not support fast transition in enhanced mode, whereas Huawei switches use fast transition in enhanced mode by default. You must run the stp no-agreement-check command to configure fast transition in common mode on the interfaces that do not support fast transition in enhanced mode. The format of the digest on a Cisco MST switch is different from that defined by the IEEE. CiscoA is the root bridge and CiscoB is the secondary root bridge in VLAN 10, and GE0/2 on CiscoC is the blocked port. CiscoB is the root bridge and CiscoA is the secondary root bridge in VLAN 20, and GE0/1 on CiscoD is the blocked port.

Huawei switches need to replace the two aggregation switches, without changing the network plan.

Figure 5-23  Networking where Cisco switches use MST to replace PVST to interwork with Huawei switches running MSTP

Configuration Roadmap

  1. Configure OSPF on Huawei switches to establish OSPF relationships with core switches to receive and transmit routes.

  2. Configure link aggregation in manual mode on Huawei switches to implement load balancing.

  3. Configure VRRP on Huawei switches to interwork with and replace HSRP on Cisco switches. VRRP implements virtual gateway backup.

  4. Configure MST on Cisco switches. Configure MSTP on Huawei switches and configure the path cost calculation algorithm and fast transmission mode so that Huawei switches can interwork with Cisco MST switches.

    1. Configure MST on Cisco switches based on the original network plan.

      1. Configure an MST region, create multiple MSTIs, and map VLAN 10 to MSTI 1 and VLAN 20 to MSTI 2.

      2. Configure the root bridge and secondary root bridge of each MSTI in each MST region.

      3. Configure the path cost of a port in each instance so that the port can be blocked.

      4. Enable MST.

    2. Configure MSTP on Huawei switches based on the original network plan.

      1. Configure an MST region, create multiple MSTIs, and map VLAN 10 to MSTI 1 and VLAN 20 to MSTI 2.

      2. Configure the root bridge and secondary root bridge of each MSTI in each MST region.

      3. Configure the path cost calculation algorithm on Huawei switches to be consistent with that on Cisco switches.

      4. Configure digest snooping on interfaces of Huawei switches connected to Cisco access switches.

      5. Enable MSTP.

  5. Configure service forwarding on Huawei switches based on the original network plan.

Procedure

During migration, connect Huawei switches in bypass mode and establish OSPF routes. Migrate services on access switches to Huawei switches one by one.

  1. Check the configuration of Cisco switches before the replacement.

    1. Run the show running-config command to check the spanning tree configuration on Cisco switches.

    2. Run the show spanning-tree summary command to check spanning tree parameters and status information on Cisco switches.

    Cisco switches use Rapid PVST+ to calculate spanning trees and use the short algorithm to calculate the path cost. In addition, they do not support fast transition in enhanced mode.

  2. Power on two Huawei switches, and connect links between them and their uplinks. Configure addresses for downlink interfaces of core switches, and configure addresses for uplink interfaces and loopback addresses on Huawei switches. Change the spanning tree protocol to MST on Cisco switches and set parameters based on the original network plan. Complete the configuration on Huawei switches, and shut down VLANIF 10 and VLANIF 20 on HuaweiA and HuaweiB.

    1. Configure MST on CiscoA and CiscoB to be replaced.

      # Configure CiscoA.

      CiscoA# configure terminal
      CiscoA(config)# spanning-tree mst configuration
      CiscoA(config)# spanning-tree extend system-id
      CiscoA(config-mst)# instance 1 vlan 10
      CiscoA(config-mst)# instance 2 vlan 20
      CiscoA(config-mst)# spanning-tree mst 1 priority 0
      CiscoA(config-mst)# spanning-tree mst 2 priority 24576
      CiscoA(config-mst)# name BG1
      CiscoA(config-mst)# revision 0
      CiscoA(config-mst)# exit
      CiscoA(config)# spanning-tree mode mst
      CiscoA(config)# end
      

      # Configure CiscoB.

      CiscoB# configure terminal
      CiscoB(config)# spanning-tree mst configuration
      CiscoB(config)# spanning-tree extend system-id
      CiscoB(config-mst)# instance 1 vlan 10
      CiscoB(config-mst)# instance 2 vlan 20
      CiscoB(config-mst)# spanning-tree mst 1 priority 24576
      CiscoB(config-mst)# spanning-tree mst 2 priority 0
      CiscoB(config-mst)# name BG1
      CiscoB(config-mst)# revision 0
      CiscoB(config-mst)# exit
      CiscoB(config)# spanning-tree mode mst
      CiscoB(config)# end
      
    2. Configure MST on CiscoC and CiscoD (access switches).

      # Configure CiscoC.

      CiscoC# configure terminal
      CiscoC(config)# spanning-tree mst configuration
      CiscoC(config)# spanning-tree extend system-id
      CiscoC(config-mst)# instance 1 vlan 10
      CiscoC(config-mst)# instance 2 vlan 20
      CiscoC(config-mst)# name BG1
      CiscoC(config-mst)# revision 0
      CiscoC(config-mst)# exit
      CiscoC(config)# spanning-tree mode mst
      CiscoC(config)# interface gigabitethernet 0/2
      CiscoC(config-if)# spanning-tree mst 1 cost 20000
      CiscoC(config-if)# exit
      CiscoC(config)# end
      

      # Configure CiscoD.

      CiscoD# configure terminal
      CiscoD(config)# spanning-tree mst configuration
      CiscoD(config)# spanning-tree extend system-id
      CiscoD(config-mst)# instance 1 vlan 10
      CiscoD(config-mst)# instance 2 vlan 20
      CiscoD(config-mst)# name BG1
      CiscoD(config-mst)# revision 0
      CiscoD(config-mst)# exit
      CiscoD(config)# spanning-tree mode mst
      CiscoD(config)# interface gigabitethernet 0/1
      CiscoD(config-if)# spanning-tree mst 2 cost 20000
      CiscoD(config-if)# exit
      CiscoD(config)# end
      
    3. Configure MSTP on HuaweiA and HuaweiB.

      # Configure HuaweiA.

      <HUAWEI> system-view
      [HUAWEI] sysname HuaweiA
      [HuaweiA] stp region-configuration
      [HuaweiA-mst-region] region-name RG1
      [HuaweiA-mst-region] instance 1 vlan 10
      [HuaweiA-mst-region] instance 2 vlan 20
      [HuaweiA-mst-region] active region-configuration
      [HuaweiA-mst-region] quit
      [HuaweiA] stp pathcost-standard dot1d-1998
      [HuaweiA] stp instance 1 root primary
      [HuaweiA] stp instance 2 root secondary
      [HuaweiA] interface gigabitethernet 0/0/1
      [HuaweiA-GigabitEthernet0/0/1] stp no-agreement-check
      [HuaweiA-GigabitEthernet0/0/1] stp config-digest-snoop
      [HuaweiA-GigabitEthernet0/0/1] quit
      [HuaweiA] interface gigabitethernet 0/0/2
      [HuaweiA-GigabitEthernet0/0/2] stp no-agreement-check
      [HuaweiA-GigabitEthernet0/0/2] stp config-digest-snoop
      [HuaweiA-GigabitEthernet0/0/2] quit
      

      # Configure HuaweiB.

      <HUAWEI> system-view
      [HUAWEI] sysname HuaweiB
      [HuaweiB] stp region-configuration
      [HuaweiB-mst-region] region-name RG1
      [HuaweiB-mst-region] instance 1 vlan 10
      [HuaweiB-mst-region] instance 2 vlan 20
      [HuaweiB-mst-region] active region-configuration
      [HuaweiB-mst-region] quit
      [HuaweiB] stp pathcost-standard dot1d-1998
      [HuaweiB] stp instance 1 root secondary
      [HuaweiB] stp instance 2 root primary
      [HuaweiB] interface gigabitethernet 0/0/1
      [HuaweiB-GigabitEthernet0/0/1] stp no-agreement-check
      [HuaweiB-GigabitEthernet0/0/1] stp config-digest-snoop
      [HuaweiB-GigabitEthernet0/0/1] quit
      [HuaweiB] interface gigabitethernet 0/0/2
      [HuaweiB-GigabitEthernet0/0/2] stp no-agreement-check
      [HuaweiB-GigabitEthernet0/0/2] stp config-digest-snoop
      [HuaweiB-GigabitEthernet0/0/2] quit
      
  3. Migrate services of the backup uplink of CiscoD to HuaweiB and shut down VLANIF 20, as shown in Figure 5-24.

    Figure 5-24  Migration process 1
  4. Disconnect the cable between CiscoA and CiscoD, shut down VLANIF 20 on CiscoA and CiscoB, and enable VLANIF 20 on Huawei switches.

  5. Test services on CiscoD. When verifying that services on CiscoD are normal, migrate services on the link between CiscoD and CiscoA to HuaweiA. The migration of the access switch is completed, as shown in Figure 5-25.

    Figure 5-25  Migration process 2
  6. Perform the preceding steps to migrate services on downstream access switches one by one. Figure 5-26 shows the network where migration is completed.

    Figure 5-26  Network where migration is completed
  7. Check the configuration of Huawei switches after the replacement.

    1. Run the display stp [ vlan vlan-id ] [ interface interface-type interface-number | slot slot-id ] [ brief ] command to check the spanning tree status and statistics on Huawei switches.

    2. Run the show spanning-tree summary command to check spanning tree status information on Cisco switches.

    3. Verify services on user-side devices and check whether the replacement is successful.

Translation
Download
Updated: 2019-05-15

Document ID: EDOC1000114005

Views: 178599

Downloads: 8157

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next