zyPolicyDiffServAction
ZYXEL-ACL-MIB ·
.1.3.6.1.4.1.890.1.15.3.10.2.1.1.13
Object
column Enumeration
There are four DiffServ actions for policy rule. 'No change' is keeping the TOS and/or DSCP fields in the packets. 'Set the packet's TOS field' is set the TOS field with the value you configure in the TOS field. 'Replace the IP TOS with the 802.1 priority value' is replace the TOS field with the value you configure in the Priority field. 'Set the Diffserv Codepoint field in the frame' to set the DSCP field with the value you configure in the DSCP field.
Context
- MIB
- ZYXEL-ACL-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.10.2.1.1.13- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zyxelPolicyEntry
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 'ZYXEL-ACL-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-ACL-MIB::zyPolicyDiffServAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-ACL-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-ACL-MIB::zyPolicyDiffServAction.<zyPolicyName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-ACL-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-ACL-MIB::zyPolicyDiffServAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noChange |
2 | setThePacketsTosField |
3 | replaceTheIpTosFieldWithThe802dot1PriorityValue |
4 | setTheDiffservCodepointFieldInTheFrame |