CLI Guide
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 [local-routes]
Parameters
local-routes (OPTIONAL) Show next-hop information for local routes.
Command Modes
• EXEC
• EXEC Privilege
Supported Modes Full–Switch
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.
Example
Dell#show ip bgp next-hop
Next-hop Via RefCount Cost Flaps Time Elapsed
9000::5:2 9000::5:2, Gi 8/38 2 0 0 00:23:22
9000::6:2 9000::6:2, Gi 8/38 2 0 0 00:23:22
9000::7:2 9000::7:2, Gi 8/38 2 0 0 00:23:22
9000::8:2 9000::8:2, Gi 8/38 2 0 0 00:23:22
9000::9:2 9000::9:2, Gi 8/38 6000 0 0 00:23:16
9000::a:2 9000::a:2, Gi 8/38 2 0 0 00:23:22
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 (0 or more
sequences).
• + = (plus) the sequences in a pattern (1 or more
sequences).
• ? = (question mark) sequences in a pattern (either 0 or 1
sequences).
NOTE: You must enter an escape sequence (CTRL
+v) prior to entering the ? regular expression.
• [ ] = (brackets) a range of single-character patterns.
IPv6 Border Gateway Protocol (IPv6 BGP)
843