optixEthPWEncapsulateVlanId
OPTIX-PW-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.6.1.2.1.19
Object
column r/w
Unsigned32
When ETH services are carried through Ethernet tagged PWs, service VLAN must be added before the service payloads. This object is used to specify the VLAN ID.Valid values: 1-4095. 0xffff: The VLAN ID is not specified.
Context
- MIB
- OPTIX-PW-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.6.1.2.1.19- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixStaticUcEthPWEntry
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 'OPTIX-PW-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PW-MIB::optixEthPWEncapsulateVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PW-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PW-MIB::optixEthPWEncapsulateVlanId.<optixEthPWIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PW-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PW-MIB::optixEthPWEncapsulateVlanId'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-4094
range: 65535-65535