snRtClearIpRoute
HP-SN-IP-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.2.2.1.3
Object
clear(1) will clear ip route table.
Context
- MIB
- HP-SN-IP-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.2.2.1.3- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- snRtIpGeneral
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 'HP-SN-IP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-IP-MIB::snRtClearIpRoute.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-IP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-IP-MIB::snRtClearIpRoute'
Syntax
- Source
- ClearStatus
- Base type
Enumeration
Values & Constraints
Type Values
0 | normal |
1 | clear |