415
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show bgp sessions
show bgp sessions
To display Border Gateway Protocol (BGP) sessions, use the show bgp sessions command.
show bgp sessions [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 sessions:
switch# show bgp sessions
Total peers 1, established peers 0
ASN 201
VRF default, local ASN 201
peers 1, established peers 0, local router-id 192.168.0.14
State: I-Idle, A-Active, O-Open, E-Established, C-Closing, S-Shutdown
Neighbor ASN Flaps LastUpDn|LastRead|LastWrit St Port(L/R) Notif(S/R)
192.168.0.201 201 0 00:07:25|never |never I 0/0 0/0
switch#
Related Commands
vrf vrf-name (Optional) Specifies the virtual router context (VRF) name. The name can be any
case-sensitive, alphanumeric string up to 32 characters.
Release Modification
5.0(3)A1(1) This command was introduced.
Command Description
clear bgp Clears BGP sessions.