Various show ip bgp commands verify information about BGP4 configurations.
device# show ip bgp summary BGP4 Summary Router ID: 192.117.117.36 Local AS Number: 1001 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: 4, Uses 384 bytes Number of Routes Advertising to All Neighbors: 4 (4 entries), Uses 240 bytes Number of Attribute Entries Installed: 1, Uses 104 bytes Neighbor Address AS# State Time Rt:Accepted Filtered Sent ToSend 192.117.117.3 1001 ACTIV 4h 5m 0s 0 0 0 4
device# show ip 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 42.9.1.0/24 0.0.0.0 0 100 32768 BL
AS_PATH:
2 42.9.2.0/24 0.0.0.0 0 100 32768 BL
AS_PATH:
3 42.9.3.0/24 0.0.0.0 0 100 32768 BL
AS_PATH:
4 42.9.4.0/24 0.0.0.0 0 100 32768 BL
AS_PATH:
device# show ip bgp
Total number of BGP Routes: 4
Status codes: s suppressed, d damped, h history, * valid, > best, i internal, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop MED LocPrf Weight Path
*> 42.9.1.0/24 0.0.0.0 0 100 32768 i
*> 42.9.2.0/24 0.0.0.0 0 100 32768 i
*> 42.9.3.0/24 0.0.0.0 0 100 32768 i
*> 42.9.4.0/24 0.0.0.0 0 100 32768 i
device# show ip bgp attribute-entries
Total number of BGP Attribute Entries: 1
1 Next Hop : 0.0.0.0 MED :0 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: 0, Source As 0
Address: 0x67c1002c Hash:364 (0x01000000)
Links: 0x00000000, 0x00000000
Reference Counts: 4:0:4, Magic: 1
device# show ip 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
device# show ip 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