Event tracking object configuration
enable
This command enables Tracking object.
The use of a negative form (no) of the command disables Tracking object.
Syntax
[no] enable
Parameters
The command does not contain parameters.
Default value
Object disabled.
Required privilege level
10
Command mode
CONFIG-TRACKING
Example
esr(config-tracking)# enable
show ipv6 tracking objects
This command displays the current status of the tracking objects for the IPv6 stack.
Syntax
show ipv6 tracking objects [ <ID> ]
Parameters
<ID> – Tracking object number, takes values of [1..60].
Required privilege level
1
Command mode
ROOT
Example
esr# show ipv6 tracking objects
Track 1 – INACTIVE
Example 2
esr# show ipv6 tracking objects 1
Track 1 isn't in active condition
Track 1:
VRRP 2 condition state MASTER
Tracked by:
show tracking objects
This command displays the current status of the tracking objects for the IPv4 stack.
Syntax
show tracking objects [ <ID> ]
Parameters
<ID> – Tracking object number, takes values of [1..60].
Required privilege level
1
Command mode
ROOT
Example 1
esr# show tracking objects
Track 1 – INACTIVE
Example 2
esr# show tracking objects 1
Track 1 isn't in active condition
Track 1:
VRRP 2 condition state MASTER
Tracked by:
tracking
This command adds Tracking object to the system and switch to the Tracking object parameters configuration mode. The object defines the events to be monitored. When configured events occur, static routes linked to the object are affected. If all conditions are met, the route is added to the system; otherwise, if at least one condition is not met, the route is removed from the system.
The use of a negative form (no) of the command removes Tracking object from the system.
Syntax
[no] tracking <ID>
Parameters
<ID> – Tracking object number, takes values of [1..60].
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# tracking 20
esr(config-trackin)#
vrrp
This command specifies a rule for keeping track of VRRP process status.
When using 'not' command, the rule will work for all VRRP process statuses except a specified one. The use of a negative form (no) of the command cancels set action.
Syntax
vrrp <VRID> [not] state { master | backup | fault }
no vrrp <VRID>
Parameters
<VRID> – trackable VRRP router identifier, takes values in the range of [1..255].
Required privilege level
10
Command mode
CONFIG-TRACKING
Example
esr(config-tracking)# vrrp 2 state master