rtmStaticRtAction

DC-RTM-MIB · .1.3.6.1.4.1.629.10.7.1.3.1.12

Object

The action to perform on receipt of a packet to the specified
destination.
              
If the action type is 'forward', one or both of the
rtmStaticRtNextHop and rtmStaticRtIfIndex objects must be
set to a non-zero value.
              
If the action type is not 'forward', the rtmStaticRtNextHop and
rtmStaticRtIfIndex objects must both be set to zero.
              
The action type cannot be set to 'tunnel' for a static route.
              
The value of this field must not be changed while the row
status of this MIB is AMB_ROW_STATUS_ACTIVE.

Context

MIB
DC-RTM-MIB
OID
.1.3.6.1.4.1.629.10.7.1.3.1.12
Type
column
Access
readwrite
Status
current
Parent
rtmStaticRtEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmStaticRtAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmStaticRtAction.<rtmStaticRtFteIndex>.<rtmStaticRtDestAddrType>.<rtmStaticRtDestAddr>.<rtmStaticRtDestLen>.<rtmStaticRtNextHopType>.<rtmStaticRtNextHop>.<rtmStaticRtIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-RTM-MIB::rtmStaticRtAction'

Syntax

Source
DC-MASTER-TCRouteAction
Base type
Enumeration

Values & Constraints

Type Values
1routeActionLocal
2routeActionForward
3routeActionReject
4routeActionDiscard
5routeActionTunnel
6routeActionNextRtm

Conformance