netMgmtEnableLinkTraps
STAND-ALONE-ETHERNET-SWITCH-MIB ·
.1.3.6.1.4.1.437.1.1.3.4.5
Object
scalar mandatory
r/w
Enumeration
Indicates whether the switch is permitted to generate linkUp/linkDown traps. The value of this object overrides any configuration information; as such, it provides a means whereby all linkUp/linkDown traps may be disabled. The default value is enabled(1).
Context
- MIB
- STAND-ALONE-ETHERNET-SWITCH-MIB
- OID
.1.3.6.1.4.1.437.1.1.3.4.5- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- netMgmt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::netMgmtEnableLinkTraps.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::netMgmtEnableLinkTraps'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |