CloudEngine 8800, 7800, 6800, and 5800 V200R005C10 Configuration Guide - Reliability

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, EFM Configuration, and CFM Configuration.

Configuring Association Between VRRP6 and BFD to Implement a Rapid Active/Standby Switchover

Configuring Association Between VRRP6 and BFD to Implement a Rapid Active/Standby Switchover

Context

You can associate a VRRP6 group with a BFD session. When the BFD session status changes, BFD notifies the VRRP6 group. This process triggers a rapid active/standby switchover.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface where a VRRP6 group is configured is displayed.

  3. On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  4. Run vrrp6 vrid virtual-router-id track bfd-session { session-id | session-name bfd-configure-name } [ increased value-increased | reduced value-reduced ]

    Association between VRRP6 and BFD is configured to implement a rapid active/standby switchover.

    increased value-increased: specifies the value by which the priority increases when the monitored BFD session goes Down. The value is an integer that ranges from 1 to 255. The value 255 is reserved for the IP address owner, so the maximum value of value-increased is 254. This parameter is valid only when the VRRP6 group is in Backup state.

    reduced value-reduced: specifies the value by which the priority decreases when the monitored BFD session goes Down. The value is an integer that ranges from 1 to 254. The lowest priority is 1. When the priority is decreased to 1, the master sends a VRRP6 Advertisement packet with priority 0. The value 0 is reserved. When the backup receives a VRRP6 Advertisement packet with priority 0, the backup becomes the master immediately. By default, the value is 10.

    When setting the value by which the priority increases or decreases, ensure that the backup has a higher priority than the master. This ensures that a rapid active/standby switchover is performed.

    When associating a VRRP6 group with a BFD session, note the following points:

    • During the configuration of a rapid active/standby VRRP6 switchover, to associate a VRRP6 group with a peer BFD session, you must configure peer BFD sessions on both the master and backup. If only one device is configured with a peer BFD session, the VRRP6 group status may flap.

    • If session-name bfd-configure-name is specified, the VRRP6 group can be bound only to the static BFD session with automatically negotiated discriminators.

    • If session-id is specified, the VRRP6 group can be bound only to a static BFD session.

  5. Run commit

    The configuration is committed.