RUGGEDCOM ROX II
CLI User Guide
Chapter 13
Unicast and Multicast Routing
Tracking Commands 575
Where:
• vrf is the chosen VRF instance
• address is the address of the chosen neighbor
• prefix is the chosen BGP prefix list
3. If necessary, configure an event tracker to track network commands. For more information, refer to
Section13.11.12.4, “Tracking Commands”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section13.11.12.4
Tracking Commands
Network commands can be tracked using event trackers configured under global» tracking. For more
information about event trackers, refer to Section13.5, “Managing Event Trackers”.
A network command is activated based on the event tracker's state. The apply-when parameter determines
when the command is activated. For example, if the apply-when parameter is set to down, the network
command becomes active (thereby advertising the network to a router's RIP peers) when the tracked target is
unavailable.
To track a command for an IPv4 address family, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing» dynamic» bgp» address-family» ipv4» {vrf}» neighbor» {address}» distribute-
prefix-list» In|out, where {vrf} is the chosen VRF instance and {address} is the IP address of the neighbor.
3. Configure the following parameter(s) as required:
Parameter Description
event { event } Synopsis: A string
Select to track an event, apply the distribute-prefix-list only when the tracked event goes
to UP state.
This parameter is mandatory.
apply-when { apply-when } Synopsis: { up, down }
Default: up
Applies the distribute-prefix-list when the tracked event goes UP or DOWN.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section13.11.12.5
Deleting a Neighbor
To delete a VPNv4 neighbor, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing address-family ipv4 vrf vrf neighbor address
Where:
• vrf is the chosen VRF instance