EdgeSwitch-ROUTING-MIB :: agentOspfRoutePrefExternal

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › EdgeSwitch-ROUTING-MIB › agentOspfRoutePrefExternal

agentOspfRoutePrefExternal

Module: EdgeSwitch-ROUTING-MIB

OID (symbolic): EdgeSwitch-ROUTING-MIB::agentOspfRoutePrefExternal

OID (numeric): 1.3.6.1.4.1.4413.1.1.2.4.22

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The route preference, sometimes called administrative distance, for external OSPFv2 routes. A route with a preference of 255 is considered unreachable.

What is agentOspfRoutePrefExternal?

Sets the route preference/administrative distance (1-255, default 110) for OSPFv2 external routes (redistributed from other protocols); 255 marks unreachable. Admins commonly raise this above the intra/inter-area values so natively-learned OSPF routes are preferred over redistributed externals to the same destination.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.2.4.22
snmpwalk -v2c -c public <target> EdgeSwitch-ROUTING-MIB::agentOspfRoutePrefExternal

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.2.4.22.1
snmpget -v2c -c public <target> EdgeSwitch-ROUTING-MIB::agentOspfRoutePrefExternal.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.4413.1.1.2.4.22.1 i <value>

Start monitoring Ubiquiti EdgeSwitch (Broadcom FastPath-based) switch (IPv4 static routing/L3 forwarding) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the EdgeSwitch-ROUTING-MIB::agentOspfRoutePrefExternal OID value, configure state conditions and alerts, and monitor any Ubiquiti EdgeSwitch (Broadcom FastPath-based) switch (IPv4 static routing/L3 forwarding) from a single console.

OID Breakdown

Upper-level ancestors (9 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.4413broadcomBASP-Config-MIB
1.3.6.1.4.1.4413.1enetBASP-Config-MIB
1.3.6.1.4.1.4413.1.1fastPathEdgeSwitch-REF-MIB
Numeric OIDNameModule
1.3.6.1.4.1.4413.1.1.2fastPathRoutingEdgeSwitch-ROUTING-MIB
1.3.6.1.4.1.4413.1.1.2.4agentRouterOspfConfigGroupEdgeSwitch-ROUTING-MIB
1.3.6.1.4.1.4413.1.1.2.4.22agentOspfRoutePrefExternalEdgeSwitch-ROUTING-MIB