hwVlanLocalSwitch
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.65003
Object
scalar r/w
Enumeration
Set the global Local VLAN switch. Options: 1. enable(1) -the switch is enable. 2. disable(2) -the switch is disabled. Default: disable(2)
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.65003- 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::hwVlanLocalSwitch.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::hwVlanLocalSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |