Hello, and thanks for your time and attention. I am trying to determine the best method of significantly reducing the memory usage on one of our J6350 routers (Rtr-1) without causing too many new problems. The over-utilization is due to the BGP routing table size.
Our current ideas and considerations:
- completely remove BGP on Rtr-1 and any associated configuration on the BGP neighbors
- possibly distribute a default route to Rtr-1 without advertising it to the upstream OSPF neighbors
- possibly create OSPF stub
Any and all responses are appreciated.
user@Rtr-1> show bgp summary Groups: 1 Peers: 2 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending inet.0 1351576 1351573 0 0 0 0 bgp.l3vpn.0 0 0 0 0 0 0 bgp.l2vpn.0 0 0 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped... x.x.x.1 xx 4459271 128646 0 1 5w3d19h Establ inet.0: 675785/675786/675786/0 bgp.l3vpn.0: 0/0/0/0 bgp.l2vpn.0: 0/0/0/0 x.x.x.2 xx 3708683 128649 0 1 5w3d19h Establ inet.0: 675788/675790/675790/0 bgp.l3vpn.0: 0/0/0/0 bgp.l2vpn.0: 0/0/0/0
user@Rtr-1> show bgp group Group Type: Internal AS: xx Local AS: xx Name: iBGP-xx Index: 0 Flags: <Export Eval> Export: [ xx-TO-xx-EXPORT ] Options: <Multihop GracefulRestart LocalAS> Holdtime: 0 Local AS: xx Local System AS: 0 Total peers: 2 Established: 2 x.x.x.1+179 x.x.x.2+179 inet.0: 1351567/1351570/1351570/0 bgp.l3vpn.0: 0/0/0/0 bgp.l2vpn.0: 0/0/0/0
1. Are you sure that it is only rpd which is cosuming all the memory ? - you may want to recheck the same using "show system proc extensive" to give you exact way ahead.
2. Rather than removing entire bgp config, you may just filter the default routes from both of the neighbors to reduce the size of the routing database and maintaining redundancy at least to start with.
After considering above, you may change further design if the it helps in reducing the memory to start with.
************************************* HTH. Accept this as solution if it resolved your issue. Kudos would be appreciated too.