Chapter 13
Unicast and Multicast Routing
RUGGEDCOM ROX II
CLI User Guide
496 Tracking Commands for BGP Neighbors
Where:
• 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.8.6.4, “Tracking Commands for BGP Neighbors”.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section13.8.6.4
Tracking Commands for BGP Neighbors
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”.
The 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 BGP peers) when the tracked target is
unavailable.
To track a command for a BGP neighbor, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to routing» dynamic» bgp» neighbor» {address}, where {address} is the IP subnet address and
prefix for 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.8.6.5
Deleting a Neighbor
To delete a neighbor from a BGP network, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the network by typing:
no routing bgp neighbor address
Where:
• address is the IP address of the neighbor
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.