diffServActivateRule
NTNTECH-MTM-MIB ·
.0.3.1.2.1.2
Object
column r/w
Enumeration
Activate or deactivate the rule that is represented by the remaining attributes of this table.
Context
- MIB
- NTNTECH-MTM-MIB
- OID
.0.3.1.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- diffServEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'NTNTECH-MTM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTNTECH-MTM-MIB::diffServActivateRule'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NTNTECH-MTM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTNTECH-MTM-MIB::diffServActivateRule.<ifCfgSlotIndex>.<ifCfgPortIndex>.<diffServIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTNTECH-MTM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTNTECH-MTM-MIB::diffServActivateRule'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | inactive |