pwEnetPortVlan
PW-ENET-STD-MIB ·
.1.3.6.1.2.1.180.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
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 (pwEnetVlanMode equals 'addVlan').
This object MUST be equal to pwEnetPwVlan if pwEnetVlanMode
equals 'noChange'.
The value 0 indicates that packets without a 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
- PW-ENET-STD-MIB
- OID
.1.3.6.1.2.1.180.1.1.1.4- 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::pwEnetPortVlan'
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::pwEnetPortVlan.<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::pwEnetPortVlan'
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.