Displaying the best BGP4 routes
To display all the BGP4 routes in the device’s BGP4 route table that are the best routes to their destinations, enter a command such as
the following at any level of the CLI
device# show ip bgp routes best
Searching for matching routes, use ^C to quit...
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
S:SUPPRESSED F:FILTERED s:STALE
Prefix Next Hop MED LocPrf Weight Status
1 10.3.0.0/8 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 701 80
2 10.4.0.0/8 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 1
3 10.60.212.0/22 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 701 1 189
4 10.6.0.0/8 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 3356 7170 1455
5 10.2.0.0/16 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 701
Syntax: show ip bgp routes best
Displaying the best BGP4 routes that are not in the IP route table
When the device has multiple routes to a destination from
dierent sources (such as BGP4, OSPF, RIP, or static routes), the device
selects the route with the lowest administrative distance as the best route, and installs that route in the IP route table.
To display the BGP4 routes that are the "best" routes to their destinations but are not installed in the device IP route table, enter a
command such as the following at any level of the CLI.
device#show ip bgp routes not-installed-best
Searching for matching routes, use ^C to quit...
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
S:SUPPRESSED F:FILTERED s:STALE
Prefix Next Hop Metric LocPrf Weight Status
1 192.168.4.0/24 192.168.4.106 0 100 0 bE
AS_PATH: 65001
Each of the displayed routes is a valid path to its destination, but the device received another path from a
dierent source (such as OSPF,
RIP, or a static route) that has a lower administrative distance. The device always selects the path with the lowest administrative distance
to install in the IP route table.
Notice that the route status in this example is the new status, "b".
Syntax: show ip bgp routes not-installed-best
NOTE
To display the routes that the device has selected as the best routes and installed in the IP route table, display the IP route table
using the show ip route command.
Displaying BGP4 routes whose destinations are unreachable
To display BGP4 routes whose destinations are unreachable using any of the BGP4 paths in the BGP4 route table, enter a command
such as the following at any level of the CLI.
device# show ip bgp routes unreachable
Searching for matching routes, use ^C to quit...
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
Displaying BGP4 information
FastIron Ethernet Switch Layer 3 Routing
454 53-1003627-04