hwXponOntPortVlanDiscardMode

HUAWEI-XPON-COMMON-MIB · .1.3.6.1.4.1.2011.6.145.1.1.1.36.1.3

Object

column r/w Enumeration
This object is used to configure vlan config mode of ont port.
The configuration takes effect only when the ONT is in mode1 (interoperability mode).
Options:
1. untagged(1)     - Indicates that the vlan discard mode is untagged
2. tagged(2)       - Indicates that the vlan discard mode is tagged
3. none(3)         - Indicates that the vlan discard mode is none
4. unconcern(7)    - Indicates that the vlan discard mode is unconcern
5. invalid(-1)     - Indicates that the query fails or no information is detected
The default value is unconcern(7)

Context

MIB
HUAWEI-XPON-COMMON-MIB
OID
.1.3.6.1.4.1.2011.6.145.1.1.1.36.1.3
Type
column
Access
readwrite
Status
current
Parent
hwXponOntPortVlanDiscardEntry

Walk 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 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwXponOntPortVlanDiscardMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwXponOntPortVlanDiscardMode.<ifIndex>.<hwXponOntIndex>.<hwXponOntPortVlanDiscardPhyType>.<hwXponOntPortVlanDiscardPhyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-COMMON-MIB::hwXponOntPortVlanDiscardMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalid
1untagged
2tagged
3none
7unconcern