Displaying BGP4+ statistics

Various show ipv6 bgp commands verify information about BGP4+ configurations.

Before you begin

About this task

Use one or more of the following commands to verify BGP4+ information. The commands do not have to be entered in this order.

Procedure

  1. Enter the show ipv6 bgp summary command.
    device# show ipv6 bgp summary
    
      BGP4 Summary 
      Router ID: 107.1.1.8   Local AS Number: 100
      Confederation Identifier: not configured
      Confederation Peers: 
      Maximum Number of IP ECMP Paths Supported for Load Sharing: 1
      Number of Neighbors Configured: 1, UP: 0
      Number of Routes Installed: 1, Uses 96 bytes
      Number of Routes Advertising to All Neighbors: 1 (1 entries), Uses 60 bytes
      Number of Attribute Entries Installed: 1, Uses 104 bytes
      Neighbor Address  AS#         State     Time     Rt:Accepted Filtered Sent     ToSend
      1:2::3            100         CONN      0h 0m18s    0        0        0        1   
    
    This example output gives summarized BGP4+ information.
  2. Enter the show ipv6 bgp attribute-entries command.
    device# show ipv6 bgp attribute-entries 
    
            Total number of BGP Attribute Entries: 1
    1       Next Hop  : ::                                         MED      :0               Origin:INCOMP 
            Originator:0.0.0.0            Cluster List:None
            Aggregator:AS Number :0            Router-ID:0.0.0.0          Atomic:None  
            Local Pref:100               Communities:Internet 
            AS Path   : (length 0)
               AsPathLen: 0  AsNum: 0, SegmentNum: 0, Neighboring As: 0, Source As 0
            Address: 0x0b456c4c  Hash:876 (0x03000000)
            Links: 0x00000000, 0x00000000
            Reference Counts: 1:0:1, Magic: 2
    
    This example shows information about an route-attribute entry that is stored in device memory.
  3. Enter the show ipv6 bgp peer-group command.
    device# show ipv6 bgp peer-group 
    
    1   BGP peer-group is pg
          Address family : IPV4 Unicast 
            activate 
          Address family : IPV6 Unicast 
            no activate 
        Members:
           IP Address: 1.1.1.1, AS: 100 
           IP Address: 1::1, AS: 100 
    
    2   BGP peer-group is pg6
          Address family : IPV4 Unicast 
            activate 
          Address family : IPV6 Unicast 
            no activate 
        Currently there are no members.
    
    This example shows output for two peer groups, called “pg” and “pg6”.
  4. Enter the show ipv6 bgp routes command.
    device# show ipv6 bgp routes
    
    Total number of BGP Routes: 1
    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      107:1:1::/64       ::              0          100        32768  BL    
             AS_PATH: 
    
    This example shows general BGP4+ route information.
  5. Enter the show ipv6 bgp routes command, using the summary keyword.
    device# show ipv6 bgp routes summary
    
      Total number of BGP routes (NLRIs) Installed     : 1
      Distinct BGP destination networks                : 1
      Filtered bgp routes for soft reconfig            : 0
      Routes originated by this router                 : 1
      Routes selected as BEST routes                   : 1
      Routes Installed as BEST routes                  : 1
      BEST routes not installed in IP forwarding table : 0
      Unreachable routes (no IGP route for NEXTHOP)    : 0
      IBGP routes selected as best routes              : 0
      EBGP routes selected as best routes              : 0
      BEST routes not valid for IP forwarding table    : 0
    
    This example shows summarized BGP4+ route information.