![background image](http://html1.mh-extra.com/html/foundry-networks/fastiron-edge-switch-x424/fastiron-edge-switch-x424_manual_2324269660.webp)
Foundry Configuration Guide for the FESX, FSX, and FWSX
21 - 88
© Foundry Networks, Inc.
December 2005
Displaying the BGP4 Route Table
BGP4 uses filters you define as well as the algorithm described in “How BGP4 Selects a Path for a Route” on
page 21-4 to determine the preferred route to a destination. BGP4 sends only the preferred route to the router’s
IP table. However, if you want to view all the routes BGP4 knows about, you can display the BGP4 table using
either of the following methods.
To view the BGP4 route table, enter the following command:
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 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
next-hop
<ip-addr> option displays the routes for a given next-hop IP address.
FESX424 Router(config-bgp-router)# 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
Summary of Contents for FastIron Edge Switch X424
Page 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Page 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Page 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Page 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Page 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Page 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Page 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Page 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Page 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Page 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Page 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...