This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Displaying the correct IP address for an interface in HSRP configuration

We have a few routers with HSRP configurations and we recently noticed that their IP address shows as Unknown in the interface details table on the page for interface. When looking at the polling details and the OID from snmpwalk, we see that there are 2 IPs with the same integer (see below). I've opened a ticket with support and they've told me that I need to "change the IP address to interface mapping which can be done on your network so that the Orion can detect it correctly." I'm not sure where this setting is in Solarwinds or on the routers, and I was hoping that someone on here may know. Or, if you've encountered this issue before, and you know how to address it, please share the solution. 

.1.3.6.1.2.1.4.20.1.2.192.168.1.1 = INTEGER: 1
.1.3.6.1.2.1.4.20.1.2.192.168.1.2 = INTEGER: 1

Parents
  • What gets returned on the device for

    show ip int br | include Te0/0/0

  • Te0/0/0                192.168.1.2     YES NVRAM  up                    up 

  • What data do you get back if you query the API for that interface's information?

    SELECT [Interfaces].Caption AS [Interface]
         , [Interfaces].MAC
         , [Interfaces].PhysicalAddress
         , [Interfaces].IPAddress.IPAddress AS [InterfaceIP]
         , [Interfaces].Node.IPAddress AS [NodePollingIP]
         , [Interfaces].Node.Caption AS [Node]
    FROM Orion.NPM.Interfaces AS [Interfaces]
    WHERE [Interfaces].TypeDescription = 'Ethernet'
         AND [Interfaces].MAC LIKE '%07E4' -- '%4D00' in your example
         AND [Interfaces].IPAddress.IPAddress IS NOT NULL
    

    This is what I get back for one of my systems:  (I don't have HSRP capabilities in my lab, so I can't do an exact replica of your environment)

    If you don't have SWQL Studio installed on your computer to query this information, you can still run the above query by going to http[s]://myOrionServer.domain.local/Orion/admin/swis.aspx and pasting in the query.

  • The only way to get any data returned was to remove the NULL statement from the bottom. The poling IP comes back but the interface IP is showing up as NULL. 

    SELECT [Interfaces].Caption AS [Interface]
         , [Interfaces].MAC
         , [Interfaces].PhysicalAddress
         , [Interfaces].IPAddress.IPAddress AS [InterfaceIP]
         , [Interfaces].Node.IPAddress AS [NodePollingIP]
         , [Interfaces].Node.Caption AS [Node]
    FROM Orion.NPM.Interfaces AS [Interfaces]
    WHERE [Interfaces].TypeDescription = 'Ethernet'
         AND [Interfaces].MAC LIKE '%4D00' -- '%4D00' in your example

  • Huh - the fact that the interface IP isn't coming back feels a little "off" to me.  Did you see if there was a process outlined on the Customer Success Center?

  • I looked there. I wasn't able to find any posts addressing monitoring HSRP interfaces however. 

  • My gut says bug, but I might be off.  (Are you on the latest versions?) You said you had a support case for this?  If not, open one (or re-open your existing) and give me the case number in this thread.

  • Pretty sure we're on the latest versions, 2020.2.6. 01014982 is the case number. Thanks for the help!

  • In the case, make a reference to this current thread so Support can see the previous work we've done in attempting to troubleshoot it.

    In the event that they give you a simple answer, post back to this thread so we can close the loop.

  • I referenced this thread in the case. They unfortunately didn't have an answer for me other than to "change the interface index" on the HSRP config for the router. As far as I know, that isn't a available setting in the interface configuration on the router. Let me know if there is something else to look at, or if there's a setting somewhere I may be able to tweak. I appreciate the help. 

  • Do you have snmp if index persist configured on the switch?

    (P.S. Forgive if I have the syntax wrong above, I'm a little out of practice with Cisco devices and don't have any in my home lab)

    If not, can you provide the output of show run | i snmp (redacting any sensitive info)?

Reply
  • Do you have snmp if index persist configured on the switch?

    (P.S. Forgive if I have the syntax wrong above, I'm a little out of practice with Cisco devices and don't have any in my home lab)

    If not, can you provide the output of show run | i snmp (redacting any sensitive info)?

Children
  • Output is below and FYI, it's a router, not a switch. Not sure if that matters but I'd thought I'd specify just in case. The ifindex is there at the bottom. 

    ROUTER#show run | i snmp
    snmp-server group XXXXX v3 auth read XXXXX
    snmp-server view XXXXX iso included
    snmp-server trap-source INTERFACE
    snmp-server source-interface informs INTERFACE
    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
    snmp-server enable traps vrrp
    snmp-server enable traps pfr
    snmp-server enable traps flowmon
    snmp-server enable traps ds1
    snmp-server enable traps ds3
    snmp-server enable traps call-home message-send-fail server-fail
    snmp-server enable traps tty
    snmp-server enable traps eigrp
    snmp-server enable traps ospf state-change
    snmp-server enable traps ospf errors
    snmp-server enable traps ospf retransmit
    snmp-server enable traps ospf lsa
    snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
    snmp-server enable traps ospf cisco-specific state-change shamlink interface
    snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
    snmp-server enable traps ospf cisco-specific errors
    snmp-server enable traps ospf cisco-specific retransmit
    snmp-server enable traps ospf cisco-specific lsa
    snmp-server enable traps casa
    snmp-server enable traps license
    snmp-server enable traps aaa_server
    snmp-server enable traps atm subif
    snmp-server enable traps bfd
    snmp-server enable traps bgp
    snmp-server enable traps bgp cbgp2
    snmp-server enable traps memory bufferpeak
    snmp-server enable traps config-copy
    snmp-server enable traps config
    snmp-server enable traps config-ctid
    snmp-server enable traps dhcp
    snmp-server enable traps dial
    snmp-server enable traps dlsw
    snmp-server enable traps dsp card-status
    snmp-server enable traps dsp oper-state
    snmp-server enable traps dsp video-usage
    snmp-server enable traps dsp video-out-of-resource
    snmp-server enable traps fru-ctrl
    snmp-server enable traps entity
    snmp-server enable traps event-manager
    snmp-server enable traps frame-relay multilink bundle-mismatch
    snmp-server enable traps frame-relay
    snmp-server enable traps frame-relay subif
    snmp-server enable traps hsrp
    snmp-server enable traps ipmulticast
    snmp-server enable traps msdp
    snmp-server enable traps mvpn
    snmp-server enable traps ospfv3 state-change
    snmp-server enable traps ospfv3 errors
    snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
    snmp-server enable traps pppoe
    snmp-server enable traps cpu threshold
    snmp-server enable traps pw vc
    snmp-server enable traps rsvp
    snmp-server enable traps ipsla
    snmp-server enable traps syslog
    snmp-server enable traps l2tun session
    snmp-server enable traps l2tun pseudowire status
    snmp-server enable traps adslline
    snmp-server enable traps vdsl2line
    snmp-server enable traps ethernet evc status create delete
    snmp-server enable traps ether-oam
    snmp-server enable traps ethernet cfm cc mep-up mep-down cross-connect loop config
    snmp-server enable traps ethernet cfm crosscheck mep-missing mep-unknown service-up
    snmp-server enable traps entity-qfp mem-res-thresh
    snmp-server enable traps entity-state
    snmp-server enable traps flash insertion
    snmp-server enable traps flash removal
    snmp-server enable traps firewall serverstatus
    snmp-server enable traps netsync
    snmp-server enable traps sbc adj-status
    snmp-server enable traps sbc blacklist
    snmp-server enable traps sbc congestion-alarm
    snmp-server enable traps sbc h248-ctrlr-status
    snmp-server enable traps sbc media-source
    snmp-server enable traps sbc radius-conn-status
    snmp-server enable traps sbc sla-violation
    snmp-server enable traps sbc sla-violation-rev1
    snmp-server enable traps sbc svc-state
    snmp-server enable traps sbc qos-statistics
    snmp-server enable traps srp
    snmp-server enable traps isdn call-information
    snmp-server enable traps isdn layer2
    snmp-server enable traps isdn chan-not-avail
    snmp-server enable traps isdn ietf
    snmp-server enable traps cnpd
    snmp ifmib ifindex persist ! <-- This one here

  • OK - I'm at a loss on this one.  Looks to my (admittedly untrained regarding all the support articles) eye that this should be working.  Let's me see if I can't get some other eyes on this.