VRRPv3 can monitor the status of the uplink line and Master, Backup interconnection line to improve the VRRPv3 reliability.
Configuration Condition
Before configuring VRRPv3 to link with Track, first complete the following task:
- Configure one VRRPv3 group.
Configure VRRPv3 to Link with Track to Monitor Master Uplink Line
On Master, configure linking with Track. It can link with the interface via Track, or link with BFD, RTR to make it concern the status of the uplink interface. After the uplink interface is down, VRRPv3 can reduce the Master priority via the configured decrement. Here, after Backup receives, it automatically switches to Master (note that the Master priority is lower than Backup priority). If it is necessary to switch Backup fast, we can configure receiving low-priority fast switching command on Backup. For details, refer to the following figure.
Figure 6-1 Configure VRRPv3 to link with Track to monitor Master uplink line
Configure VRRPv3 to Link with Track to Link with Uplink Interface
Associate VRRPv3 with the concerned uplink interface via Track. When the uplink interface is down, Master automatically reduces its own priority. Here, Backup receives the low-priority VRRPv3 packet and switches to Master. If the user is configured with “Receive low-priority packet fast switching”, that is, low-pri-master function, Backup fast switches to Master.
Table 6-6 Configure VRRPv3 to link with Track to link with uplink interface (configure on Master)
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
Mandatory
|
Configure VRRPv3 to link with the uplink interface
|
ipv6 vrrp vrid track interface-name [ decrement ]
|
Mandatory
By default, VRRPv3 does not link with Track.
|
Configure the fast switching function when VRRPv3 receives the low-priority packet |
ipv6 vrrp vrid switchover low-pri-master |
Optional
By default, do not enable the low-pri-master function.
The command is configured on Backup to switch fast when the Master priority is reduced.
|
Configure VRRPv3 to Link with Track (Track Linking with BFD, RTR and so on)
If Track is associated with BFD, RTR and so on, Master can directly link with Track, so as to monitor the line. When the line fails, Master reduces its own priority. Here, Backup receives the low-priority VRRPv3 packet and switches to Master. If the user is configured with “Receive low-priority packet fast switching”, that is, low-pri-master function, Backup fast switches to Master.
Table 6-7 Configure Master to link with Track (Track linking with BFD, RTR and so on)
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
Mandatory
|
Configure VRRPv3 to link with the uplink interface
|
ipv6 vrrp vrid track track-id [ decrement ]
|
Mandatory
By default, VRRPv3 does not link with Track.
|
Configure fast switching function when VRRPv3 receives low-priority packet
|
ipv6 vrrp vrid switchover low-pri-master
|
Optional
By default, do not enable the low-pri-master function.
The command is configured on Backup to switch fast when the Master priority is reduced
|
-
For the configuration method of creating Track, Track associating with BFD or RTR, refer to Track configuration manual.
- If the low-pri-master function is configured and when Backup receives the low-priority packet, it switches fast. If the function is not configured when receiving the low-priority packet, Backup switches after the next timeout. If the switching time requirement is not strict, do not need to configure the low-pri-master function, but if the switching time requirement is strict, the function can make the switching time reach the ms level.
Configure VRRPv3 to Link with Track to Monitor Master and Backup Interconnection Line
Configure VRRPv3 to link with track to monitor Master and Backup interconnection line. If the line between Master and Backup is down, Backup fast switches to Master. For details, refer to the following figure.
Figure 6-2 Configure VRRPv3 to link with track to monitor Master and Backup interconnection line
Table 6-8 Configure VRRPv3 to link with track to monitor Master and Backup interconnection line
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
Mandatory
|
Configure the fast switching function when Backup VRRPv3 device finds that the line between Master and Backup is down
|
ipv6 vrrp vrid track track-id switchover
|
Mandatory
By default, VRRPv3 does not link with Track.
|
-
For the configuration of Track associating BFD and RTR, refer to Track Configuration Manual.
- Track can link with BFD to monitor the status of the line between Master and Backup.