# Setting the Default Output Fields While Displaying Summarized Status of BGP Neighbors

#### Purpose

Specify fields that are displayed by default by a subsequently issued show ip bgp summary command.

You can use the intro keyword to enable the display of introductory information about BGP attributes. The order in which you specify the fields has no effect on the order in which they are displayed.

#### Action

To specify the default output fields:

    host1:pe2(config-router)#default-fields peer remote-as state
    messages-received messages-sent up-down-time
    host1#show ip bgp summary
                                               Messages    Messages
    Neighbor AS   State         Up/down time   Sent        Received
    1.1.1.1  100  Established   00:07:55       94          92

#### Meaning

Table 22 lists the show bgp summary command output fields.

Table 22: show bgp summary Output Fields

Field Name | Field Description
--- | ---
Neighbor | BGP neighbors
AS | AS number of the peer
State | State of the connection
Up/down time | Time the connection has been up or down
Messages sent | Number of messages sent to peer
Messages received | Number of messages received from peer

#### Related Documentation

- Monitoring the Status of All BGP Neighbors
- default-fields peer