swL2MirrorPortState
DGS-3710-12C-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.102.1.5.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
- DGS-3710-12C-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.102.1.5.2.10.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL2MirrorMgmt
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 'DGS-3710-12C-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-3710-12C-L2MGMT-MIB::swL2MirrorPortState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-3710-12C-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-3710-12C-L2MGMT-MIB::swL2MirrorPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |