12-07-2024 11:48 AM
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:
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
Solved! Go to Solution.
12-08-2024 04:56 AM
- @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.
12-07-2024 10:45 PM
- 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.
12-07-2024 11:47 PM
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 :
Most of the vendors automatically update MIB from vendor MIB from their product of not try to get it from git and check :
12-08-2024 03:49 AM
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
12-08-2024 04:56 AM
- @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.
12-17-2024 02:52 AM
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide