pwEnetVlanMode

PW-ENET-STD-MIB · .1.3.6.1.2.1.180.1.1.1.3

Object

column r/w Enumeration
This object indicates the mode of VLAN handling between the
port or the virtual port associated with the PW and the
PW encapsulation.
              
- 'other' indicates an operation that is not defined by
 this MIB module.
              
- 'portBased' indicates that the forwarder will forward
 packets between the port and the PW independent of their
 structure (i.e., there are no service-delimiting VLAN tags
 from the PE standpoint).
              
- 'noChange' indicates that the PW contains the original
  user VLAN, as specified in pwEnetPortVlan; i.e., the
  VLAN on the PE-CE link is the service-delimiting tag
  and is kept 'as is' on the PW.
              
- 'changeVlan' indicates that the VLAN field on the PW
 may be different than the VLAN field on the user's
              
 port.  The VLAN on the PE-CE link is the service-delimiting
 tag but has a different value on the PW.
              
- 'addVlan' indicates that a VLAN field will be added
 on the PSN-bound direction (i.e., on the PW). pwEnetPwVlan
 indicates the value that will be added.
              
- 'removeVlan' indicates that the encapsulation on the
 PW does not include the service-delimiting VLAN field.
 Note that PRI bits transparency is lost in this case.
              
- Implementation of 'portsbased', 'removeVlan', 'addVlan'
 'other', and 'changeVlan' is OPTIONAL.

Context

MIB
PW-ENET-STD-MIB
OID
.1.3.6.1.2.1.180.1.1.1.3
Type
column
Access
readwrite
Status
current
Parent
pwEnetEntry
Groups
1

Walk 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 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-ENET-STD-MIB::pwEnetVlanMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-ENET-STD-MIB::pwEnetVlanMode.<pwIndex>.<pwEnetPwInstance>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PW-ENET-STD-MIB::pwEnetVlanMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0other
1portBased
2noChange
3changeVlan
4addVlan
5removeVlan

Conformance

Member of
Compliance refinements
An implementation MUST support at least the value
noChange(2).
Write access is not required. An implementation
MUST support at least the value noChange(2).