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

Typical Configuration Examples

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
Using VRRP to Replace HSRP on CE Series Switch

Using VRRP to Replace HSRP on CE Series Switch

Networking Requirements

As shown in Figure 4-11, the C6500 as the core device connects to uplink egress router NE40E-X3 and downlink access device CE6800. The C6500 is configured with HSRP to implement gateway redundancy, and MSTP is deployed on the Layer 2 network to remove loops.

Figure 4-11 HSRP networking

Roadmap

HSRP is a Cisco proprietary protocol. The CE series switch (CE12800 is used as an example) cannot connect to an HSRP-enabled device. It is recommended that the CE12800s connect to NE40E-X3 routers. Gradually migrate services on active and standby links of access switch CE6800 to CE12800s.

The migration may cause second-level service interruptions because services on active and standby links of access switch CE6800 need to be migrated to CE12800s.

Procedure

  1. Connect CE12800s to NE40E-X3 routers.

    Figure 4-12 Connect CE12800s to NE40E-X3 routers

    Configure Layer 3 connectivity between CE12800s and NE40E-X3 routers and complete route convergence. Pay attention to the following points:

    • Shut down the VLANIF interface where VRRP is configured on the CE12800 and prevent direct routes from being advertised to the NE40E-X3 routers. This prevents services from being incorrectly imported to the CE12800.

    • Configure new IP addresses for connected Layer 3 interfaces between CE12800s and between CE12800s and NE40E-X3 routers, and use the loopback interface address on the CE12800 as the routing protocol ID.

  2. Migrate services on the standby link of the CE6800 to the CE12800.

    Figure 4-13 Migrate services on the standby link of the CE6800 to the CE12800

    Migrate services on the standby link of CE6800-2 to CE12800-2 and shut down the interface on CE12800-2 connected to CE6800-2. Traffic from CE6800-2 is still forwarded by C6500-1.

    Figure 4-14 Migrate services on the standby link of the CE6800 to the CE12800

    Shut down the interface of C6500-1 connected to CE6800-2 and the corresponding VLANIF interface.

    Enable the interface of CE12800-2 connected to CE6800-2 and the corresponding VLANIF interface. Traffic from CE6800-2 is still forwarded by CE12800-2.

  3. Migrate services on the active link of the CE6800 to the CE12800.

    Figure 4-15 Migrate services on the active link of the CE6800 to the CE12800

    Migrate services on the active link of CE6800-2 to CE12800-1, and enable the interface of CE12800-1 connected to CE6800-2 and the corresponding VLANIF interface. Traffic from CE6800-2 is still forwarded by CE12800-1.

  4. Perform steps 2 to 3 to migrate services on all access switches CE6800s to CE12800s.

    Figure 4-16 Migrate services on all access switches CE6800s to CE12800s

  5. Check whether services are normal after services on all access switches are migrated.

    NOTE:

    The multicast addresses of Hello packets are different, and an ACL is deployed to allow HSRP packets (224.0.0.2) in some scenarios. When VRRP replaces HSRP, configure the ACL to allow VRRP packets (224.0.0.18).

  6. Remove C6500s when determining that services are normal.

    Figure 4-17 Remove C6500s when determining that services are normal

Configuration Comparison

Operation

HSRP

VRRP

Configure a virtual gateway.

switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# ip 10.0.2.2/8
switch(config-if)# hsrp 2
switch(config-if-hsrp)# ip 10.0.2.1
switch(config-if-hsrp)# exit
[~HUAWEI] interface vlanif 100
[~HUAWEI-Vlanif100] ip address 10.0.2.2 8
[*HUAWEI-Vlanif100] vrrp vrid 2 virtual-ip 10.0.2.1

Set the priority.

switch(config-if-hsrp)# priority 60
[~HUAWEI] interface vlanif 100
[~HUAWEI-Vlanif100] vrrp vrid 2 priority 60

Associate HSRP/VRRP with an interface.

switch# configure terminal
switch(config)# track 1 interface ethernet 2/2 ip routing
switch(config)# interface ethernet 1/2
switch(config-if)# hsrp 2
switch(config-if-hsrp)# track 1 decrement 10
[~HUAWEI] interface vlanif 100
[~HUAWEI-Vlanif100] vrrp vrid 2 track interface 10ge 1/0/2 reduce 10
Download
Updated: 2019-04-03

Document ID: EDOC1000039339

Views: 105431

Downloads: 7470

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