408
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show bgp
show bgp
To display Border Gateway Protocol (BGP) routes, use the show bgp command.
show bgp {all | ipv4 {unicast | multicast} [addr | prefix [longer-prefixes]] [vrf vrf-name | all]}
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Usage Guidelines Use the show bgp command to display information about BGP.
This command requires the LAN Enterprise Services license.
Examples This example shows how to display an entry in the BGP table:
switch# show bgp ipv4 multicast
Related Commands
all Displays BGP information for all address families.
ipv4 Displays BGP information for the IPv4 address family.
unicast Displays BGP information for the unicast address family.
multicast Displays BGP information for the multicast address family.
addr (Optional) Network from the selected address family. The format is A.B.C.D for
IPv4.
prefix (Optional) Prefix from the selected address family. The format is A.B.C.D/length for
IPv4.
longer-prefixes (Optional) Displays the prefix and any more specific routes.
vrf vrf-name (Optional) Specifies the virtual router context (VRF) name. The name can be any
case-sensitive, alphanumeric string up to 32 characters.
all (Optional) Specifies all VRF.
Release Modification
5.0(3)A1(1) This command was introduced.
Command Description
clear bgp Clears entries in the BGP table.