hwDhcpDomainGatewayPolicy
HUAWEI-DHCP-PROXY-MIB ·
.1.3.6.1.4.1.2011.5.18.1.8.1.7
Object
column r/w
Enumeration
Indicates the gateway policy in the DHCP domain. In the set operation, if is set to 255, it indicates that undo the gateway policy in the DHCP domain. In the query operation, if it is not set, the value obtained is 255. Options: 1. traceLocationMaster(1) - Indicates that trace the master gateway by location 2. traceLocationSlave(2) - Indicates that trace the slave gateway by location 3. traceRidMaster(3) - Indicates that trace the master gateway by RID 4. traceRidSlave(4) - Indicates that trace the slave gateway by RID 5. primary(5) - Indicates the primary IP address of the VLAN interface 6. secondary(6) - Indicates the secondary IP address of the VLAN interface 7. default(255) - Indicates the default value of the node Default: default(255)
Context
- MIB
- HUAWEI-DHCP-PROXY-MIB
- OID
.1.3.6.1.4.1.2011.5.18.1.8.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpDomainGatewayEntry
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::hwDhcpDomainGatewayPolicy'
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::hwDhcpDomainGatewayPolicy.<hwDhcpDomainGatewayVlanIfIndex>.<hwDhcpDomainGatewayDmName>'
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::hwDhcpDomainGatewayPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | traceLocationMaster |
2 | traceLocationSlave |
3 | traceRidMaster |
4 | traceRidSlave |
5 | primary |
6 | secondary |
255 | default |