<?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: Secondary IP Addresses and SNMP in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384341#M923857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is ciiIPAddressCategoryCap the OID you're referring to when you say "CISCO-IP-IF-MIB seems to be able to do it"? That answer notwithstanding, here's a little thinking-out-loud:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know to what extent you want to rely on SNMP. I think you could simply use SNMP or some other means to pull off the entire IOS config, and parse it with Perl/sed/whatever on your local box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, since you can already "determine which IP block is primary and which is secondary" with CISCO-HSRP-MIB, you could also poll "ipAdEntAddr / 1.3.6.1.2.1.4.20.1.1". By piecing those two together, maybe it could get you what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, if you know what you're looking for can be found with some combo of IOS "show" commands, I suggest posting in the other Network Management forum: &lt;A href="https://community.cisco.com/community/netpro/network-infrastructure/network-management"&gt;https://supportforums.cisco.com/community/netpro/network-infrastructure/network-management&lt;/A&gt;, for a possible EEM-based solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 16:13:35 GMT</pubDate>
    <dc:creator>yjdabear</dc:creator>
    <dc:date>2010-03-25T16:13:35Z</dc:date>
    <item>
      <title>Secondary IP Addresses and SNMP</title>
      <link>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384338#M923854</link>
      <description>&lt;P&gt;How can I tell using SNMP whether an IP address configured on an interface is primary or secondary?&amp;nbsp; Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 11:54:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384338#M923854</guid>
      <dc:creator>yangrish</dc:creator>
      <dc:date>2020-02-21T11:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary IP Addresses and SNMP</title>
      <link>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384339#M923855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the context of the "primary or secondary" you're referring to? In HSRP or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 17:52:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384339#M923855</guid>
      <dc:creator>yjdabear</dc:creator>
      <dc:date>2010-03-24T17:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary IP Addresses and SNMP</title>
      <link>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384340#M923856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I looked into the CISCO-HSRP-MIB.  Using, oid 1.3.6.1.4.1.9.9.106.1.2.1.1.11., I can get the primary IP address. Using this I can determine which IP block is primary and which is secondary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would like to be able to determine if the IP address configured on an interface is primary or secondary if HSRP is not configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CISCO-IP-IF-MIB seems to be able to do it, however, I see no support for it on the ASRs.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 18:34:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384340#M923856</guid>
      <dc:creator>yangrish</dc:creator>
      <dc:date>2010-03-24T18:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary IP Addresses and SNMP</title>
      <link>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384341#M923857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is ciiIPAddressCategoryCap the OID you're referring to when you say "CISCO-IP-IF-MIB seems to be able to do it"? That answer notwithstanding, here's a little thinking-out-loud:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know to what extent you want to rely on SNMP. I think you could simply use SNMP or some other means to pull off the entire IOS config, and parse it with Perl/sed/whatever on your local box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, since you can already "determine which IP block is primary and which is secondary" with CISCO-HSRP-MIB, you could also poll "ipAdEntAddr / 1.3.6.1.2.1.4.20.1.1". By piecing those two together, maybe it could get you what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, if you know what you're looking for can be found with some combo of IOS "show" commands, I suggest posting in the other Network Management forum: &lt;A href="https://community.cisco.com/community/netpro/network-infrastructure/network-management"&gt;https://supportforums.cisco.com/community/netpro/network-infrastructure/network-management&lt;/A&gt;, for a possible EEM-based solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 16:13:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384341#M923857</guid>
      <dc:creator>yjdabear</dc:creator>
      <dc:date>2010-03-25T16:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary IP Addresses and SNMP</title>
      <link>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384342#M923858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding, yjdabear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will probably get the running config and work that way.  Many thanks for the idea!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 00:30:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/secondary-ip-addresses-and-snmp/m-p/1384342#M923858</guid>
      <dc:creator>yangrish</dc:creator>
      <dc:date>2010-03-26T00:30:22Z</dc:date>
    </item>
  </channel>
</rss>

