optixL2LptL2netVlanID
OPTIX-L2-LPT-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.20.1.11.1.6
Object
This object indicates the Vlan id of the L2Net LPT. Value range: 1 to 4094 (valid values). This parameter can also be set to 0xFFFF (the default value), indicating that the VLAN ID of the LPT service packets is the PV ID of the egress port.
Context
- MIB
- OPTIX-L2-LPT-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.20.1.11.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixL2LptL2netEntry
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-L2-LPT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-L2-LPT-MIB::optixL2LptL2netVlanID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-L2-LPT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-L2-LPT-MIB::optixL2LptL2netVlanID.<optixL2LptL2netMyType>.<optixL2LptRootPara1>.<optixL2LptRootPara2>.<optixL2LptRootPara3>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-L2-LPT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-L2-LPT-MIB::optixL2LptL2netVlanID'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295