Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

bgp prefix & path

How many bytes of mem are used by a 1*prefix & 1*path for in a PE

1 REPLY
Cisco Employee

Re: bgp prefix & path

Shafik,

The output of "show ip bgp summ" gives you a pretty good idea of how much memory is used by BGP to store prefixes, paths and path attributes.

Here's the output with one prefix:

R2#sh ip bgp summ

BGP router identifier 2.2.2.2, local AS number 2

BGP table version is 2, main routing table version 2

1 network entries using 113 bytes of memory

1 path entries using 52 bytes of memory

2/1 BGP path/bestpath attribute entries using 264 bytes of memory

1 BGP AS-PATH entries using 24 bytes of memory

0 BGP route-map cache entries using 0 bytes of memory

0 BGP filter-list cache entries using 0 bytes of memory

BGP using 453 total bytes of memory

BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd

192.168.12.1 4 1 5 4 2 0 0 00:01:06 1

R2#

This will vary depending on the number of attributes (as-path, communities, extended communities, etc) and the number of paths per prefix.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
174
Views
5
Helpful
1
Replies
CreatePlease login to create content