Hot answers tagged

9 votes

net-snmp Creating my own MIB: No Such Instance currently exists at this OID

I think your issue is coming from a simple misconception of how SNMP data (OIDs) is structured, and how snmpwalk, snmpget, and snmpgetnext interact with it. SNMP organizes the OIDs into related ...
Jordan Head's user avatar
  • 7,044
9 votes
Accepted

What exact does MIB represent in SNMP? How is it different from OID?

The MIB is the entire catalog of OIDs (for a particular device). An OID is a specific reference to an individual item within the MIB. An analogy: The MIB is like the phone book for my city. The OID ...
Eddie's user avatar
  • 14.9k
6 votes
Accepted

Juniper EX4200 How to read SNMP traffic counters for specific VLAN id from trunk interface?

Sadly the EX4200 (or any EX) is not able to do this. You would need a separate logical unit for the VLAN which has its own VLAN counters. This works for example on Junipers MX routers but not on EX. ...
Sebastian Wiesinger's user avatar
6 votes
Accepted

Is there a test/example/dummy SNMP trap OID?

As jonathanjo said in his answer and the comments afterwards, there are no special test traps for testing connectivity. Often, one of the RFC-defined traps (like linkup, linkdown or warmstart) is used....
Teun Vink's user avatar
  • 17k
6 votes
Accepted

SNMP object not in the MIB

is it possible to add support for an OID that is not there by default? Unfortunately, adding support for these OIDs would require each of your vendors (Brocade and Dell) to implement them in their ...
Benjamin Dale's user avatar
6 votes
Accepted

Why can't get host's mac address on l2 switch through snmp? But can get it on l3 router

A layer-2 switch does not look at the layer-3 IP address on a packet to switch the layer-2 frames, and it only uses the MAC addresses on the frames for switching. The layer-3 interface on the switch ...
Ron Maupin's user avatar
  • 98.7k
5 votes
Accepted

LAN side 1Gb link showing WAN 4Mbps throughput in SNMP

So why isn't the bandwidth capture reflect at port1 on the LAN side showing more then 4Mbps ? Because your traffic is mostly TCP, and TCP will slow down as the ISP drops traffic (due to the cap). So ...
Ron Trunk's user avatar
  • 67.1k
5 votes

Decreasing SNMP update timer on IOS-XR (CISCO ASR)

For short interval polling it would be better to use streaming telemetry. The router will send a continuous stream for metrics of your choice, which is not as intensive for your monitoring system and ...
Robert's user avatar
  • 181
5 votes
Accepted

Unable to see packet drops on tunnels

The bandwidth command is simply a label for things like routing protocols and QoS. It does not change the bandwidth on the interface. If you want it to drop packets above 10 Mbps, you can create a ...
Ron Maupin's user avatar
  • 98.7k
5 votes

IfInDiscards and IfOutDiscards counters

As RFC2863 / IF-MIB describes: The number of inbound/outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer ...
M. Rostami's user avatar
5 votes
Accepted

what are the difficulties of configuring switches through SNMP?

Questions that generate mostly opinion-based answers are off limits here, so we can’t really talk about why someone should or shouldn’t do something like this. As far as purely technical points go, if ...
Jesse P.'s user avatar
  • 4,690
4 votes
Accepted

IPMI and SNMP - Concept like location and functionality

If you read your IPMI article carefully, you will see that IPMI is primarily used for PCs and servers, and it is a specification for out-of-band management of a system. IPMI also requires specialized ...
Ron Maupin's user avatar
  • 98.7k
4 votes

SNMP Monitoring Juniper EX8216 switches for Rx/Tx power, temperature and bias current

Unfortunately the DOM MIB does not seem to be supported on any of the EX 22/32/42/82xx switches. I've been bitten by this in the past. The values are present on the device eg: show interfaces ...
Benjamin Dale's user avatar
4 votes

Converting IPv6 to Dotted Decimal Notation

Take a look at https://pypi.python.org/pypi/IPy/. It allows you to automatically parse the (many formats of the) IPv6 address and return various formats you can use to format.
Tux's user avatar
  • 49
4 votes
Accepted

How to recognize port type of cisco switch via SNMP?

You can get this information from the ifMauType which returns a value from this list This is defined in the MAU-MIB from RFC4836
Jeremy Gibbons's user avatar
4 votes

Is there a test/example/dummy SNMP trap OID?

I believe it's customary to set up a loopback interface and then shutdown and no shutdown it. At least some devices support a specific command to send a trap to test things, but I don't believe ...
jonathanjo's user avatar
  • 16.2k
4 votes

Network Bandwidth Utilization with SNMP

RFC2863 defines IF-MIB and has a clear explanation on what ifInOctets and ifSpeed (paragraph 3.1.7) is: ifInOctets OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS ...
Teun Vink's user avatar
  • 17k
4 votes
Accepted

How can I monitor BFD flaps?

A trap should be the right approach to 'instantly' notify Zabbix of the problem. Polling is fine for statistics and overall monitoring but problems should be 'trapped'. You'll need to set up Zabbix's ...
Zac67's user avatar
  • 82.6k
3 votes
Accepted

Does snmp have a standard MIB for crc errors or is it HW dependent?

It exists in the EtherLike-MIB (dot3statsFCSErrors), but just because a MIB exists doesn't mean a vendor supports it. Most vendors have a custom MIB that supports CRC/FCS errors and it shouldn't be ...
Theo's user avatar
  • 319
3 votes

SNMP configuration on a Cisco switch

Cisco has all sorts of guides to configuring SNMP. For instance: Configuring SNMP. It is possible that some switches or IOS versions will vary. There are also some decision to be made, such as SNMP ...
Ron Maupin's user avatar
  • 98.7k
3 votes
Accepted

What physical port does a SNMP trap/inform go out on?

Just like any host, if the server is on the same network as the switch management interface, it gets switched to the correct port based on the MAC address of the destination, otherwise it gets sent to ...
Ron Maupin's user avatar
  • 98.7k
3 votes
Accepted

How to receive snmp v3 traps without specific enginedID?

You cannot be authenticated as user for receiving traps if you don't specify the engineID. See http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications
Jaap Keuter's user avatar
3 votes
Accepted

Cisco MIB Locator

The feature you are looking for is on the same page you already have provided. On the bottom of the page there is a large box with the title Search for MIB. You can select your MIB in question there ...
Daniel's user avatar
  • 1,059
3 votes
Accepted

return physical port speed of Cisco switch over SNMP

So I've just tried this on an older 3750 (12.2(52)SE) and here's what I get - given the following configuration: interface FastEthernet1/0/1 switchport trunk encapsulation dot1q switchport trunk ...
Benjamin Dale's user avatar
3 votes

SNMP protocol MIBs & OIDs

A device (or its SNMP Agent to be precise) can contain whatever objects it likes. Since many (networked) devices often share common objects (for instance related to the Ethernet interface) they make ...
Jaap Keuter's user avatar
3 votes
Accepted

SNMP OID to detect network equipment vendor

No, there's not a single OID tree to describe the equipment. There is a vendor-specific tree, and each vendor implements their own MIB tree under that. Whether or not any particular vendor bothers (...
marctxk's user avatar
  • 1,181
3 votes
Accepted

Search for IP addresses in SNMP data field using Wireshark

Honestly, this solution isn't ideal because the tool you're using isn't ideal. I get that this is something you're just exploring and trying to understand, I would simply advise against using it as a ...
Jordan Head's user avatar
  • 7,044

Only top scored, non community-wiki answers of a minimum length are eligible