Displaying BGP4+ statistics
Various show ipv6 bgp commands verify information about BGP4+ configurations.
Use one or more of the following commands to verify BGP4+ information. The commands do not have to be entered in this order.
-
Enter the
show ipv6 bgp summary command.
device> show ipv6 bgp summary BGP4 Summary Router ID: 113.1.1.1 Local AS Number: 65020 Confederation Identifier: not configured Confederation Peers: Maximum Number of IP ECMP Paths Supported for Load Sharing: 1 Number of Neighbors Configured: 2, UP: 1 Number of Routes Installed: 5, Uses 430 bytes Number of Routes Advertising to All Neighbors: 7 (7 entries), Uses 336 bytes Number of Attribute Entries Installed: 4, Uses 360 bytes Neighbor Address AS# State Time Rt:Accepted Filtered Sent ToSend 2001:db8:113:113::2 65001 CONN 1d14h32m 0 0 0 4 2001:db8:400:400::2 65020 ESTAB 3h59m24s 2 0 3 0
This example output gives summarized BGP4+ information. -
Enter the
show ipv6 bgp attribute-entries command.
device> show ipv6 bgp attribute-entries Total number of BGP Attribute Entries: 4 1 Next Hop : :: MED :1 Origin:IGP 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: 1, Source As 0 Address: 0x2a8bd092 Hash:364 (0x1000000) Links: 0x0, 0x0 Reference Counts: 2:0:4, Magic: 3
This example shows information about two route-attribute entries that are stored in device memory. -
Enter the
show ipv6 bgp peer-group command.
device> show ipv6 bgp peer-group peer_group1 1 BGP peer-group is peer_group1 Address family : IPV4 Unicast no activate Address family : IPV4 Multicast no activate Address family : IPV6 Unicast activate Address family : IPV6 Multicast no activate Address family : VPNV4 Unicast no activate Address family : L2VPN VPLS no activate Members: IP Address: 2000:400:400:400::3, AS: 65020
This example shows output for a peer group called “peer_group1”. -
Enter the
show ipv6 bgp routes command.
device> show ipv6 bgp routes Total number of BGP Routes: 4 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:10:10::/64 :: 1 100 32768 BL AS_PATH: 2 2001:db8:113:113::/64 :: 1 100 32768 BL AS_PATH: 3 2001::db8:400::/64 :: 0 100 32768 BL AS_PATH: 4 2001:db8:400:400::/64 2001:db8:400:400::2 0 400 0 I AS_PATH: 65005 65010
This example shows general BGP4+ route information. -
Enter the
show ipv6 bgp routes command, using the
detail keyword.
device> show ipv6 bgp routes detail Total number of BGP Routes: 4 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 1 Prefix: 2001:db8:10:10::/64, Status: BL, Age: 8h31m39s NEXT_HOP: ::, Learned from Peer: Local Router LOCAL_PREF: 100, MED: 0, ORIGIN: incomplete, Weight: 32768 AS_PATH: Adj_RIB_out count: 3, Admin distance 1 2 Prefix: 2001:db8:113:113::/64, Status: BL, Age: 6h58m35s NEXT_HOP: ::, Learned from Peer: Local Router LOCAL_PREF: 100, MED: 0, ORIGIN: igp, Weight: 32768 AS_PATH: Adj_RIB_out count: 3, Admin distance 1 3 Prefix: 2001:db8:202:202::/64, Status: BI, Age: 5h42m36s NEXT_HOP: 2001:db8:400:400::2, Metric: 0, Learned from Peer: 2001:db8:400:400::2 (65020) LOCAL_PREF: 400, MED: 0, ORIGIN: incomplete, Weight: 0 AS_PATH: 65005 65010 Adj_RIB_out count: 1, Admin distance 200 4 Prefix: 2001:db8:400:400::/64, Status: BL, Age: 5h43m14s NEXT_HOP: ::, Learned from Peer: Local Router LOCAL_PREF: 100, MED: 0, ORIGIN: igp, Weight: 32768 AS_PATH: Adj_RIB_out count: 3, Admin distance 1
This example shows detailed BGP4+ route information.
Parent topic: BGP4+