Documentation
Name
bgp router show route-info - show details about the decision process outcome
Synopsis
route-info
[--output=]
<prefix|address|*>
Arguments
- --output=
- optional output file
- prefix|address|*
- destination of interest
Description
This command can be used to obtain details about the outcome of the decision process for a single destination or for all destinations. The destination can be specified as a prefix to perform an exact-match search in the router RIB, as an address to perform a best-match search or with a wildcard (*) if all destinations are requested.
Here is an example output for this command. A wildcard has been used to request information about all known destinations. There are only 3 routes in the example. For each destination prefix, the decision process rule which made the final tie-break is displayed. The number of routes available for this prefix is also shown. In the example, the router knows a single route for the 2nd and 3rd prefixes. For this reason, no decision process rule is shown, but the message "Single choice" is displayed instead.
cbgp> bgp router 1.0.0.2 show route-info *
prefix: 1.0.1.0/24
decision-process-rule: 8 [ Shortest CLUSTER-ID-LIST ]
decision-process-feasibles: 2
prefix: 1.0.2.0/24
decision-process-rule: 0 [ Single choice ]
decision-process-feasibles: 0
prefix: 1.0.3.0/24
decision-process-rule: 0 [ Single choice ]
decision-process-feasibles: 1
See also
If more details are needed regarding the BGP decision process outcome, command debug dp can be used.