hwL2VlanProtocolVlanNewProtocolTypeValue
HUAWEI-L2VLAN-MIB ·
.1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.4
Object
column r/w
OctetString
The value of the configured protocol type.
The relationship among hwL2VlanProtocolVlanNewProtocolType and hwL2VlanProtocolVlanNewProtocolTypeValue is as follows.
|============================================================================================|
| hwL2VlanProtocol-| | hwL2VlanProtocolVlanNewProtocolTypeValue |
| VlanProtocolType | ProtocolSubType | |
|============================================================================================|
| ipv4 | notused | Zero length string |
|============================================================================================|
| ipv6 | notused | Zero length string |
|============================================================================================|
| at | notused | Zero length string |
|============================================================================================|
| ipx | ethernetii | Zero length string |
| | llc | |
| | raw | |
| | snap | |
|============================================================================================|
| mode-ethernetii | etype | hex string like '600', which means 0x0600. |
| | | The range is [0x600..0xffff] |
|============================================================================================|
| mode-llc | etype | the sequence of different parts is as follows. |
| | | [dsap value;ssap value] |
| | | Both range is [0x00..0xff] |
| | | |
| | | For example. Suppose value of dsap and ssap are 0x09 |
| | | and 0x0a, the value is '090a' |
|============================================================================================|
| mode-snap | etype | hex string like '600', which means 0x0600. |
| | | The range is [0x600..0xffff] |
|============================================================================================|
Context
- MIB
- HUAWEI-L2VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.3.1.2.29.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwL2VlanProtocolVlanNewEntry
- 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 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2VLAN-MIB::hwL2VlanProtocolVlanNewProtocolTypeValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2VLAN-MIB::hwL2VlanProtocolVlanNewProtocolTypeValue.<hwL2VlanProtocolVlanNewVlanId>.<hwL2VlanProtocolVlanNewProtocolIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2VLAN-MIB::hwL2VlanProtocolVlanNewProtocolTypeValue'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-2
Conformance
Member of