swACLPktContRuleRepDscp
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.3.3.1.12
Object
column r/w
Integer32
Specifies a value to be written to the DSCP field of an incoming packet that meets the criteria specified in the first part of the command. This value will over-write the value in the DSCP field of the packet.
Context
- MIB
- ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.12.9.3.3.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLPktContRuleEntry
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 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLPktContRuleRepDscp'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLPktContRuleRepDscp.<swACLPktContRuleProfileID>.<swACLPktContRuleAccessID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ACLMGMT-MIB::swACLPktContRuleRepDscp'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-63