show ip bgp next-hop
View all next hops (via 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.
Z9500
Syntax
show ip bgp next-hop [local-routes]
Parameters
local-routes
(OPTIONAL) Show next-hop information for local routes.
Command
Modes
• EXEC
• EXEC Privilege
Command
History
Version
Description
9.2(1.0)
Introduced on the Z9500.
8.2.1.0
Introduced on the E-Series ExaScale.
7.4.1.0
Introduced
Example
Dell#show ip bgp next-hop
Next-hop Via RefCount Cost Flaps Time
Elapsed
9000::5:2 9000::5:2, Te 2/38 2 0 0 00:23:22
9000::6:2 9000::6:2, Te 2/38 2 0 0 00:23:22
9000::7:2 9000::7:2, Te 2/38 2 0 0 00:23:22
9000::8:2 9000::8:2, Te 2/38 2 0 0 00:23:22
9000::9:2 9000::9:2, Te 2/38 6000 0 0 00:23:16
9000::a:2 9000::a:2, Te 2/38 2 0 0 00:23:22
Dell#
show ip bgp paths
View all the BGP path attributes in the BGP database.
Z9500
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 (0 or more
sequences).
•
+
= (plus) the sequences in a pattern (1 or more
sequences).
564
Border Gateway Protocol