hwSrSetTrap

HUAWEI-SR-TRAP-MIB · .1.3.6.1.4.1.2011.5.25.353.1.1

Object

scalar r/w OctetString
A 4-octet string serving as a bit map for
the trap events defined by the HUAWEI SR traps.  This
object is used to enable and disable specific
SR traps where a 1 in the bit field
represents enabled.  The right-most bit (least
significant) represents trap 0.
          
This object is persistent and when written
the entity SHOULD save the change to non-volatile
storage.

Context

MIB
HUAWEI-SR-TRAP-MIB
OID
.1.3.6.1.4.1.2011.5.25.353.1.1
Type
scalar
Access
readwrite
Status
current
Parent
hwSrTrapControl
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SR-TRAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SR-TRAP-MIB::hwSrSetTrap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SR-TRAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SR-TRAP-MIB::hwSrSetTrap'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 4-4

Conformance