snmp port status X670-48x
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-31-2019 08:54 AM
how can I read the status of the ports via SNMP. oid .1.3.6.1.4.1.1916.1.4.2.1.3 not working.
snmpwalk -v 2c -c a7V2Y9W 10.147.220.250 .1.3.6.1.4.1.1916.1.4.2.1.3
SNMPv2-SMI::enterprises.1916.1.4.2.1.3 = No Such Object available on this agent at this OID
ExtremeXOS version 16.2.4.5 by release-manager
snmpwalk -v 2c -c a7V2Y9W 10.147.220.250 .1.3.6.1.4.1.1916.1.4.2.1.3
SNMPv2-SMI::enterprises.1916.1.4.2.1.3 = No Such Object available on this agent at this OID
ExtremeXOS version 16.2.4.5 by release-manager
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-01-2019 02:52 PM
It is surprising on how much polling even the lower performance models like the 430 can take before it impacts anything. We have Cacti pulling port stats for bandwidth. errors. temp. Solarwinds for sflow. SNMPC for traps and switch to switch links. Extreme NMS for configs and management . All grabbing stuff every 5 minutes on about 12K interfaces 3k or so devices. Everything is still happy and doing it's job LOL.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-01-2019 10:03 AM
Well, there's the concept of snmptable which allows you to get all the data, make easy correlation between the fields, and finally extract what you need.
Of course, polling the entire table each time is quite heavy on the SNMP engine, so snmpget'ing specific values might be better. It all depends on the implementation (caching etc.) Each time you are confronted with these tasks it feels like a dark art ?
code:
# snmptable switch IF-MIB::ifTable
SNMP table: IF-MIB::ifTable
ifIndex ifDescr ifType ifMtu ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifInOctets ifInUcastPkts ifInNUcastPkts ifInDiscards ifInErrors ifInUnknownProtos ifOutOctets ifOutUcastPkts ifOutNUcastPkts ifOutDiscards ifOutErrors ifOutQLen ifSpecific
1001 X690-48x-2q-4c Port 1 ethernetCsmacd 1500 0 0:4:96:af:51:2 down down 0:0:00:24.00 0 0 0 0 0 0 0 0 0 0 0 0 SNMPv2-SMI::internet
...
Of course, polling the entire table each time is quite heavy on the SNMP engine, so snmpget'ing specific values might be better. It all depends on the implementation (caching etc.) Each time you are confronted with these tasks it feels like a dark art ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-31-2019 02:42 PM
We use snpmc and use that to get link status on all trunk links between switches.. This gives our NOC more intel about the link other than just a port showing down. Here is how we have it set in our polling server. I don't know what you are doing your mib walks and polling with but the trick is to get the right interface id (1001) for port 1 and so on ... and set normal status to up to get a trap with link specific data you have labeled in the link object. We always Poll closest switch to core. Not sure what other attributes you may be trying to get from the port.
Still can't poll light levels via a mib form any of the optical links or ports like many other vendors can. Would be great to be able to graph those levels for desegregation.
Still can't poll light levels via a mib form any of the optical links or ports like many other vendors can. Would be great to be able to graph those levels for desegregation.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-31-2019 09:00 AM
Why not simply use IF-MIB::ifOperStatus:
.1.3.6.1.2.1.2.2.1.8.1001 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1002 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1003 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1004 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1001 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1002 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1003 = INTEGER: down(2)
.1.3.6.1.2.1.2.2.1.8.1004 = INTEGER: down(2)
