<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Blackdiamond lack of memory with BGP in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21921#M1696</link>
    <description>Hello!&lt;BR /&gt;
&lt;BR /&gt;
I am experiencing some issues with Blackdiamond and BGP.&lt;BR /&gt;
I have 2 iBGP and 2 eBGP peers for IPV4 and the same for IPv6 (8 BGP peers total). From eBGP peers I receive full routing (&amp;gt; 600k IPv4 routes).&lt;BR /&gt;
With this setup memory usage is very high and sometimes the switch reboots due lack of memory.&lt;BR /&gt;
Is there any configuration to reduce memory usage, specially to rtmgr process? Or disable other processes? Or any other ideas possibly involving filtering received routes and reduce memory consumption.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
8900-G48X-xl &lt;BR /&gt;
XOS 16.1.3.6&lt;BR /&gt;
&lt;BR /&gt;
I've made the following config on the switch:&lt;BR /&gt;
&lt;BR /&gt;
configure forwarding external-tables l3-only ipv4-and-ipv6&lt;BR /&gt;
configure iproute reserved-entries maximum slot 2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
sh memory&lt;BR /&gt;
System Memory Information&lt;BR /&gt;
-------------------------&lt;BR /&gt;
 MSM-A    Total DRAM (KB): 1048576&lt;BR /&gt;
 MSM-A    System     (KB): 40152&lt;BR /&gt;
 MSM-A    User       (KB): 918992&lt;BR /&gt;
 MSM-A    Free       (KB): 89432&lt;BR /&gt;
&lt;BR /&gt;
Memory Utilization Statistics&lt;BR /&gt;
-----------------------------&lt;BR /&gt;
&lt;BR /&gt;
 Card Slot Process Name     Memory (KB)&lt;BR /&gt;
---------------------------------------&lt;BR /&gt;
 MSM-A  A   aaa              4160&lt;BR /&gt;
 MSM-A  A   acl              3064&lt;BR /&gt;
 MSM-A  A   bfd              2040&lt;BR /&gt;
 MSM-A  A   bgp              372484&lt;BR /&gt;
 MSM-A  A   brm              1876&lt;BR /&gt;
 MSM-A  A   cfgmgr           3316&lt;BR /&gt;
 MSM-A  A   cli              18812&lt;BR /&gt;
 MSM-A  A   devmgr           2060&lt;BR /&gt;
 MSM-A  A   dirser           1456&lt;BR /&gt;
 MSM-A  A   dosprotect       1552&lt;BR /&gt;
 MSM-A  A   dot1ag           2580&lt;BR /&gt;
 MSM-A  A   eaps             2416&lt;BR /&gt;
 MSM-A  A   edp              2108&lt;BR /&gt;
 MSM-A  A   elrp             2072&lt;BR /&gt;
 MSM-A  A   elsm             2032&lt;BR /&gt;
 MSM-A  A   ems              3780&lt;BR /&gt;
 MSM-A  A   epm              2604&lt;BR /&gt;
 MSM-A  A   erps             2524&lt;BR /&gt;
 MSM-A  A   esrp             2316&lt;BR /&gt;
 MSM-A  A   etmon            5116&lt;BR /&gt;
 MSM-A  A   exacl            0&lt;BR /&gt;
 MSM-A  A   exdhcpsnoop      0&lt;BR /&gt;
 MSM-A  A   exdos            0&lt;BR /&gt;
 MSM-A  A   exfib            0&lt;BR /&gt;
 MSM-A  A   exfipSnoop       0&lt;BR /&gt;
 MSM-A  A   exosmc           0&lt;BR /&gt;
 MSM-A  A   exosq            0&lt;BR /&gt;
 MSM-A  A   exsflow          0&lt;BR /&gt;
 MSM-A  A   exsnoop          0&lt;BR /&gt;
 MSM-A  A   exsshd           1876&lt;BR /&gt;
 MSM-A  A   exvlan           0&lt;BR /&gt;
 MSM-A  A   fcoe             2160&lt;BR /&gt;
 MSM-A  A   fdb              3336&lt;BR /&gt;
 MSM-A  A   hal              54828&lt;BR /&gt;
 MSM-A  A   hclag            2076&lt;BR /&gt;
 MSM-A  A   idMgr            4432&lt;BR /&gt;
 MSM-A  A   ipSecurity       2260&lt;BR /&gt;
 MSM-A  A   ipfix            2116&lt;BR /&gt;
 MSM-A  A   isis             2644&lt;BR /&gt;
 MSM-A  A   lacp             2484&lt;BR /&gt;
 MSM-A  A   lldp             2248&lt;BR /&gt;
 MSM-A  A   mcmgr            3404&lt;BR /&gt;
 MSM-A  A   mpls             0&lt;BR /&gt;
 MSM-A  A   mrp              2300&lt;BR /&gt;
 MSM-A  A   msdp             2208&lt;BR /&gt;
 MSM-A  A   netLogin         2448&lt;BR /&gt;
 MSM-A  A   netTools         5796&lt;BR /&gt;
 MSM-A  A   nettx            0&lt;BR /&gt;
 MSM-A  A   nodemgr          1624&lt;BR /&gt;
 MSM-A  A   ntp              2040&lt;BR /&gt;
 MSM-A  A   ospf             2908&lt;BR /&gt;
 MSM-A  A   ospf-3           3240&lt;BR /&gt;
 MSM-A  A   ospfv3           2876&lt;BR /&gt;
 MSM-A  A   ospfv3-3         2952&lt;BR /&gt;
 MSM-A  A   pim              3164&lt;BR /&gt;
 MSM-A  A   poe              2156&lt;BR /&gt;
 MSM-A  A   polMgr           1928&lt;BR /&gt;
 MSM-A  A   pwmib            1592&lt;BR /&gt;
 MSM-A  A   rip              2524&lt;BR /&gt;
 MSM-A  A   r.png            2228&lt;BR /&gt;
 MSM-A  A   rtmgr            265872&lt;BR /&gt;
 MSM-A  A   snmpMaster       4260&lt;BR /&gt;
 MSM-A  A   snmpSubagent     4912&lt;BR /&gt;
 MSM-A  A   stp              2596&lt;BR /&gt;
 MSM-A  A   techSupport      2164&lt;BR /&gt;
 MSM-A  A   telnetd          2256&lt;BR /&gt;
 MSM-A  A   tftpd            1444&lt;BR /&gt;
 MSM-A  A   thttpd           2624&lt;BR /&gt;
 MSM-A  A   trill            0&lt;BR /&gt;
 MSM-A  A   twamp            1680&lt;BR /&gt;
 MSM-A  A   upm              2216&lt;BR /&gt;
 MSM-A  A   vlan             3700&lt;BR /&gt;
 MSM-A  A   vmt              2712&lt;BR /&gt;
 MSM-A  A   vrrp             2248&lt;BR /&gt;
 MSM-A  A   vsm              2316&lt;BR /&gt;
 MSM-A  A   xmlc             2336&lt;BR /&gt;
 MSM-A  A   xmld             4700&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Mar 2017 23:38:00 GMT</pubDate>
    <dc:creator>Luiz_Gustavo_Ba</dc:creator>
    <dc:date>2017-03-09T23:38:00Z</dc:date>
    <item>
      <title>Blackdiamond lack of memory with BGP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21921#M1696</link>
      <description>Hello!&lt;BR /&gt;
&lt;BR /&gt;
I am experiencing some issues with Blackdiamond and BGP.&lt;BR /&gt;
I have 2 iBGP and 2 eBGP peers for IPV4 and the same for IPv6 (8 BGP peers total). From eBGP peers I receive full routing (&amp;gt; 600k IPv4 routes).&lt;BR /&gt;
With this setup memory usage is very high and sometimes the switch reboots due lack of memory.&lt;BR /&gt;
Is there any configuration to reduce memory usage, specially to rtmgr process? Or disable other processes? Or any other ideas possibly involving filtering received routes and reduce memory consumption.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
8900-G48X-xl &lt;BR /&gt;
XOS 16.1.3.6&lt;BR /&gt;
&lt;BR /&gt;
I've made the following config on the switch:&lt;BR /&gt;
&lt;BR /&gt;
configure forwarding external-tables l3-only ipv4-and-ipv6&lt;BR /&gt;
configure iproute reserved-entries maximum slot 2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
sh memory&lt;BR /&gt;
System Memory Information&lt;BR /&gt;
-------------------------&lt;BR /&gt;
 MSM-A    Total DRAM (KB): 1048576&lt;BR /&gt;
 MSM-A    System     (KB): 40152&lt;BR /&gt;
 MSM-A    User       (KB): 918992&lt;BR /&gt;
 MSM-A    Free       (KB): 89432&lt;BR /&gt;
&lt;BR /&gt;
Memory Utilization Statistics&lt;BR /&gt;
-----------------------------&lt;BR /&gt;
&lt;BR /&gt;
 Card Slot Process Name     Memory (KB)&lt;BR /&gt;
---------------------------------------&lt;BR /&gt;
 MSM-A  A   aaa              4160&lt;BR /&gt;
 MSM-A  A   acl              3064&lt;BR /&gt;
 MSM-A  A   bfd              2040&lt;BR /&gt;
 MSM-A  A   bgp              372484&lt;BR /&gt;
 MSM-A  A   brm              1876&lt;BR /&gt;
 MSM-A  A   cfgmgr           3316&lt;BR /&gt;
 MSM-A  A   cli              18812&lt;BR /&gt;
 MSM-A  A   devmgr           2060&lt;BR /&gt;
 MSM-A  A   dirser           1456&lt;BR /&gt;
 MSM-A  A   dosprotect       1552&lt;BR /&gt;
 MSM-A  A   dot1ag           2580&lt;BR /&gt;
 MSM-A  A   eaps             2416&lt;BR /&gt;
 MSM-A  A   edp              2108&lt;BR /&gt;
 MSM-A  A   elrp             2072&lt;BR /&gt;
 MSM-A  A   elsm             2032&lt;BR /&gt;
 MSM-A  A   ems              3780&lt;BR /&gt;
 MSM-A  A   epm              2604&lt;BR /&gt;
 MSM-A  A   erps             2524&lt;BR /&gt;
 MSM-A  A   esrp             2316&lt;BR /&gt;
 MSM-A  A   etmon            5116&lt;BR /&gt;
 MSM-A  A   exacl            0&lt;BR /&gt;
 MSM-A  A   exdhcpsnoop      0&lt;BR /&gt;
 MSM-A  A   exdos            0&lt;BR /&gt;
 MSM-A  A   exfib            0&lt;BR /&gt;
 MSM-A  A   exfipSnoop       0&lt;BR /&gt;
 MSM-A  A   exosmc           0&lt;BR /&gt;
 MSM-A  A   exosq            0&lt;BR /&gt;
 MSM-A  A   exsflow          0&lt;BR /&gt;
 MSM-A  A   exsnoop          0&lt;BR /&gt;
 MSM-A  A   exsshd           1876&lt;BR /&gt;
 MSM-A  A   exvlan           0&lt;BR /&gt;
 MSM-A  A   fcoe             2160&lt;BR /&gt;
 MSM-A  A   fdb              3336&lt;BR /&gt;
 MSM-A  A   hal              54828&lt;BR /&gt;
 MSM-A  A   hclag            2076&lt;BR /&gt;
 MSM-A  A   idMgr            4432&lt;BR /&gt;
 MSM-A  A   ipSecurity       2260&lt;BR /&gt;
 MSM-A  A   ipfix            2116&lt;BR /&gt;
 MSM-A  A   isis             2644&lt;BR /&gt;
 MSM-A  A   lacp             2484&lt;BR /&gt;
 MSM-A  A   lldp             2248&lt;BR /&gt;
 MSM-A  A   mcmgr            3404&lt;BR /&gt;
 MSM-A  A   mpls             0&lt;BR /&gt;
 MSM-A  A   mrp              2300&lt;BR /&gt;
 MSM-A  A   msdp             2208&lt;BR /&gt;
 MSM-A  A   netLogin         2448&lt;BR /&gt;
 MSM-A  A   netTools         5796&lt;BR /&gt;
 MSM-A  A   nettx            0&lt;BR /&gt;
 MSM-A  A   nodemgr          1624&lt;BR /&gt;
 MSM-A  A   ntp              2040&lt;BR /&gt;
 MSM-A  A   ospf             2908&lt;BR /&gt;
 MSM-A  A   ospf-3           3240&lt;BR /&gt;
 MSM-A  A   ospfv3           2876&lt;BR /&gt;
 MSM-A  A   ospfv3-3         2952&lt;BR /&gt;
 MSM-A  A   pim              3164&lt;BR /&gt;
 MSM-A  A   poe              2156&lt;BR /&gt;
 MSM-A  A   polMgr           1928&lt;BR /&gt;
 MSM-A  A   pwmib            1592&lt;BR /&gt;
 MSM-A  A   rip              2524&lt;BR /&gt;
 MSM-A  A   r.png            2228&lt;BR /&gt;
 MSM-A  A   rtmgr            265872&lt;BR /&gt;
 MSM-A  A   snmpMaster       4260&lt;BR /&gt;
 MSM-A  A   snmpSubagent     4912&lt;BR /&gt;
 MSM-A  A   stp              2596&lt;BR /&gt;
 MSM-A  A   techSupport      2164&lt;BR /&gt;
 MSM-A  A   telnetd          2256&lt;BR /&gt;
 MSM-A  A   tftpd            1444&lt;BR /&gt;
 MSM-A  A   thttpd           2624&lt;BR /&gt;
 MSM-A  A   trill            0&lt;BR /&gt;
 MSM-A  A   twamp            1680&lt;BR /&gt;
 MSM-A  A   upm              2216&lt;BR /&gt;
 MSM-A  A   vlan             3700&lt;BR /&gt;
 MSM-A  A   vmt              2712&lt;BR /&gt;
 MSM-A  A   vrrp             2248&lt;BR /&gt;
 MSM-A  A   vsm              2316&lt;BR /&gt;
 MSM-A  A   xmlc             2336&lt;BR /&gt;
 MSM-A  A   xmld             4700&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2017 23:38:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21921#M1696</guid>
      <dc:creator>Luiz_Gustavo_Ba</dc:creator>
      <dc:date>2017-03-09T23:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Blackdiamond lack of memory with BGP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21922#M1697</link>
      <description>One way would be:&lt;BR /&gt;
 configure neighbor 1.2.3.4 maximum-prefix 400000 threshold 90&lt;BR /&gt;
&lt;BR /&gt;
(only accept 400K routes from neighbor 1.2.3.4, make a warning log entry when we get to 90%)&lt;BR /&gt;
&lt;BR /&gt;
Another possibility is to only accept routes of a certain length - that way you don't get a million /24 entries clogging up your routes. For instance a policy "BGP-in-filter"&lt;BR /&gt;
entry DenySmall4 {&lt;BR /&gt;
    if {&lt;BR /&gt;
        nlri any/16;&lt;BR /&gt;
    } then {&lt;BR /&gt;
        deny;&lt;BR /&gt;
    }   &lt;BR /&gt;
}       &lt;BR /&gt;
&lt;BR /&gt;
entry PermitRest {&lt;BR /&gt;
    if {&lt;BR /&gt;
    } then {&lt;BR /&gt;
        permit;&lt;BR /&gt;
    }&lt;BR /&gt;
}&lt;BR /&gt;
can be applied via&lt;BR /&gt;
   configure bgp neighbor 1.2.3.4 route-policy in BGP-in-filter&lt;BR /&gt;
&lt;BR /&gt;
and should drop anything from a /16 to /24 (and you'd still receive your default-route 0.0.0.0/0)&lt;BR /&gt;
&lt;BR /&gt;
You can use both, policy and "cutoff", btw.&lt;BR /&gt;
&lt;BR /&gt;
After that, I'd suggest to still keep a close eye on CPU utilization (bgp process) when a neighbor dies/comes back.&lt;BR /&gt;
&lt;BR /&gt;
   Frank&lt;BR /&gt;
&lt;BR /&gt;
P.S.: Oh, I'm assuming you're already using route-compression &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:17:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21922#M1697</guid>
      <dc:creator>Frank</dc:creator>
      <dc:date>2017-03-10T00:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Blackdiamond lack of memory with BGP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21923#M1698</link>
      <description>Hi Frank,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for reply.&lt;BR /&gt;
Yes, I am using route-compression, your assumption is correct!&lt;BR /&gt;
&lt;BR /&gt;
I will do some filtering as suggested and see what happens. I was thinking in something like this to solve my problem.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:34:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/blackdiamond-lack-of-memory-with-bgp/m-p/21923#M1698</guid>
      <dc:creator>Luiz_Gustavo_Ba</dc:creator>
      <dc:date>2017-03-10T00:34:00Z</dc:date>
    </item>
  </channel>
</rss>

