Displaying the best bgp4 routes – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 310

Advertising
background image

296

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Displaying BGP4 information

8

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– 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 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

“Using regular expressions”

on page 247.

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 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

Advertising