VRRP can monitor the status of the uplink line and Master, Backup interconnection line to improve the VRRP reliability.
Configuration Condition
Before configuring VRRP to link with Track, first complete the following task:
Configure VRRP to Link with Track to Monitor Master Uplink Line
On Master, configure linking with Track. It can associate with the interface via Track, or associate with BFD, RTR to make it concern the status of the uplink interface. After the uplink interface is down, VRRP 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 5–1 Configure VRRP to link with Track to monitor Master uplink line
Configure VRRP to Link with Track to Associate with Uplink Interface
Associate VRRP 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 VRRP 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 5–8 Configure VRRP to link with Track to associate 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 VRRP to associate with the uplink interface
|
vrrp vrid track interface-name [ decrement ]
|
Mandatory
By default, the priority decrement is 10.
|
Configure VRRP receiving low-priority packet fast switching function
|
vrrp vrid switchover low-pri-master
|
Optional
The command is configured on Backup to switch fast when the Master priority is reduced.
|
Configure VRRP 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 associate with Track, so as to monitor the line. When the line fails, Master reduces its own priority.
Here, Backup receives the low-priority VRRP 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 5–9 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 VRRP to associate with the uplink interface
|
vrrp vrid track track-id [ decrement ]
|
Mandatory
By default, the priority decrement is 10.
|
Configure VRRP receiving low-priority packet fast switching function
|
vrrp vrid switchover low-pri-master
|
Optional
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, even it is non-preemption mode, it also 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 VRRP to Associate with Track to Monitor Master and Backup Interconnection Line
Configure VRRP to associate 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 5–2 Configure VRRP to associate 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 VRRP device finds that the line between Master and Backup is down
|
vrrp vrid track track-id switchover
|
Mandatory
|
-
For the configuration of Track associating BFD and RTR, refer to Track Configuration Manual.
- Track can associate with BFD to monitor the status of the line between Master and Backup.