show ip bgp statistics

This command displays recent decision process history. Phase 1 of the decision process reacts to UPDATE messages received from peers, determining what new routes are accepted and deleting withdrawn routes from the Adj-RIB-In. Phase 2 determines the best path for each destination, updates the BGP route table, and updates the common RIB. Phase 3 is run independently for each outbound update group and determines which routes should be advertised to neighbors in each group. Each entry in the table shows statistics for one phase of the decision process. The table shows the 20 most recent decision process runs, with the most recent information at the end of the table. If a VRF instance is specified, the statistics for communities within the VRF instance are displayed.

Format show ip bgp [vrf vrf-name] statistics
Mode Privileged EXEC

The command displays the following information.

Parameter Description
Delta T How long since the decision process was run. hours:minutes:seconds if the elapsed time is less than 24 hours. Otherwise, days:hours.
Phase Which phase of the decision process was run
Upd Grp Outbound update group ID. Only applies when phase 3 is run.
GenId Generation ID of BGP routing table when decision process was run. The generation ID is incremented each time phase 2 of the decision process is run and when there is a change to the status of aggregate addresses.
Reason The event that triggered the decision process to run
Peer Phase 1 of the decision process can be triggered for a specific peer when a peer's inbound routing policy changes or the peer is reset. When phase 1 is run for a single peer, the peer's IP address is given.
Duration How long the decision process took, in milliseconds
Adds The number of routes added. For phase 1, this is the number of prefixes that pass inbound policy and are added to the Accept-RIB-In. For phase 2, this is the number of routes added to the BGP routing table. For phase 3, this is the number of prefixes added to the update group's Adj-RIB-Out.
Mods The number of routes modified. Always 0 for phase 1.
Dels The number of routes deleted. Always 0 for phase 1.

Example: The following shows example CLI display output for the command.

(R1) # show ip bgp statistics
 Delta T  Phase  Upd Grp   GenId           Reason         Peer  Duration   Adds   Mods   Dels
29:33:49      3        0    2041  Fwd status chng                     34    750      0    500
29:33:40      2             2042   Accept-RIB-In-                     59    750      0    500
29:33:28      2             2043   Accept-RIB-In-                     10      0      0    250
29:23:40      2             2044   Accept-RIB-In-                     32      0      0   1000
29:13:40      3        1    2044     Phase 2 done                     48    500   2500   1750
29:02:40      1             2044      Adj-RIB-In+                     21    500      0      0
29:02:01      3        0    2044     Phase 2 done                     41    750      0   1250
28:33:40      2             2045     Phase 1 done                            32    500      0
28:15:00      1             2045      Adj-RIB-In+                      9    250      0      0
28:14:40      2             2046     Phase 1 done                            16    250      0

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail [email protected]

LANCOM Logo
OSZAR »