Service Manual

show ip bgp next-hop
View all next hops (using learned routes only) with current reachability and flap status. This command only displays one path, even if the
next hop is reachable by multiple paths.
Syntax
show ip bgp next-hop
Command Modes
EXEC
EXEC Privilege
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
The following describes the show ip bgp next-hop command shown in the following example.
Field Description
Next-hop Displays the next-hop IP address.
Via Displays the IP address and interface used to reach the next hop.
RefCount Displays the number of BGP routes using this next hop.
Cost Displays the cost associated with using this next hop.
Flaps Displays the number of times the next hop has flapped.
Time Elapsed Displays the time elapsed since the next hop was learned. If the route is down, this field
displays time elapsed since the route went down.
Example
Dell>show ip bgp next-hop
Next-hop Via RefCount Cost Flaps Time Elapsed
63.114.8.33 63.114.8.33, Gi 12/22 240984 0 0 00:18:25
63.114.8.34 63.114.8.34, Gi 12/22 135152 0 0 00:18:13
63.114.8.35 63.114.8.35, Gi 12/22 1 0 0 00:18:07
63.114.8.60 63.114.8.60, Gi 12/22 135155 0 0 00:18:11
Dell>
show ip bgp paths
View all the BGP path attributes in the BGP database.
Syntax
show ip bgp paths [regexp regular-expression]
Parameters
regexp regular-
expression
Enter a regular expression then use one or a combination of the following characters to
match:
. = (period) any single character (including a white space).
* = (asterisk) the sequences in a pattern (zero or more sequences).
+ = (plus) the sequences in a pattern (one or more sequences).
? = (question mark) sequences in a pattern (either zero or one sequences).
338 Border Gateway Protocol IPv4 (BGPv4)