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
Net-SNMP examples
How SNMP and these commands workScalars 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
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |