<?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 RE: SNMP query to get routing table info and search first 2 octets in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/snmp-query-to-get-routing-table-info-and-search-first-2-octets/m-p/35015#M6970</link>
    <description>bump</description>
    <pubDate>Tue, 27 Mar 2018 22:06:00 GMT</pubDate>
    <dc:creator>Marvell_Kay</dc:creator>
    <dc:date>2018-03-27T22:06:00Z</dc:date>
    <item>
      <title>SNMP query to get routing table info and search first 2 octets</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/snmp-query-to-get-routing-table-info-and-search-first-2-octets/m-p/35014#M6969</link>
      <description>I have a simple python script that does a SNMP walk on a Extreme switch and returns routing table.  &lt;BR /&gt;
&lt;BR /&gt;
snmpwalk -v2c extreme-sw1.com -c comm-string  .1.3.6.1.2.1.4.21.1.11&lt;BR /&gt;
The issue is, this slows down the script significantly as it takes around 1 minute to complete listing whole routing table.  I do not need to search whole routing table but instead want it so if I specify first 2 octets, it shows me only entries that start with that.   &lt;BR /&gt;
&lt;BR /&gt;
For some strange reason the above OID allows me to specify first three octets but not 2.&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;BR /&gt;
snmpwalk -v2c extreme-sw1.com -c comm-string  .1.3.6.1.2.1.4.21.1.11.&lt;B&gt;10.10.0&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
This will give me all ips starting with 10.10.0 in couple seconds.  However if I do this:&lt;BR /&gt;
&lt;BR /&gt;
snmpwalk -v2c extreme-sw1.com -c comm-string  .1.3.6.1.2.1.4.21.1.11.&lt;B&gt;10.10&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
It says "No Instance exists for this OID".&lt;BR /&gt;
&lt;BR /&gt;
Is there any way to make it work with 2 octets or if Extreme has a special OID MIB I can download that will allow me to achieve searching in this fashion?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 23 Mar 2018 23:15:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/snmp-query-to-get-routing-table-info-and-search-first-2-octets/m-p/35014#M6969</guid>
      <dc:creator>Marvell_Kay</dc:creator>
      <dc:date>2018-03-23T23:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: SNMP query to get routing table info and search first 2 octets</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/snmp-query-to-get-routing-table-info-and-search-first-2-octets/m-p/35015#M6970</link>
      <description>bump</description>
      <pubDate>Tue, 27 Mar 2018 22:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/snmp-query-to-get-routing-table-info-and-search-first-2-octets/m-p/35015#M6970</guid>
      <dc:creator>Marvell_Kay</dc:creator>
      <dc:date>2018-03-27T22:06:00Z</dc:date>
    </item>
  </channel>
</rss>

