ipagentDefaultGateway
ASANTE-SWITCH-MIB ·
.1.3.6.1.4.1.298.1.1.5.1.3
Object
The ip agent's administrative default gateway IP address. The current operational IP default gateway IP address can be obtained from ipRouteDest in the ipRouteTable. This parameter will take effect only after an agent restart or reset. This parameter will always be updated in EEPROM.
Context
- MIB
- ASANTE-SWITCH-MIB
- OID
.1.3.6.1.4.1.298.1.1.5.1.3- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- ipagentProtocol
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASANTE-SWITCH-MIB::ipagentDefaultGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASANTE-SWITCH-MIB' -M '/opt/observium/mibs/asante:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASANTE-SWITCH-MIB::ipagentDefaultGateway'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4