Configuring BGP4
December 2005 © Foundry Networks, Inc. 21 - 91
Displaying Information for a Specific Route
To display BGP4 network information by specifying an IP address within the network, enter a command such as
the following at any level of the CLI:
Syntax: show ip bgp [route] <ip-addr>/<prefix> [longer-prefixes] | <ip-addr>
If you use the route option, the display for the information is different, as shown in the following example:
These displays show the following information.
Table 21.10: BGP4 Network Information
This Field... Displays...
Number of BGP Routes matching
display condition
The number of routes that matched the display parameters you
entered. This is the number of routes displayed by the command.
Status codes A list of the characters the display uses to indicate the route’s status.
The status code appears in the left column of the display, to the left of
each route. The status codes are described in the command’s output.
Note: This field appears only if you do not enter the route option.
Prefix The network address and prefix.
Next Hop The next-hop router for reaching the network from the Layer 3 Switch.
Metric The value of the route’s MED attribute. If the route does not have a
metric, this field is blank.
FastIron SuperX Router(config-bgp-router)# show ip bgp 9.3.4.0
Number of BGP Routes matching display condition : 1
Status codes: s suppressed, d damped, h history, * valid, > best, i internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 9.3.4.0/24 192.168.4.106 100 0 65001 4355 1 1221 ?
Last update to IP routing table: 0h11m38s, 1 path(s) installed:
Gateway Port
192.168.2.1 2/1
Route is advertised to 1 peers:
20.20.20.2(65300)
FastIron SuperX Router(config-bgp-router)# show ip bgp route 9.3.4.0
Number of BGP Routes matching display condition : 1
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 9.3.4.0/24 192.168.4.106 100 0 BE
AS_PATH: 65001 4355 1 1221
Last update to IP routing table: 0h12m1s, 1 path(s) installed:
Gateway Port
192.168.2.1 2/1
Route is advertised to 1 peers:
20.20.20.2(65300)