show bgp peer-group summary

Syntax

show bgp [vrf <VRF-NAME>] {ipv4 unicast | 
     ipv6 unicast | all} peer-group <PEER-GROUP-NAME>
     summary [vsx-peer]

Description

This command shows the peer-group information in the database.

Command context

Operator (>) or Manager (#)

Parameters

vrf <VRF-NAME>

Shows the information for a specified VRF.

ipv4 unicast

Shows the information for an IPv4 unicast address family.

ipv6 unicast

Shows the information for an IPv6 unicast address family.

all

Shows the information for all address families and subaddress families.

<PEER-GROUP-NAME>

Shows the information for the BGP peer-group for the BGP instance.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Showing the information from IPv4 unicast address families in pg_name1 peer-group:

switch# show bgp ipv4 unicast peer-group pg_name1 summary
VRF : default
BGP Peer-Group Summary
=======================
 Local AS               : 1            BGP Router Identifier  : 2.2.2.2
 Peers                  : 1            Log Neighbor Changes   : No
 Cfg. Hold Time         : 180          Cfg. Keep Alive        : 60

 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 10.0.0.1        1         8       10      00h:00m:58s  Established Up

Showing the information from all address families in pg_name1 peer-group:

switch# show bgp all unicast peer-group pg_name1 summary
VRF : default
BGP Peer-Group Summary
=======================
 Local AS               : 1            BGP Router Identifier  : 2.2.2.2
 Peers                  : 1            Log Neighbor Changes   : No
 Cfg. Hold Time         : 180          Cfg. Keep Alive        : 60
For address family: IPv4 Unicast
 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 10.0.0.1        1         8       10      00h:00m:58s  Established Up
For address family: IPv6 Unicast
 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
  10.0.0.1        1         8       10      00h:00m:58s  Established Up