zxPwEnetPortVlan
ZXPW-ENET-STD-MIB ·
.1.3.6.1.4.1.3902.1015.1013.23.1.1.1.4
Object
This object defines if the mapping between the original port
(physical port or VPLS virtual port) to the PW is VLAN based
or not. In case of VLAN mapping, this object indicates the
the VLAN value on the original port.
The value of '4095' MUST be used if the whole original port
traffic is mapped to the same PW. Note that a pwType of
'ethernetTagged' can still be used if service delimiting tag
is added on the PW (zxPwEnetVlanMode equals 'addVlan').
This object MUST be equal to zxPwEnetPwVlan if zxPwEnetVlanMode
equals 'noChange'.
The value 0 indicates packets without VLAN field
(i.e. untagged frames) on the port are associated to this
PW. This allows the same behavior as assigning 'Default
VLAN' to untagged frames.
Context
- MIB
- ZXPW-ENET-STD-MIB
- OID
.1.3.6.1.4.1.3902.1015.1013.23.1.1.1.4- 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::zxPwEnetPortVlan'
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::zxPwEnetPortVlan.<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::zxPwEnetPortVlan'
Syntax
- Source
- VlanIdOrAnyOrNone
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095