zhnPwVlanID
ZHNPWMIB ·
.1.3.6.1.4.1.5504.2.5.31.1.1.1.2
Object
column r/w
The VLAN ID which this PW is mapped to. If the value is zero, the VLAN is untagged.
Context
- MIB
- ZHNPWMIB
- OID
.1.3.6.1.4.1.5504.2.5.31.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zhnPwEntry
- Groups
- 1
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 'ZHNPWMIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNPWMIB::zhnPwVlanID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHNPWMIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNPWMIB::zhnPwVlanID.<zhnPwIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNPWMIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNPWMIB::zhnPwVlanID'
Syntax
No syntax metadata recorded.
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of