hwDhcpServerSelectModeByVlan
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.30.1.1
Object
column r/w
Enumeration
Indicates the DHCP server selection mode of the VLAN interface. Options: 1. standard(1) -indicates the standard mode 2. option60(2) -indicates the domain mode 3. macRange(3) -indicates the MAC-range mode Default: standard(1)
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.30.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpServerSelectModeByVlanEntry
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-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpServerSelectModeByVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpServerSelectModeByVlan.<hwVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpServerSelectModeByVlan'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | standard |
2 | option60 |
3 | macRange |