Foundry Switch and Router Installation and Configuration Guide
19 - 108
December 2000
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
ML Next Hop
Metric
LocPrf
Weight Status
1
4.2.42.0
24 192.168.4.211
101
0
B
2
4.2.43.0
24 192.168.4.211
101
0
D
3
7.7.7.0
24 192.168.4.211
0
101
0
b
4
38.38.38.0
24 192.168.4.211
0
101
0
B
13
102.0.0.0
24 200.1.1.10
12
101
32768 BL
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.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...