All MIBs › CROUTE-MIB › drIpInterfaceMainRouterAddr
drIpInterfaceMainRouterAddr
Module: CROUTE-MIB
OID (symbolic): CROUTE-MIB::drIpInterfaceMainRouterAddr
OID (numeric): 1.3.6.1.4.1.81.31.6.1.1.10
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: The IP address of the main router backed up on this interface.
What is drIpInterfaceMainRouterAddr?
This field stores the IP address of the primary, or main, router that this interface is configured to back up, implying the device is acting in a standby or redundancy role for that address. An admin monitors this to confirm a backup router is correctly pointed at the right primary before relying on it for failover. For example, a standby router's interface might list drIpInterfaceMainRouterAddr as 10.1.1.1 to indicate it will take over that address if the primary router at 10.1.1.1 goes down.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.81.31.6.1.1.10 snmpwalk -v2c -c public <target> CROUTE-MIB::drIpInterfaceMainRouterAddr
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.81.31.6.1.1.10.1 snmpget -v2c -c public <target> CROUTE-MIB::drIpInterfaceMainRouterAddr.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.81.31.6.1.1.10.1 a <value>
Start monitoring Layer 3 switch platform (vendor unclear, BOOTP/RIP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CROUTE-MIB::drIpInterfaceMainRouterAddr OID value, configure state conditions and alerts, and monitor any Layer 3 switch platform (vendor unclear, BOOTP/RIP) from a single console.
OID Breakdown
Upper-level ancestors (7 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 |
| 1.3.6.1.4.1.81 | lannet | GEN-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.81.31 | croute | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6 | drIpRoute | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6.1 | drIpInterfaceTable | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6.1.1 | drIpInterfaceEntry | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.6.1.1.10 | drIpInterfaceMainRouterAddr | CROUTE-MIB |