zyDiffservState

ZYXEL-DIFFSERV-MIB · .1.3.6.1.4.1.890.1.15.3.22.1.1

Object

Enable/Disable DiffServ on the switch. DiffServ is a class of service (CoS) 
model that marks packets so that they receive specific per-hop treatment at 
DiffServ-compliant network devices along the route based on the application types and traffic flow.

Context

MIB
ZYXEL-DIFFSERV-MIB
OID
.1.3.6.1.4.1.890.1.15.3.22.1.1
Type
scalar
Access
readwrite
Status
current
Parent
zyxelDiffservSetup

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

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

Syntax

Values & Constraints

Type Values
1enabled
2disabled