beautypg.com

Brocade BigIron RX Series Configuration Guide User Manual

Page 996

background image

918

BigIron RX Series Configuration Guide

53-1002484-04

Displaying BGP4 information

27

Syntax: show ip bgp routes [[network] <ip-addr>] | <num> | [age <secs>] | [as-path-access-list

<num>] |
[best] | [cidr-only] | [community <num> | no-export | no-advertise | internet | local-as] |
[community-access-list <num>] | [community-list <num> | [detail <option>] | [filter-list
<num, num,...>] |
[next-hop <ip-addr>] | [no-best] | [not-installed-best] | [prefix-list <string>] |
[regular-expression <regular-expression>] | [route-map <map-name>] | [summary] |
[unreachable]

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-list <num> 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– 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.

BigIron RX(config-bgp)# show ip bgp routes

Total number of BGP Routes: 97371

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

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 8.8.1.0/24 192.168.4.106 0 100 0 BE

AS_PATH: 65001