BGP Configuration Commands 509
Description
Use the display bgp peer command to view the information about BGP peers.
Example
# Display the detail information of the peer 201.1.1.2.
<SW8800> display bgp peer 201.1.1.2 verbose 
Peer: 201.1.1.2+179     Local: 200.1.1.1+1195 
         Type: External 
         State: Established      Flags: <> 
         Expiring Time: 00:02:19 
         Last State: OpenConfirm Last Event: RecvKeepAlive 
         Last Error: None 
         Options: <KeepAll Ttl> 
         Peer Version: 4 Peer ID: 201.1.1.2      Local ID: 200.1.1.1 
         Active Holdtime: 180s, Keepalive: 60s 
         Last traffic (seconds): Received 41     Sent 41 Checked 41 
         Input messages: Total 4 Updates 1       Octets 125 
         Output messages: Total 4        Updates 1       Octets 148 
         Route Queue Timer: unset 
         Peer capabilities: 
           Route refresh: advertised and received 
           Ipv4-family Unicast: advertised and received 
 
  Configuration within the peer : 
    no export policy route-policy 
    no export policy ip-prefix 
    no export policy filter-policy 
    no export policy acl 
    no import policy route-policy 
    no import policy ip-prefix 
    no import policy filter-policy 
    no import policy acl 
    no default route produce 
display bgp 
routing-table
Syntax
display bgp routing-table [ ip-address [ mask ] ]
View
Any view
Tab le  73   Description of the fields of the display bgp peer verbose command
Field  Description 
Peer  IP address of peer and port number used by the peer to establish TCP connection 
Local  IP address and port number used to establish TCP connection of local end 
Type  Type of peer: Internal for IBGP, and External for EBGP 
State  State of peer 
Flags  Flags of peer 
Last State  Last state before entering the current state 
Last Event  Last event of neighbor state machine 
Last Error  Last error of neighbor state machine 
Options  Options