< Home

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.

Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this function.

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. (Optional) 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.

    Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

  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:

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

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

    Currently, the device supports only association between VRRP6 and BFD for IPv4.

    When a BFD session is associated with VRRP or static route, the system does not allow the associated BFD session to be deleted by default. To delete the associated BFD session, run the bfd session nonexistent-config-check disable command to disable the device from checking whether the associated BFD session is deleted.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >