413
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show bgp neighbors
show bgp neighbors
To display Border Gateway Protocol (BGP) neighbors, use the show bgp neighbors command.
show bgp {ip | ipv4} {unicast | multicast} neighbors [addr [advertised-routes | flap-statistics |
paths | received-routes | routes [advertised | dampened | received]]] [vrf {all | 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 neighbors:
switch(config)# show bgp ipv4 unicast neighbors
BGP neighbor is 192.168.0.201, remote AS 201, ibgp link, Peer index 1
Description: Peer Router B
BGP version 4, remote router ID 0.0.0.0
ip Displays the IPv4 neighbor information.
ipv4 Displays the IPv4 neighbor information.
unicast Displays the unicast neighbor information.
multicast Displays the multicast neighbor information.
addr (Optional) IPv4 address. The format is x.x.x.x
advertised-routes (Optional) Displays all the routes advertised to this neighbor.
flap-statistics (Optional) Displays flap statistics for the routes received from this neighbor.
paths (Optional) Displays AS paths learned from this neighbor.
received-routes (Optional) Displays all the routes received from this neighbor.
routes (Optional) Displays the routes received or advertised to or from this
neighbor.
advertised (Optional) Displays all the routes advertised for this neighbor.
dampened (Optional) Displays all dampened routes received from this neighbor.
received (Optional) Displays all the routes received from this neighbor.
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 Specifies all VRF instances.
Release Modification
5.0(3)A1(1) This command was introduced.