h3cDHCPSrvGlbPoolSecondaryDNSIP
H3C-DHCP-SERVER-MIB ·
.1.3.6.1.4.1.2011.10.2.101.2.4.1.17
Object
The Secondary DNS server IP address to be assigned to the client. To delete a configured Secondary DNS server IP, please set h3cDHCPSrvGlbPoolSecondaryDNSIP to 0. It takes effect only when h3cDHCPSrvGlobalPoolNetwork is set.
Context
- MIB
- H3C-DHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.2011.10.2.101.2.4.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cDHCPSrvGlobalPoolParaEntry
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 'H3C-DHCP-SERVER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP-SERVER-MIB::h3cDHCPSrvGlbPoolSecondaryDNSIP'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-DHCP-SERVER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP-SERVER-MIB::h3cDHCPSrvGlbPoolSecondaryDNSIP.<h3cDHCPSrvGlobalPoolName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-DHCP-SERVER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-DHCP-SERVER-MIB::h3cDHCPSrvGlbPoolSecondaryDNSIP'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4