swL2MirrorPortState

DGS3120-24PC-L2MGMT-MIB · .1.3.6.1.4.1.171.11.117.3.1.2.10.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) - After writing this value to the object, the
	corresponding entry will be removed from the table.
enabled (3) - This entry resides in the table.

Context

MIB
DGS3120-24PC-L2MGMT-MIB
OID
.1.3.6.1.4.1.171.11.117.3.1.2.10.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 'DGS3120-24PC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3120-24PC-L2MGMT-MIB::swL2MirrorPortState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3120-24PC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3120-24PC-L2MGMT-MIB::swL2MirrorPortState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2disabled
3enabled