[c-nsp] Enabling IPv6 on 2951 with VRF consumed 240MB of RAM. Why?

Jay Nakamura zeusdadog at gmail.com
Wed Jan 26 15:18:55 EST 2011


> How exactly did you "enable IPv6"?

So, I did

ipv6 unicast-routing
ipv6 cef

router bgp <as#>
 address-family ipv6 vrf core
  no synchronization
  network xxxxxxxx::/48
  neighbor yyyyy::1 remote-as <other as>
  neighbor yyyyy::1 shutdown

I think the BGP config is where the RAM use went up, although no peer
is running and taking no routes.  The other router does have ipv6
unicast-routing and ipv6 cef and RAM usage didn't change or barely
changed.



> I have no box with 15.0 + BGP + IPv6 right now, so I can't check - but
> for older IOSes, IPv6 has fairly small impact on memory consumption.
>
> Cisco>sh bgp ipv6 su
> 4374 network entries using 581742 bytes of memory
> 38490 path entries using 2771280 bytes of memory
> ...
>
> Cisco>sh proc mem sort
> Total: 39237408, Used: 22215864, Free: 17021544
>  PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
>  91   0   51770188    7991604   10075460          0          0 BGP Router
>
> Cisco>sh mem
>                Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
> Processor   61A948E0    39237408    22217656    17019752    15261448    16350452
>
>
> this is a 4700M with a 12.3-ish IOS, having 6 full IPv6 BGP peers and
> a number of partial IPv6 BGP peers.  64Mb RAM, 17Mb free.
>
> No IPv4 BGP and no VRFs, though.
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
>                                                           //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             gert at greenie.muc.de
> fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de
>



More information about the cisco-nsp mailing list