zxPwEnetPwVlan
ZXPW-ENET-STD-MIB ·
.1.3.6.1.4.1.3902.1015.1013.23.1.1.1.2
Object
This Object defines the (service delimiting) VLAN field value on the PW. The value of 4095 MUST be used if the object is not applicable, for example when mapping all packets from an Ethernet port to this PW (raw mode). The value 0 MUST be set to indicate untagged frames (from the PW point of view), i.e. when zxPwEnetVlanMode equals 'noChange' and zxPwEnetPortVlan equals 0.
Context
- MIB
- ZXPW-ENET-STD-MIB
- OID
.1.3.6.1.4.1.3902.1015.1013.23.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxPwEnetEntry
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 'ZXPW-ENET-STD-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXPW-ENET-STD-MIB::zxPwEnetPwVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXPW-ENET-STD-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXPW-ENET-STD-MIB::zxPwEnetPwVlan.<zxPwIndex>.<zxPwEnetPwInstance>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXPW-ENET-STD-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXPW-ENET-STD-MIB::zxPwEnetPwVlan'
Syntax
- Source
- VlanIdOrAnyOrNone
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095