431
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show ip bgp
show ip bgp
To display entries in the Border Gateway Protocol (BGP) table, use the show ip bgp command.
show ip bgp [ip-addr | ip-prefix [longer-prefixes]] [received-paths] [regexp expression]
[route-map map-name] [summary] [vrf vrf-name]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Usage Guidelines This command requires the LAN Enterprise Services license.
Examples This example shows how to display the BGP route table:
switch# show ip bgp
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 3, local router ID is 192.168.0.14
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath
Network Next Hop Metric LocPrf Weight Path
l192.0.0.0/2 0.0.0.0 100 32768 i
switch#
ip-addr (Optional) Network from the BGP route table. The format is x.x.x.x. or A:B::C:D.
ip-prefix (Optional) Prefix from the BGP route table. The format is x.x.x.x/length.
longer-prefixes (Optional) Displays the prefix and any more specific routes.
received-paths (Optional) Displays paths stored for soft reconfiguration.
regexp
expression
(Optional) Displays information that matches the regular expression.
route-map
map-name
(Optional) Displays routes that match the route map. The map name can be any
case-sensitive, alphanumeric string up to 63 characters.
summary (Optional) Displays the summary of the routes.
vrf vrf-name (Optional) Specifies the virtual routing and forwarding (VRF) instance. The name
can be any case-sensitive, alphanumeric string up to 32 characters.
Release Modification
5.0(3)A1(1) This command was introduced.