All MIBs › CPE-DSL-MIB › cpeDnsPrimaryAddress
cpeDnsPrimaryAddress
Module: CPE-DSL-MIB
OID (symbolic): CPE-DSL-MIB::cpeDnsPrimaryAddress
OID (numeric): 1.3.6.1.4.1.16972.2.7.1
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: the primary DNS IP address
What is cpeDnsPrimaryAddress?
This read-write IpAddress object holds the primary DNS server address the CPE hands out or uses for name resolution. An admin sets it to the ISP's preferred resolver so LAN devices relying on the CPE for DNS get consistent name resolution. For example, an ISP updates cpeDnsPrimaryAddress across its CPE fleet when migrating to a new resolver cluster.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.16972.2.7.1 snmpwalk -v2c -c public <target> CPE-DSL-MIB::cpeDnsPrimaryAddress
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.16972.2.7.1.1 snmpget -v2c -c public <target> CPE-DSL-MIB::cpeDnsPrimaryAddress.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.16972.2.7.1.1 a <value>
Start monitoring Huawei xDSL CPE modem/router with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CPE-DSL-MIB::cpeDnsPrimaryAddress OID value, configure state conditions and alerts, and monitor any Huawei xDSL CPE modem/router from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.16972 | cpeDSL | CPE-DSL-MIB |
| 1.3.6.1.4.1.16972.2 | cpeConfig | CPE-DSL-MIB |
| 1.3.6.1.4.1.16972.2.7 | cpeWanDns | CPE-DSL-MIB |
| 1.3.6.1.4.1.16972.2.7.1 | cpeDnsPrimaryAddress | CPE-DSL-MIB |