hwVlanChangeEnable
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.1.1.22
Object
column r/w
Enumeration
Indicates the operation type of whether a standard port list maps a VLAN. Options: 1. idle(0) -indicates invalid mapping. 2. addPort(1) -indicates that a port is added to the VLAN. 3. removePort(2) -indicates that a port is deleted from the VLAN. This leaf must work with hwVlanPorts.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.1.1.22- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanMIBEntry
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-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVlanChangeEnable'
More examples
Read one indexed 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::hwVlanChangeEnable.<hwVlanIndex>'
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::hwVlanChangeEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | idle |
1 | addPort |
2 | removePort |