Foundry Networks Switch and Router Installation And Configuration Manual page 790

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
USING THE CLI
To view the BGP4 route table, enter the following command:
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:
BigIron(config-bgp-router)# show ip bgp routes
Searching for matching routes, use ^C to quit...
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED
Network
1
4.2.42.0
2
4.2.43.0
3
7.7.7.0
4
38.38.38.0
13
102.0.0.0
Syntax: show ip bgp routes [[network] <ip-addr>] | <num> | [as-path-access-list <num>] | [best] [cidr-only] |
[community <num> | no-export | no-advertise | internet | local-as] | [community-access-list <num>] |
[community <num> | <num>:<num> | local-as | no-export | no-advertise | internet] | [detail <option>] |
[filter-list <num, num,...>] | [not-installed-best] | [prefix-list <string>] | [regular-expression <regular-expression>] |
[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 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 Layer 3 Switch 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 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 19-53.
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.
19 - 108
ML Next Hop
Metric
24 192.168.4.211
24 192.168.4.211
24 192.168.4.211
0
24 192.168.4.211
0
24 200.1.1.10
12
LocPrf
Weight Status
101
0
B
101
0
D
101
0
b
101
0
B
101
32768
BL
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents