All MIBs › IF-MIB › ifLinkUpDownTrapEnable
ifLinkUpDownTrapEnable
Module: IF-MIB
OID (symbolic): IF-MIB::ifLinkUpDownTrapEnable
OID (numeric): 1.3.6.1.2.1.31.1.1.1.14
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates whether linkUp/linkDown traps should be generated for this interface.
By default, this object should have the value enabled(1) for interfaces which do not operate on 'top' of any other interface (as defined in the ifStackTable), and disabled(2) otherwise.
What is ifLinkUpDownTrapEnable?
This read-write setting controls whether the agent generates linkUp and linkDown SNMP traps for this specific interface, with values enabled(1) or disabled(2). By default it is enabled on interfaces that don't sit on top of another interface in the ifStackTable, and disabled on ones that do, so admins toggle it to cut down on redundant trap noise from stacked or logical interfaces. For example, an admin sets ifLinkUpDownTrapEnable to disabled(2) on a VLAN subinterface layered over a physical port so only the physical port's flaps generate traps.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.14 snmpwalk -v2c -c public <target> IF-MIB::ifLinkUpDownTrapEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.14.1 snmpget -v2c -c public <target> IF-MIB::ifLinkUpDownTrapEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.31.1.1.1.14.1 i <value>
Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IF-MIB::ifLinkUpDownTrapEnable OID value, configure state conditions and alerts, and monitor any SNMP-managed network devices from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.31 | ifMIB | IF-MIB |
| 1.3.6.1.2.1.31.1 | ifMIBObjects | IF-MIB |
| 1.3.6.1.2.1.31.1.1 | ifXTable | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1 | ifXEntry | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1.14 | ifLinkUpDownTrapEnable | IF-MIB |