swRSPANState

RSPAN-MGMT-MIB · .1.3.6.1.4.1.171.12.68.1.1

Object

scalar r/w Enumeration
This object indicates the RSPAN state.
enabled (1) - This entry resides in the table.
disabled (2) - Writes this value to the object and then removes the
    corresponding entry from the table.

Context

MIB
RSPAN-MGMT-MIB
OID
.1.3.6.1.4.1.171.12.68.1.1
Type
scalar
Access
readwrite
Status
current
Parent
swRSPANCtrl

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RSPAN-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RSPAN-MGMT-MIB::swRSPANState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RSPAN-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RSPAN-MGMT-MIB::swRSPANState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled