All MIBs › EdgeSwitch-ROUTING-MIB › agentSwitchIpDefaultGateway
agentSwitchIpDefaultGateway
Module: EdgeSwitch-ROUTING-MIB
OID (symbolic): EdgeSwitch-ROUTING-MIB::agentSwitchIpDefaultGateway
OID (numeric): 1.3.6.1.4.1.4413.1.1.2.2.2
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: Specifies the Default Gateway manually configured.
What is agentSwitchIpDefaultGateway?
Sets the manually-configured default gateway IP address the switch uses for traffic that doesn't match a more specific route, e.g., 10.0.0.1. This is the classic last-resort route an admin sets when the switch has no dynamic routing protocol configured.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.2.2.2 snmpwalk -v2c -c public <target> EdgeSwitch-ROUTING-MIB::agentSwitchIpDefaultGateway
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.2.2.2.1 snmpget -v2c -c public <target> EdgeSwitch-ROUTING-MIB::agentSwitchIpDefaultGateway.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4413.1.1.2.2.2.1 a <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::agentSwitchIpDefaultGateway 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 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.4413 | broadcom | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1 | enet | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1.1 | fastPath | EdgeSwitch-REF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4413.1.1.2 | fastPathRouting | EdgeSwitch-ROUTING-MIB |
| 1.3.6.1.4.1.4413.1.1.2.2 | agentSwitchIpGroup | EdgeSwitch-ROUTING-MIB |
| 1.3.6.1.4.1.4413.1.1.2.2.2 | agentSwitchIpDefaultGateway | EdgeSwitch-ROUTING-MIB |