Viewing a summary of BGP configurations

Display summarized information about BGP.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display summarized information about BGP:

    show ip bgp summary [vrf WORD<1–16>] [vrfids WORD<0–512>]

Example

The following example shows partial output for the show ip bgp summary command.

Switch:1>show ip bgp summary vrf vrf1

====================================================================================================
                           BGP Summary - VRF vrf1

====================================================================================================

                                     BGP version - 4
                                        local-as - 22610
                                      Identifier - 27.82.217.1
                                  Decision state - Idle
                   The total number of routes is   0


BGP NEIGHBOR INFO :

   NEIGHBOR       RMTAS     STATE    HLDTM  KPALV  HLDCFG KPCFG   WGHT  CONRTY ADVINT UPTime
----------------------------------------------------------------------------------------------------
192.0.2.1        22620      Active      0     0     180    60    100   120    5     0 day(s), 07:25:09
Total bgp neighbors: 1

BGP CONFEDERATION INFO :
confederation identifier 0
confederation peer as

--More-- (q = quit)

Variable Definitions

The following table defines parameters for the show ip bgp summary command.

Variable

Value

vrf WORD<1–16>

Specifies a VRF instance by name.

vrfids WORD<0–512>

Specifies a range of VRFs by ID number.

Job aid

Use the data in the following table to understand the show ip bgp summary command output.

Table 1. Variable definitions

Field

Description

BGP version

Specifies the version of BGP that runs on the router.

local-as

Specifies the local autonomous system number.

Identifier

Specifies the BGP identifier.

Decision state

Specifies the BGP process state.

NEIGHBOR

Specifies the IP address of the remote peer.

RMTAS

Specifies the AS number of the remote peer.

STATE

Specifies the peer operating state: Idle, Accept, Connect, Open, Open-sent, and Established.

HLDTM

Specifies the negotiated hold time timer.

KPALV

Specifies the keep alive timer.

HLDCFG

Specifies the configured hold time timer.

KPCFG

Specifies the configured keep alive timer.

WGHT

Specifies the weight value assigned to the peer.

CONRTY

Specifies the retry timer.

ADVINT

Specifies the advertisement interval.

UPTime

Specifies how long (in seconds) this peer has been in the established state, or how long since this peer was last in the established state. It is set to zero when a new peer is configured or when the router is booted. If the peer never reaches the established state, the value remains zero.