Displaying BGP4+ neighbor statistics

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: 1
    1   IP Address: 1:2::3, AS: 100 (IBGP), RouterID: 0.0.0.0, VRF: default-vrf
        State: CONNECT, Time: 0h3m3s, KeepAliveTime: 60, HoldTime: 180
        Minimal Route Advertisement Interval: 0 seconds
        Messages:    Open    Update  KeepAlive Notification Refresh-Req
           Sent    : 0       0       0         0            0          
           Received: 0       0       0         0            0          
        Last Connection Reset Reason:Unknown
        Notification Sent:     Unspecified
        Notification Received: Unspecified
        Neighbor NLRI Negotiation:
          Peer configured for IPV6 unicast  Routes
        Neighbor ipv6 MPLS Label Capability Negotiation:
        Neighbor AS4 Capability Negotiation:
        Outbound Policy Group:
           ID: 2, Use Count: 3
           Last update time was 172 sec ago
    Error: TCP status not available
    
    This example output gives summarized information about a BGP4+ neighbor.
  2. Enter the show ipv6 bgp neighbors advertised-routes command.
    device# show ipv6 bgp neighbors 123::3 advertised-routes 
    
           There are 5 routes advertised to neighbor 123::3
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
           Prefix             Next Hop        MED        LocPrf     Weight Status
    1      110:110:110::/64   123::2           0                    0      BE    
             AS_PATH: 222 111
    2      110:110:110:1::/64 123::2           0                    0      BE    
             AS_PATH: 222 111
    3      110:110:110:2::/64 123::2           0                    0      BE    
             AS_PATH: 222 111
    4      110:110:110:3::/64 123::2           0                    0      BE    
             AS_PATH: 222 111
    5      110:110:110:4::/64 123::2           0                    0      BE    
             AS_PATH: 222 111
    
    This example shows information about all the routes the BGP4+ networking device advertised to the neighbor.
  3. Enter the show ipv6 bgp neighbors last-packet-with-error command.
    device# show ipv6 bgp neighbors 123::3 last-packet-with-error 
    
     Received Message Length: 45
     BGP Message:
      0xffffffff  0xffffffff  0xffffffff  0xffffffff  0x002d0104
      0x014b00b4  0x09090909  0x10020601  0x04020000  0x01020202
      0x00020280  0x00
    
     BGP Header
      Marker:   0xffffffff  0xffffffff  0xffffffff  0xffffffff
      Message Length: (0x002d) 45
      Message Type: (0x01) OPEN
    
     OPEN Message 
     Version: (0x04) 4
     AS Number: (0x014b) 331 
     Hold Time: (0x00b4) 180
     BGP Identifier: (0x09090909) 9.9.9.9 
     Optional Parameter length: (0x10) 16
    
     OPEN message optional parameters
      Parameter Type: (0x02) Capability
      Parameter Length: (0x06) 6
       Capability Type: (0x01) MULTIPROTOCOL EXTENSIONS
       Capability Length: (0x04) 4
       AFI: (0x0200) Unknown(512)
       Reserved: (0x00) 0
       SAFI: (0x01) Unicast
    
      Parameter Type: (0x02) Capability
      Parameter Length: (0x02) 2
       Capability Type: (0x02) ROUTE REFRESH(new)
       Capability Length: (0x00) 0
    
      Parameter Type: (0x02) Capability
      Parameter Length: (0x02) 2
       Capability Type: (0x80) ROUTE REFRESH(old)
       Capability Length: (0x00) 0
    
    This example shows information about the last packet that contained an error from any of a device‘s neighbors.
  4. Enter the show ipv6 bgp neighbors received-routes command.
    device# show ipv6 bgp neighbors 160:160:160::10 received-routes
    
           There are 5 received routes from neighbor 160:160:160::10
    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      110:110:110::/64   160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    2      110:110:110:1::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    3      110:110:110:2::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    4      110:110:110:3::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    5      110:110:110:4::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    
    This example lists all route information received in route updates from BGP4+ neighbors of the device since the soft-reconfiguration feature was enabled.
  5. Enter the show ipv6 bgp neighbors rib-out-routes command.
    device# show ipv6 bgp neighbors 123::3 rib-out-routes 
    
           There are 5 RIB_out routes for neighbor 123::3
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
           Prefix             Next Hop        MED        LocPrf     Weight Status
    1      110:110:110::/64   160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    2      110:110:110:1::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    3      110:110:110:2::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    4      110:110:110:3::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    5      110:110:110:4::/64 160:160:160::10  0         100        0      BE    
             AS_PATH: 111
    
    This example shows information about BGP4+ outbound RIB routes.