beautypg.com

Displaying the best bgp4 routes – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 783

background image

Brocade TurboIron 24X Series Configuration Guide

749

53-1003053-01

Displaying BGP4 information

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 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 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 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 parameter filters the display using the specified IP prefix list.

The regular-expression option filters the display based on a regular
expression. Refer to

“Using regular expressions”

on page 705.

The route-map 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 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 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

TurboIron#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 10.3.0.0/8 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 701 80

2 10.4.0.0/8 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 1

3 10.4.60.212/22 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 701 1 189

4 10.6.0.0/8 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 3356 7170 1455

5 10.9.2.0/16 10.192.168.4

100 0 BE

AS_PATH: 65001 4355 701