hwVlanIfDhcpsLeaseMode
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.2.1.16
Object
column r/w
Enumeration
Indicates that the lease mode. Options: 1. delete(0) -Set zero to delete the current lease configuration. 2. limited(1) -The lease mode is limited. 3. unlimited(2) -The lease mode is unlimited. Default: limited(1) If you want to set limited mode, you have to set leaseDay, leaseHour and leaseMin simultaneously.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.2.1.16- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanInterfaceEntry
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::hwVlanIfDhcpsLeaseMode'
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::hwVlanIfDhcpsLeaseMode.<hwVlanInterfaceID>'
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::hwVlanIfDhcpsLeaseMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | delete |
1 | limited |
2 | unlimited |