hwGponDeviceOntPortVlanCVlan
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.2.147.1.3
Object
column SNMPv2-SMIInteger32
This object indicates the port customer vlan distributed configured on GPON ONT. When the vlan mode is transparent, the custom vlan should be 65534 (0xfffe). When the vlan type is q-in-q and user vlan attribute is untagged, custom vlan should be 0xfffd(65533).
Context
- MIB
- HUAWEI-XPON-MIB
- OID
.1.3.6.1.4.1.2011.6.128.1.1.2.147.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwGponDeviceOntPortVlanEntry
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 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwGponDeviceOntPortVlanCVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwGponDeviceOntPortVlanCVlan.<ifIndex>.<hwGponDeviceOntIndex>.<hwGponDeviceOntPortVlanPhyType>.<hwGponDeviceOntPortVlanPhyIndex>.<hwGponDeviceOntPortVlanCVlan>.<hwGponDeviceOntPortVlanCPri>.<hwGponDeviceOntPortVlanEtherType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-MIB::hwGponDeviceOntPortVlanCVlan'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647