vrrp6 vrid track bfd-session
Function
The vrrp6 vrid track bfd-session command associates a VRRP6 group with a BFD session.
The undo vrrp6 vrid track bfd-session command disassociates a VRRP6 group from a BFD session.
By default, a VRRP6 group is not associated with a BFD session.
Format
vrrp6 vrid virtual-router-id track bfd-session { session-id | session-name bfd-configure-name } [ increased value-increased | reduced value-reduced ]
undo vrrp6 vrid virtual-router-id track bfd-session [ session-id | session-name bfd-configure-name ]
Parameters
Parameter | Description | Value |
---|---|---|
vrid virtual-router-id | Specifies the VRID of a VRRP6 group. | The value is an integer that ranges from 1 to 255. |
session-id | Specifies the local discriminator of the monitored BFD session. | The value is an integer that ranges from 1 to 8191. |
session-name bfd-configure-name | Specifies the name of the monitored BFD session. | The value is a string of 1 to 15 case-insensitive characters without spaces. |
increased value-increased | Specifies the value by which the priority increases when the monitored BFD session becomes Down. | The value is an integer that ranges from 1 to 255. The maximum value of the priority is 254. |
reduced value-reduced | Specifies the value by which the priority decreases when the monitored BFD session becomes Down. | The value is an integer that ranges from 1 to 255. The priority can decrease to 1. By default, when the monitored BFD session becomes Down, the VRRP6 priority decreases by 10. |
Usage Guidelines
Fast active/standby switchover: When the link of a VRRP6 group or the master is faulty, the backup becomes the master after a certain time (second level), causing packet loss. You can associate the VRRP6 group with a BFD session on the backup so that the BFD session can rapidly detect communication faults of the VRRP6 group. When the BFD session detects a fault, it notifies the VRRP6 group that the priority of the backup needs to be increased. Then an active/standby switchover is triggered immediately. This millisecond-level switchover reduces traffic loss. When the monitored BFD session recovers, the original priority of the device in the VRRP6 group is restored.
Monitoring the uplink: Because VRRP6 cannot detect faults on the uplink of a VRRP6 group, services are interrupted. You can associate the VRRP6 group with a BFD session on the master so that the BFD session monitors the uplink status of the master. When the BFD session detects faults on the uplink, it notifies the VRRP6 group that the priority of the master needs to be decreased. Then an active/standby switchover is triggered immediately. This reduces the impact of uplink faults on service forwarding. When the monitored BFD session recovers, the original priority of the device in the VRRP6 group is restored.
A VRRP6 group has been created and a static BFD session or a static BFD session with automatically negotiated discriminators has been created.
PrecautionsAfter a VRRP6 group is associated with a BFD session, the BFD session type cannot be modified. Before deleting the BFD session type, you must delete all original configurations.
After a VRRP6 group is associated with a BFD session, set an appropriate value of increased value-increased or reduced value-reduced. This setting ensures that an active/standby switchover is performed immediately when the monitored BFD session becomes Down.
Multiple VRRP6 groups can monitor a BFD session, and a VRRP6 group can monitor a maximum of eight BFD sessions simultaneously.
If an IPv6 address owner exists in the VRRP6 group, the VRRP6 group cannot monitor the BFD session.
If session-name bfd-configure-name is specified, the VRRP6 group can bind to only a static BFD session with automatically negotiated discriminators.
If session-id is specified, the VRRP6 group can bind to only a static BFD session.
Example
# Associate VRRP6 group 1 with the BFD session hello on VLANIF 100
<AC6605> system-view [AC6605] bfd [AC6605-bfd] quit [AC6605] bfd hello bind peer-ip 10.2.2.2 interface vlanif 100 source-ip 10.2.3.3 auto [AC6605-bfd-session-hello] quit [AC6605] interface vlanif 100 [AC6605-Vlanif100] vrrp6 vrid 1 virtual-ip FE80::7 link-local [AC6605-Vlanif100] vrrp6 vrid 1 virtual-ip 2001:db8:1::1 [AC6605-Vlanif100] vrrp6 vrid 1 track bfd session-name hello reduce 40