Configuring BGP4
December 2005 © Foundry Networks, Inc. 21 - 89
The no-best option displays the routes for which none of the routes to a given prefix were selected as the best
route. The IP route table does not contain a BGP4 route for any of the routes listed by the command.
The not-installed-best option displays the routes received from the neighbor that are the best BGP4 routes to
their destinations, but were nonetheless not installed in the IP route table because the Layer 3 Switch received
better routes from other sources (such as OSPF, RIP, or static IP routes).
The prefix-list <string> parameter filters the display using the specified IP prefix list.
The regular-expression <regular-expression> option filters the display based on a regular expression. See
“Using Regular Expressions” on page 21-42.
The route-map <map-name> parameter filters the display using the specified route map. The software displays
only the routes that match the match statements in the route map. The software disregards the route map’s set
statements.
The summary option displays summary information for the routes.
The unreachable option displays the routes that are unreachable because the Layer 3 Switch does not have a
valid RIP, OSPF, or static route to the next hop.
Displaying the Best BGP4 Routes
To display all the BGP4 routes in the Layer 3 Switch’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:
Syntax: show ip bgp routes best
For information about the fields in this display, see Table 21.10 on page 21-91. The fields in this display also
appear in the show ip bgp display.
Displaying Those Best BGP4 Routes that Are Nonetheless Not in the IP Route Table
When the Layer 3 Switch has multiple routes to a destination from different sources (such as BGP4, OSPF, RIP, or
static routes), the Layer 3 Switch selects the route with the lowest administrative distance as the best route, and
installs that route in the IP route table.
FESX424 Router(config-bgp-router)# 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 S:SUPPRESSED F:FILTERED
Prefix Next Hop Metric LocPrf Weight Status
1 3.0.0.0/8 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 701 80
2 4.0.0.0/8 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 1
3 4.60.212.0/22 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 701 1 189
4 6.0.0.0/8 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 3356 7170 1455
5 9.2.0.0/16 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 701