tpPortMirrorSessionState
TPLINK-PORTMIRROR-MIB ·
.1.3.6.1.4.1.11863.6.11.1.1.1.6
Object
column r/w
Enumeration
This object indicates the state of mirror session.If a session has been assigned both destination port and source ports, then the value of this object changes to active(2). Otherwise the value of this object is to be negative(1). When the value of this object is assigned to clear(3), then the configuration of this session will be cleared, and the state changes to negative(1). Be aware of that only clear(3) can be assigned to this object.
Context
- MIB
- TPLINK-PORTMIRROR-MIB
- OID
.1.3.6.1.4.1.11863.6.11.1.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tpPortMirrorEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'TPLINK-PORTMIRROR-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TPLINK-PORTMIRROR-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState.<tpPortMirrorSession>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TPLINK-PORTMIRROR-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | negative |
2 | active |
3 | clear |