hwOntDhcpSimulateUserVlanTagNumber
HUAWEI-IPDSLAM-SIMULATION-MIB ·
.1.3.6.1.4.1.2011.5.113.2.1.1.4
Object
Indicates the number of VLAN tags when user packets are sent to the ONT. Range: 0-2. 0 - untag. 1 - simgle tag. 2 - double tag.
Context
- MIB
- HUAWEI-IPDSLAM-SIMULATION-MIB
- OID
.1.3.6.1.4.1.2011.5.113.2.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwOntDhcpSimulateCfgEntry
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-IPDSLAM-SIMULATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-SIMULATION-MIB::hwOntDhcpSimulateUserVlanTagNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-SIMULATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-SIMULATION-MIB::hwOntDhcpSimulateUserVlanTagNumber.<hwOntDhcpSimulatePortindex>.<hwOntDhcpSimulateOntId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-SIMULATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-SIMULATION-MIB::hwOntDhcpSimulateUserVlanTagNumber'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295