Displaying the best bgp4 routes – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 495
The ip-addr option displays routes for a specific network. The network keyword is optional. You can
enter the network address without entering network in front of it.
The num option specifies the table entry with which you want the display to start. For example, if you
want to list entries beginning with table entry 100, specify 100.
The age secs parameter displays only the routes that have been received or updated more recently
than the number of seconds you specify.
The as-path-access-listnum parameter filters the display using the specified AS-path ACL.
The best parameter displays the routes received from the neighbor that the device selected as the best
routes to their destinations.
The cidr-only option lists only the routes whose network masks do not match their class network
length.
The community option lets you display routes for a specific community. You can specify local-as , no-
export , no-advertise , internet , or a private community number. You can specify the community
number as either two five-digit integer values of up to 1 through 65535, separated by a colon (for
example, 12345:6789) or a single long integer value.
The community-access-list num parameter filters the display using the specified community ACL.
The community-list option lets you display routes that match a specific community filter.
The detail option lets you display more details about the routes. You can refine your request by also
specifying one of the other display options after the detail keyword.
The filter-list option displays routes that match a specific address filter list.
The next-hop ip-addr option displays the routes for a given next-hop IP address.
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 not installed in the IP route table because the device 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.
Refer to
on page 438.
The route-map map-name parameter filters the display by using the specified route map. The software
displays only the routes that match the match clauses in the route map. Software disregards the route
map’s set clauses.
The summary option displays summary information for the routes.
The unreachable option displays the routes that are unreachable because the device 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 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
Displaying the best BGP4 routes
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
495
53-1003087-04