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

CLI-based Configuration Guide - Reliability

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides guidance for configuring reliability services, including interface backup, BFD, VRRP, and EFM.
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).
Example for Configuring a VRRP6 Group in Load Balancing Mode

Example for Configuring a VRRP6 Group in Load Balancing Mode

Networking Requirements

As shown in Figure 7-21, HostA and HostC are dual-homed to RouterA and RouterB through the switch on the IPv6 network. The requirements are as follows:
  • HostA uses RouterA as the default gateway to connect to the Internet, and RouterB functions as the backup gateway.
  • HostC uses RouterB as the default gateway to connect to the Internet, and RouterA functions as the backup gateway.
Load balancing needs to be implemented.
Figure 7-21  Networking diagram for configuring a VRRP6 group in load balancing mode

Configuration Roadmap

The configuration roadmap is as follows:

  1. Assign an IP address to each interface and configure a routing protocol to ensure network connectivity.
  2. Create VRRP6 groups 1 and 2 on RouterA and RouterB. In VRRP6 group 1, configure RouterA as the master and RouterB as the backup. In VRRP6 group 2, configure RouterB as the master and RouterA as the backup.

Procedure

  1. Configure devices to ensure network connectivity.

    # Assign an IP address to each interface. RouterA is used as an example. The configurations of RouterB and RouterC are similar to the configuration of RouterA, and are not mentioned here.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] ipv6
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] ipv6 enable
    [RouterA-GigabitEthernet2/0/0] ipv6 address FC00::1 64
    [RouterA-GigabitEthernet2/0/0] quit
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ipv6 enable
    [RouterA-GigabitEthernet1/0/0] ipv6 address 2002::1 64
    [RouterA-GigabitEthernet1/0/0] quit

    # Configure Layer 2 transparent transmission on the switch.

    <Huawei> system-view
    [Huawei] sysname Switch
    [Switch] vlan 10
    [Switch-vlan10] quit
    [Switch] interface gigabitethernet 1/0/0
    [Switch-GigabitEthernet1/0/0] port hybrid pvid vlan 10
    [Switch-GigabitEthernet1/0/0] port hybrid untagged vlan 10
    [Switch-GigabitEthernet1/0/0] quit
    [Switch] interface gigabitethernet 2/0/0
    [Switch-GigabitEthernet2/0/0] port hybrid pvid vlan 10
    [Switch-GigabitEthernet2/0/0] port hybrid untagged vlan 10
    [Switch-GigabitEthernet2/0/0] quit
    

    # Configure OSPF between RouterA, RouterB, and RouterC. RouterA is used as an example. The configurations of RouterB and RouterC are similar to the configuration of RouterA, and are not mentioned here.

    [RouterA] ospfv3
    [RouterA-ospfv3-1] router-id 1.1.1.1
    [RouterA-ospfv3-1] quit
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] ospfv3 1 area 0
    [RouterA-GigabitEthernet2/0/0] quit
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ospfv3 1 area 0
    [RouterA-GigabitEthernet1/0/0] quit

  2. Configure VRRP6 groups.

    # Configure VRRP6 group 1 on RouterA and RouterB, set the priority of RouterA to 120 and the preemption delay to 20s, and set the default priority for RouterB.

    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] vrrp6 vrid 1 virtual-ip FE80::1 link-local
    [RouterA-GigabitEthernet2/0/0] vrrp6 vrid 1 virtual-ip FC00::100
    [RouterA-GigabitEthernet2/0/0] vrrp6 vrid 1 priority 120
    [RouterA-GigabitEthernet2/0/0] vrrp6 vrid 1 preempt-mode timer delay 20
    [RouterA-GigabitEthernet2/0/0] quit
    [RouterB] interface gigabitethernet 2/0/0
    [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 1 virtual-ip FE80::1 link-local
    [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 1 virtual-ip FC00::100
    [RouterB-GigabitEthernet2/0/0] quit

    # Configure VRRP6 group 2 on RouterA and RouterB, set the priority of RouterB to 120 and the preemption delay to 20s, and set the default priority for RouterA.

    [RouterB] interface gigabitethernet 2/0/0
    [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 2 virtual-ip FE80::2 link-local
    [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 2 virtual-ip FC00::60
    [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 2 priority 120
    [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 2 preempt-mode timer delay 20
    [RouterB-GigabitEthernet2/0/0] quit
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] vrrp6 vrid 2 virtual-ip FE80::2 link-local
    [RouterA-GigabitEthernet2/0/0] vrrp6 vrid 2 virtual-ip FC00::60
    [RouterA-GigabitEthernet2/0/0] quit

  3. Verify the configuration.

    # After the configuration is complete, run the display vrrp6 command on RouterA. You can see that RouterA is the master in VRRP6 group 1 and the backup in VRRP6 group 2.

    <RouterA> display vrrp6
    GigabitEthernet2/0/0 | Virtual Router 1
                      State            : Master
                      Virtual IP        : FE80::1
                                          FC00::100
                      Master IP         : FE80::218:82FF:FED3:2AF3
                      PriorityRun       : 120
                      PriorityConfig    : 120
                      MasterPriority    : 120
                      Preempt           : YES      Delay Time : 20 s
                      TimerRun          : 100 cs
                      TimerConfig       : 100 cs
                      Virtual Mac       : 0000-5e00-0201 
                      Check hop limit   : YES
                      Config type       : normal-vrrp
                      Backup-forward    : disabled
                      Create time       : 2011-01-12 20:15:46 UTC+08:00
                      Last change time  : 2011-01-12 20:15:46 UTC+08:00
    
    GigabitEthernet2/0/0 | Virtual Router 2
                      State            : Backup
                      Virtual IP        : FE80::2
                                          FC00::60
                      Master IP         : FE80::218:82FF:FE68:7455
                      PriorityRun       : 100
                      PriorityConfig    : 100
                      MasterPriority    : 120
                      Preempt           : YES      Delay Time : 0 s
                      TimerRun          : 100 cs
                      TimerConfig       : 100 cs
                      Virtual Mac       : 0000-5e00-0202
                      Check hop limit   : YES
                      Config type       : normal-vrrp
                      Backup-forward    : disabled
                      Create time       : 2011-01-12 20:17:46 UTC+08:00
                      Last change time  : 2011-01-12 20:17:46 UTC+08:00
    

    # After the configuration is complete, run the display vrrp6 command on RouterB. You can see that RouterB is the backup in VRRP6 group 1 and the master in VRRP6 group 2.

    <RouterB> display vrrp6
    GigabitEthernet2/0/0 | Virtual Router 1
                      State            : Backup
                      Virtual IP        : FE80::1
                                          FC00::100
                      Master IP         : FE80::218:82FF:FED3:2AF3
                      PriorityRun       : 100
                      PriorityConfig    : 100
                      MasterPriority    : 120
                      Preempt           : YES      Delay Time : 0 s
                      TimerRun          : 100 cs
                      TimerConfig       : 100 cs
                      Virtual Mac       : 0000-5e00-0201 
                      Check hop limit   : YES
                      Config type       : normal-vrrp
                      Backup-forward    : disabled
                      Create time       : 2011-01-12 20:19:46 UTC+08:00
                      Last change time  : 2011-01-12 20:19:46 UTC+08:00
    
    GigabitEthernet2/0/0 | Virtual Router 2
                      State            : Master
                      Virtual IP        : FE80::2
                                          FC00::60
                      Master IP         : FE80::218:82FF:FE68:7455
                      PriorityRun       : 120
                      PriorityConfig    : 120
                      MasterPriority    : 120
                      Preempt           : YES      Delay Time : 20 s
                      TimerRun          : 100 cs
                      TimerConfig       : 100 cs
                      Virtual Mac       : 0000-5e00-0202
                      Check hop limit   : YES
                      Config type       : normal-vrrp
                      Backup-forward    : disabled
                      Create time       : 2011-01-12 20:21:46 UTC+08:00
                      Last change time  : 2011-01-12 20:21:46 UTC+08:00
    

Configuration Files

  • RouterA configuration file

    #
     sysname RouterA
    #
     ipv6
    #
    ospfv3 1
     router-id 1.1.1.1
    #
    interface GigabitEthernet1/0/0
     
     ipv6 enable
     ipv6 address 2002::1/64
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet2/0/0
     
     ipv6 enable
     ipv6 address FC00::1/64
     ospfv3 1 area 0.0.0.0
     vrrp6 vrid 1 virtual-ip FE80::1 link-local
     vrrp6 vrid 1 virtual-ip FC00::100
     vrrp6 vrid 1 priority 120
     vrrp6 vrid 1 preempt-mode timer delay 20
     vrrp6 vrid 2 virtual-ip FE80::2 link-local
     vrrp6 vrid 2 virtual-ip FC00::60
     #
    return
  • RouterB configuration file

    #
     sysname RouterB
    #
     ipv6
    #
    ospfv3 1
     router-id 2.2.2.2
    #
    interface GigabitEthernet1/0/0
     
     ipv6 enable
     ipv6 address 2001::1/64
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet2/0/0
     
     ipv6 enable
     ipv6 address FC00::2/64
     ospfv3 1 area 0.0.0.0
     vrrp6 vrid 1 virtual-ip FE80::1 link-local
     vrrp6 vrid 1 virtual-ip FC00::100
     vrrp6 vrid 2 virtual-ip FE80::2 link-local
     vrrp6 vrid 2 virtual-ip FC00::60
     vrrp6 vrid 2 priority 120
     vrrp6 vrid 2 preempt-mode timer delay 20
    #
    return
  • RouterC configuration file

    #
     sysname RouterC
    #
     ipv6
    #
    ospfv3 1
     router-id 3.3.3.3
    #
    interface GigabitEthernet1/0/0
     
     ipv6 enable
     ipv6 address 2002::2
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet2/0/0
     
     ipv6 enable
     ipv6 address 2001::2/64
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet3/0/0
     
     ipv6 enable
     ipv6 address 2003::2/64
     ospfv3 1 area 0.0.0.0
    #
    return
  • Switch configuration file

    #
    sysname Switch
    #
    vlan batch 10
    #
    interface GigabitEthernet1/0/0
     port hybrid pvid vlan 10
     port hybrid untagged vlan 10
    #
    interface GigabitEthernet2/0/0
     port hybrid pvid vlan 10
     port hybrid untagged vlan 10
    #
    return
Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034076

Views: 59459

Downloads: 107

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