track (VRRP)
Syntax
track { interface interface-name { bandwidth-threshold bits-per-second priority-cost priority; priority-cost priority; } priority-hold-time seconds; route prefix/prefix-length routing-instance instance-name priority-cost priority; }
Syntax for cRPD
track { interface interface-name notify-backup {script-name name of script; username username} notify-fault {script-name name of script; username username} notify-master {script-name name of script; username username} notify-script {Notify script for VRRP group} track-script {Script instance; keepalived_check fall/interval/rise script-name name of script/time-out; weight cost/reverse;} }
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id], [edit interfaces interface-name unit logical-unit-number family inet6 address address vrrp-inet6-group group-id], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family inet6 address address vrrp-inet6-group group-id]
Description
Enable logical interface tracking, route tracking, or both, for a Virtual Router Redundancy Protocol (VRRP) group.
Options
The remaining statements are described separately.
notify-backup | Notify script to BACKUP transition |
notify-fault | Notify script to FAULT transition |
notify-master | Notify script to MASTER transition |
notify-script | Notify script for VRRP group |
track-script | Tracking script for VRRP group |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
priority-hold-time
statement added in Junos OS Release 8.1.
route
statement added in Junos OS Release 9.0.