hwDhcpGatewayGroupGatewayType
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.45.1.1
Object
column Enumeration
Indicates the type of the gateway.
Options:
1. master(1) -indicates the gateway is a master gateway
2. slave(2) -indicates the gateway is a slave gateway
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.45.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwDhcpGatewayGroupGatewayEntry
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::hwDhcpGatewayGroupGatewayType'
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::hwDhcpGatewayGroupGatewayType.<hwDhcpGatewayGroupName>.<hwDhcpGatewayGroupGatewayType>.<hwDhcpGatewayGroupGatewayAddressInetType>.<hwDhcpGatewayGroupGatewayAddress>'
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::hwDhcpGatewayGroupGatewayType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | master |
2 | slave |