hwMethNativeVlan
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.65010
Object
scalar r/w
Integer32
Indicates the MEth native VLAN. Range: -1, 2-4093 In the set case, -1 indicates delete the MEth native VLAN, 2-4093 indicates set the MEth native VLAN. In the get case, when the MEth native VLAN is not set, -1 is returned, otherwise the MEth native VLAN is returned. Default: -1
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.65010- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwVlanMngObject
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwMethNativeVlan.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwMethNativeVlan'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1--1
range: 2-4093