agentNetworkDefaultGateway
NG700-SWITCHING-MIB ·
.1.3.6.1.4.1.4526.11.1.2.3.3
Object
The switch's network default gateway
Context
- MIB
- NG700-SWITCHING-MIB
- OID
.1.3.6.1.4.1.4526.11.1.2.3.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentNetworkConfigGroup
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 'NG700-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NG700-SWITCHING-MIB::agentNetworkDefaultGateway.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NG700-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NG700-SWITCHING-MIB::agentNetworkDefaultGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4