cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
184
Views
1
Helpful
5
Replies

I am not able to monitor Cisco 9200L VLAN status via SNMP

coppolino97
Level 1
Level 1

Hello guys,
I am using different Cisco C9200L network switch (for example C9200L-24P-4X) and they are running 17.09.04a firmware.
Corporate Cisco switches are monitored, using SNMP v2 community, by a third party montoring system.
I did not apply any kind of SNMP limitation, moreover the community has got write access too.

I need to monitor VLAN status of Cisco C9200L devices using SNMP.
I found different web pages that talks about CISCO-VLAN-MEMBERSHIP-MIB (I am using this MIB in my NMS) and I understood Cisco VLAN Status OID is .1.3.6.1.4.1.9.9.68.1.1.7.1.3 (NMS vedor provided me this information).
Unexpectedly, Cisco 9200L switches do not provide information about VLAN status by polling via OID .1.3.6.1.4.1.9.68.1.7.1.3.
Cisco 9200L switches provide VLAN status using OID .1.3.6.1.4.1.9.68.1.2.1.3

In short:

  • .1.3.6.1.4.1.9.68.1.7.1.3 --> I am not able to poll VLAN status
  • .1.3.6.1.4.1.9.68.1.2.1.3 --> I am able to poll VLAN status

Is this correct behaviour?
Is it correct that the 9200L switch does not respond to requests with OID .1.3.6.1.4.1.9.68.1.7.1.3?

https://mibs.observium.org/mib/CISCO-VLAN-MEMBERSHIP-MIB/

Thanks in advance!
Federico

 

1 Accepted Solution

Accepted Solutions

 

 - @coppolino97 wrote : Is it correct that it does not use OID .1.3.6.1.4.1.9.68.1.7.1.3 to poll VLAN Status?
                                      Actually it does not matter , just use the OID that works, this can be due to different mib implemenation on the device , software version being used , or hardware layout.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

View solution in original post

5 Replies 5

marce1000
VIP
VIP

 

 - snmp oid's can sometimes differ from the intended value , according to the device model and software version being used ; just use the one that works for your purpose on that device , 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

balaji.bandi
Hall of Fame
Hall of Fame

What is NMS software? You can use a third-party vendor to do SNMPWALK against that OID and check the results. There is a standard OID that is documented correctly.

Again, what are you trying to get: VLAN information or VLAN SVI Interface information?

You can also check Cisco official MIB :

https://cfnng.cisco.com/mibs

Most of the vendors automatically update MIB from vendor MIB from their product of not try to get it from git and check :

https://github.com/cisco/cisco-mibs

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

coppolino97
Level 1
Level 1

Hello

@marce1000thanks for your hint!

@balaji.bandi 
NMS is Network Management System (Zabbix, Nagios, OpManager...).
I used our network monitoring software to perform SNMPWALK (this software include a built-in snmpwalk tool).
I used "snmpwalk" package installed on a Debian machine too.
The result is always the same I got VLAN status using .1.3.6.1.4.1.9.9.68.1.2.2.1.3 instead of .1.3.6.1.4.1.9.68.1.7.1.3

@balaji.bandi 
I am trying to getting VLAN information. I need to poll VLAN Status using SNMP v2c
Based on my understading OID .1.3.6.1.4.1.9.9.68.1.2.2.1.3 provides VLAN SVI Interface, doesn't it?

My question is as follows:
Does the Cisco 9200L use a different OID to obtain VLAN Status?
Is it correct that it does not use OID .1.3.6.1.4.1.9.68.1.7.1.3 to poll VLAN Status?
Has anyone faced the same problem?
OIDs are present in the MIB, but I get no response if I poll switches using MIB .1.3.6.1.4.1.9.68.1.7.1.3

Thanks for your help

 

 - @coppolino97 wrote : Is it correct that it does not use OID .1.3.6.1.4.1.9.68.1.7.1.3 to poll VLAN Status?
                                      Actually it does not matter , just use the OID that works, this can be due to different mib implemenation on the device , software version being used , or hardware layout.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
Review Cisco Networking for a $25 gift card