pwEnetPwVlan
PW-ENET-STD-MIB ·
.1.3.6.1.2.1.180.1.1.1.2
Object
This object defines the (service-delimiting) VLAN field value on the PW. The value 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 pwEnetVlanMode equals 'noChange' and pwEnetPortVlan equals 0.
Context
- MIB
- PW-ENET-STD-MIB
- OID
.1.3.6.1.2.1.180.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- pwEnetEntry
- 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 'PW-ENET-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PW-ENET-STD-MIB::pwEnetPwVlan'
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::pwEnetPwVlan.<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::pwEnetPwVlan'
Syntax
- Source
- Q-BRIDGE-MIBVlanIdOrAnyOrNone
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4095
Conformance
Member of
Compliance refinements
pwEnetModuleReadOnlyCompliance
readonly
Write access is not required.