CROUTE-MIB :: ipInterfaceMainRouterAddr

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCROUTE-MIBipInterfaceMainRouterAddr

ipInterfaceMainRouterAddr

Module: CROUTE-MIB

OID (symbolic): CROUTE-MIB::ipInterfaceMainRouterAddr

OID (numeric): 1.3.6.1.4.1.81.31.1.2.1.9

Node type: OBJECT-TYPE

Type: IpAddress

Access: read-write

Description: The IP address of the main router backed up on this interface.

What is ipInterfaceMainRouterAddr?

This read-write IpAddress object specifies the IP address of the primary router that this interface is configured to back up, relevant when IP Redundancy is in use. An admin sets this on a standby interface so it knows which router's address to monitor and take over from if that router fails. For example, configuring ipInterfaceMainRouterAddr to point at the primary router's IP lets the standby unit detect an outage and assume that address once ipRedundancyTimeout expires.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.81.31.1.2.1.9
snmpwalk -v2c -c public <target> CROUTE-MIB::ipInterfaceMainRouterAddr

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.81.31.1.2.1.9.1
snmpget -v2c -c public <target> CROUTE-MIB::ipInterfaceMainRouterAddr.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.81.31.1.2.1.9.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::ipInterfaceMainRouterAddr 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.81lannetGEN-MIB
Numeric OIDNameModule
1.3.6.1.4.1.81.31crouteCROUTE-MIB
1.3.6.1.4.1.81.31.1ipRouteCROUTE-MIB
1.3.6.1.4.1.81.31.1.2ipInterfaceTableCROUTE-MIB
1.3.6.1.4.1.81.31.1.2.1ipInterfaceEntryCROUTE-MIB
1.3.6.1.4.1.81.31.1.2.1.9ipInterfaceMainRouterAddrCROUTE-MIB