No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ–Why Is the Number of BGP Routing Entries Displayed with the display bgp routing-table statistics Command Different from the Number of Those Displayed with the display ip routing-table statistics Command

Publication Date:  2012-07-27 Views:  56 Downloads:  0
Issue Description
 Q:
Why is the number of the BGP routing entries displayed with the display bgp routing-table statistics command different from the number of those displayed with the display ip routing-table statistics command?
display bgp routing-table statistics
Total Number of Routes: 501703
display ip routing-table statistics
Proto total original active original added deleted freed
routes routes routes active routes routes routes
DIRECT 46 46 46 46 90 44 44
STATIC 7 7 7 7 9 2 2
RIP 0 0 0 0 0 0 0
OSPF 166 166 161 161 19353 19187 19187
IS-IS 0 0 0 0 0 0 0
BGP 1003110 501734 501907 251014 76789172 75786062 75786062
Total 1003329 501953 502121 251228 76808624 75805295 75805295 
Alarm Information
 Null 
Handling Process
 A:
The BGP routing entries displayed by using the display bgp routing-table statistics command include all routes redistributed by the local host and all BGP routes advertised by the peer. All active and inactive routes are included, but the load balancing routes obtained through route iteration (that is, if multiple outbound interfaces can be obtained through IGP iteration for a destination, only the single next hop address before route iteration, instead of multiple interfaces is displayed here).
The routing entries displayed by using the display ip routing-table statistics command are classified by protocol. The routes of each protocol include total, original, active, original active, added, deleted, and freed entries. The specific meanings of these types of entries are omitted. Note: Since the routing table needs to be sent to the FIB to guide forwarding, the total entries and active entries of all these routes include load-balancing routes obtained through route iteration, but do not include the routes whose next hop address is 0.0.0.0 in the BGP routing table (that is, the routes whose next hop address points to the device itself, or the IGP routes, direct routes, and static routes through which the next hop is reachable without passing through the BGP route).
You can use the display ip routing-table protocol bgp command to view the iterated routes of the BGP. All outbound interfaces are listed for each active route.  Therefore, the number of routing entries in the BGP routing table is unnecessarily the same as the number of BGP routing entries in the IP routing table, and there is no necessary relationship between these two numbers. 
 
Root Cause
 Null 
Suggestions

Null

END