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).
VRRP and HSRP Replacement Solution

VRRP and HSRP Replacement Solution

Overview

HSRP and VRRP cannot interwork with each other. In the replacement solution, services on HSRP active and standby downlinks are migrated to the Huawei VRRP master and backup devices.

Networking Requirements

In Figure 5-31, Cisco switches are deployed. Two core switches constitute a stack. Two aggregation switches establish an Eth-Trunk in manual load balancing mode, and also establish OSPF neighbor relationships with core switches to receive and transmit routes. HSRP is used to implement virtual gateway backup. CiscoA is the master gateway and CiscoB is the backup gateway. In networking, the switches use Rapid PVST+ to prevent loops.

Huawei switches are used to replace two aggregation switches in the networking without changing the original network planning.

The following are HSRP configurations on the Cisco aggregation switches.

CiscoA

interface Vlan110
 ip address 172.31.217.156 255.255.255.224
 standby 110 ip 172.31.217.158
 standby 110 priority 110
 standby 110 preempt delay minimum 60
 standby 110 authentication hsrp110
interface Vlan120
 ip address 172.31.218.157 255.255.255.224
 standby 120 ip 172.31.218.158
 standby 120 authentication hsrp120

CiscoB

interface Vlan110
 ip address 172.31.217.155 255.255.255.224
 standby 110 ip 172.31.217.158
 standby 110 authentication hsrp110
interface Vlan120
 ip address 172.31.218.156 255.255.255.224
 standby 120 ip 172.31.218.158
 standby 120 priority 110
 standby 120 preempt delay minimum 60
 standby 120 authentication hsrp120
Figure 5-31  Networking for HSRP

Configuration Roadmap

  1. Configure OSPF for the Huawei switches to establish OSPF neighbor relationships with core switches to receive and transmit routes.

  2. Configure link aggregation in manual load balancing mode between Huawei switches to load balance traffic.

  3. Configure VRRP for Huawei switches to replace HSRP on the original Cisco switches to implement virtual gateway backup.

  4. Configure Huawei switches to achieve interworking with other Cisco switches to prevent loops. For detailed interworking solution, see Interworking and Replacement Guide of Cisco Spanning Tree Protocols and Huawei MSTP and VBST.

  5. Configure service forwarding functions for the Huawei switches by following the original network planning.

Procedure

  1. Run the show standby brief command to check the device status.

    # Check the HSRP status of CiscoA.

    CiscoA# show standby brief
                         P indicates configured to preempt.
                         |
    Interface   Grp  Pri P State   Active          Standby         Virtual IP
    Vlan110     110  110 P Active  local           172.31.217.155  172.31.217.158
    Vlan120     120  100   Standby 172.31.218.156  local           172.31.218.158
    

    # Check the HSRP status of CiscoB.

    CiscoB# show standby brief
                         P indicates configured to preempt.
                         |
    Interface   Grp  Pri P State   Active          Standby         Virtual IP
    Vlan110     110  100   Standby 172.31.217.156  local           172.31.217.158
    Vlan120     120  110 P Active  local           172.31.218.157  172.31.218.158
    

  2. Power on two Huawei switches and connect the links between them and the uplinks in bypass mode. Configure IP addresses for the core switches' downlink interfaces, and configure IP addresses and loopback addresses for the S series switches' uplink interfaces. Configure VRRP and configure HuaweiB as the master switch. Complete all the configurations on Huawei switches, and then shut down the VLANIF interfaces on the downlink access side.

    # Configure VRRP for HuaweiB. Configure HuaweiB as the master device in VRRP group 1, and the backup device in VRRP group 2.

    <HUAWEI> system-view
    [HUAWEI] sysname HuaweiB
    [HuaweiB] interface vlanif 110
    [HuaweiB-Vlanif110] ip address 172.31.217.156 255.255.255.224
    [HuaweiB-Vlanif110] vrrp vrid 110 virtual-ip 172.31.217.158
    [HuaweiB-Vlanif110] vrrp vrid 110 priority 110
    [HuaweiB-Vlanif110] vrrp vrid 110 preempt-mode timer delay 60
    [HuaweiB-Vlanif110] vrrp vrid 110 authentication-mode simple cipher vrrp110
    [HuaweiB-Vlanif110] quit
    [HuaweiB] interface vlanif 120
    [HuaweiB-Vlanif120] ip address 172.31.218.157 255.255.255.224
    [HuaweiB-Vlanif120] vrrp vrid 120 virtual-ip 172.31.218.158
    [HuaweiB-Vlanif120] vrrp vrid 120 authentication-mode simple cipher vrrp120
    [HuaweiB-Vlanif120] quit
    

    # Configure VRRP for HuaweiA. Configure HuaweiA as the backup device in VRRP group 1, and the master device in VRRP group 2.

    <HUAWEI> system-view
    [HUAWEI] sysname HuaweiA
    [HuaweiA] interface vlanif 110
    [HuaweiA-Vlanif110] ip address 172.31.217.155 255.255.255.224
    [HuaweiA-Vlanif110] vrrp vrid 110 virtual-ip 172.31.217.158
    [HuaweiA-Vlanif110] vrrp vrid 110 authentication-mode simple cipher vrrp110
    [HuaweiA-Vlanif110] quit
    [HuaweiA] interface vlanif 120
    [HuaweiA-Vlanif120] ip address 172.31.218.156 255.255.255.224
    [HuaweiA-Vlanif120] vrrp vrid 120 virtual-ip 172.31.218.158
    [HuaweiA-Vlanif120] vrrp vrid 120 priority 110
    [HuaweiA-Vlanif120] vrrp vrid 120 preempt-mode timer delay 60
    [HuaweiA-Vlanif120] vrrp vrid 120 authentication-mode simple cipher vrrp120
    [HuaweiA-Vlanif120] quit
    

  3. Based on the Cisco device HSRP configurations, CiscoA is an active router. Shut down CiscoB's downlink interfaces, connect CiscoD's physical cables to HuaweiB, and keep the interface connecting CiscoD and HuaweiB Down.

    Figure 5-32  VRRP replacement (step 1)

  4. Shut down CiscoA's downlink interfaces and immediately enable HuaweiB's interfaces to complete service switching.
  5. Test HuaweiB's configured services. If no exception is detected, connect the physical cables connecting CiscoA with CiscoD to HuaweiA. Enable the interfaces on HuaweiA to complete migration.

    Figure 5-33  VRRP replacement (step 2)

  6. Complete the access switch migration one by one based on the preceding steps.
  7. Check the VRRP status of Huawei switches.

    # Check the VRRP status of HuaweiB.

    [HuaweiB] display vrrp brief
    VRID  State        Interface                Type     Virtual IP     
    ----------------------------------------------------------------
    110   Master       Vlanif110                Normal   172.31.217.158 
    120   Backup       Vlanif120                Normal   172.31.218.158 
    ----------------------------------------------------------------
    Total:2     Master:1     Backup:1     Non-active:0  

    # Check the VRRP status of HuaweiA.

    [HuaweiA] display vrrp brief
    VRID  State        Interface                Type     Virtual IP     
    ----------------------------------------------------------------
    110   Backup       Vlanif110                Normal   172.31.217.158 
    120   Master       Vlanif120                Normal   172.31.218.158 
    ----------------------------------------------------------------
    Total:2     Master:1     Backup:1     Non-active:0

Configuration Files

HuaweiB configuration file

#                                                                               
interface Vlanif110                                                             
 ip address 172.31.217.156 255.255.255.224                                      
 vrrp vrid 110 virtual-ip 172.31.217.158                                        
 vrrp vrid 110 priority 110                                                     
 vrrp vrid 110 preempt-mode timer delay 60                                      
 vrrp vrid 110 authentication-mode simple cipher %^%#!e<$Ql28W2S&k^Jl;mU#/)n59kqh%9rF_E8EFWIF%^%#
#
interface Vlanif120                                                             
 ip address 172.31.218.157 255.255.255.224                                      
 vrrp vrid 120 virtual-ip 172.31.218.158                                        
 vrrp vrid 120 authentication-mode simple cipher %^%#S0^rDt=7[I1a^EU\zzpSN2BoIHvN%H]o&0M2_A=&%^%#
#

HuaweiA configuration file

#                                                                               
interface Vlanif110                                                             
 ip address 172.31.217.155 255.255.255.224                                      
 vrrp vrid 110 virtual-ip 172.31.217.158                                        
 vrrp vrid 110 authentication-mode simple cipher %^%#%XlM,3)SX/Q{S+'bB9GA.1wI;wh^^&ReNC-c:K<L%^%#
#
interface Vlanif120                                                             
 ip address 172.31.218.156 255.255.255.224                                      
 vrrp vrid 120 virtual-ip 172.31.218.158                                        
 vrrp vrid 120 priority 110                                                     
 vrrp vrid 120 preempt-mode timer delay 60                                      
 vrrp vrid 120 authentication-mode simple cipher %^%#tkK~$%dlFD%Yv>"UzAd8=o6k:z6c0Z%K`pPueWC/%^%#
#
Translation
Download
Updated: 2019-05-15

Document ID: EDOC1000114005

Views: 179030

Downloads: 8164

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