swL2MirrorPortState

SWL2MGMT-MIB · d-link variant · .0.2.9.4

Object

scalar r/w Enumeration
This object indicates the port mirroring state.
          
other(1) - this entry is currently in use but the conditions 
    under which it will remain so are different from each of the
    following values.
disabled(2) - writing this value to the object, and then the
    corresponding entry will be removed from the table.
enabled(3) - this entry is reside in the table.

Context

MIB
SWL2MGMT-MIB
OID
.0.2.9.4
Type
scalar
Access
readwrite
Status
current
Parent
swL2MirrorMgmt

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2disabled
3enabled