Displaying BGP4+ Neighbor Statistics

Various show ipv6 bgp neighbors commands verify information about BGP4+ neighbor configurations.
Use one or more of the following commands to verify BGP4+ neighbor information. The commands do not have to be entered in this order.
  1. Enter the show ipv6 bgp neighbors command.
    device# show ipv6 bgp neighbors   
        Total number of BGP Neighbors:3
    1   IP Address: 2021:17::1:1:1, AS: 1 (IBGP), RouterID: 3.1.1.1, VRF: default-vrf
        State: ESTABLISHED, Time: 1d22h44m29s, KeepAliveTime: 10, HoldTime: 30
           KeepAliveTimer Expire in 7 seconds, HoldTimer Expire in 24 seconds
        Minimal Route Advertisement Interval: 0 seconds
           PeerGroup: p1
           RefreshCapability: Received
           GracefulRestartCapability: Received
               Restart Time 120 sec, Restart bit 0
               afi/safi 2/1, Forwarding bit 0
           GracefulRestartCapability: Sent
               Restart Time 120 sec, Restart bit 0
               afi/safi 2/1, Forwarding bit 0
        Messages:    Open    Update  KeepAlive Notification Refresh-Req
           Sent    : 1       1       16740     0            0          
           Received: 1       1       18099     0            0          
        Last Update Time: NLRI       Withdraw          NLRI       Withdraw
                      Tx: ---        ---           Rx: ---        ---        
        Last Connection Reset Reason:Unknown
        Notification Sent:     Unspecified
        Notification Received: Unspecified
        Neighbor NLRI Negotiation:
          Peer Negotiated IPV6 unicast  capability
          Peer configured for IPV6 unicast  Routes
        Neighbor AS4 Capability Negotiation:
        Outbound Policy Group:                                        
           ID: 3, Use Count: 6
        AO Keychain name : 1
        TCP Connection state: ESTABLISHED
         TCP Keychain name      : 1
         TCP-AO Enabled         : YES
         TCP-AO in use          : YES
         Keychain valid         : YES
         No of segments dropped : 0
         Send-Active-Key
         ---------------
           Key-id               : 1
           Crypto Algorithm     : AES-128-CMAC
           Send-id              : 100
           Recv-id              : 100
           Include-tcp-options  : YES
           Accept-ao-mismatch   : YES
         Recv-Active-Key
         ---------------
           Key-id               : 1
           Crypto Algorithm     : AES-128-CMAC
           Send-id              : 100
           Recv-id              : 100
           Include-tcp-options  : YES
           Accept-ao-mismatch   : YES
                                                                      
         Maximum segment size: 1420
        TTL check: value: 0
           Byte Sent:   318144, Received: 343965
           Local host:  2021:17::1:1:2, Local  Port: 8028
           Remote host: 2021:17::1:1:1, Remote Port: 179
           ISentSeq:   17791259  SendNext:   18109404  TotUnAck:          0
           TotSent:      318145  ReTrans:           2  UnAckSeq:   18109404
           IRcvSeq:   154039983  RcvNext:   154383949  SendWnd:       16365
           TotalRcv:     343966  DupliRcv:          0  RcvWnd:        16384
           SendQue:           0  RcvQue:            0  CngstWnd:       1439
    
    …
    
    This example output gives summarized information about BGP4+ neighbors.
  2. Enter the show ipv6 bgp neighbors advertised-routes command.
    device# show ipv6 bgp neighbors 2001:db8::110 advertised-routes
    
    There are 2 routes advertised to neighbor 2001:db8::110
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
           Prefix           Next Hop   MED LocPrf   Weight Status
    1      2001:db8::/32    ::         1            32768  BL
             AS_PATH:
    2      2001:db8::/16    ::         1            32768  BL
             AS_PATH:     
    
    This example shows information about all the routes the BGP4+ networking device advertised to the neighbor.
  3. Enter the show ipv6 bgp neighbors received-routes command.
    device# show ipv6 bgp neighbors 2001:db8:400:400::2 received-routes
    
           There are 4 received routes from neighbor 2001:db8:400:400::2
    Searching for matching routes, use ^C to quit...
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
           E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
           S:SUPPRESSED F:FILTERED s:STALE
           Prefix                 Next Hop             MED LocPrf Weight  Status
    1      2001:db8:202:202::/64  2001:db8:400:400::2  0   400    0       BI
                                                                         
             AS_PATH: 65005 65010
    2      2001:db8:400:400::/64  2001:db8:400:400::2  0   400    0       I
                                                                  
             AS_PATH: 65005 65010
    
    This example lists all route information received in route updates from BGP4+ neighbors of the device since the soft-reconfiguration feature was enabled.
  4. Enter the show ipv6 bgp neighbors rib-out-routes command.
    device# show ipv6 bgp neighbors 2001:db8::110 rib-out-routes
    
           There are 2 RIB_out routes for neighbor 2001:db8::110
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
           Prefix             Next Hop    Metric     LocPrf     Weight Status
    1      2001:db8::/32     			::        1          100        32768  BL
             AS_PATH:
    2      2001:db8::/16 		 			 ::        1          100        32768  BL
             AS_PATH:
           
    
    This example shows information about BGP4+ outbound RIB routes.