All MIBs › TPLINK-PORTMIRROR-MIB › tpPortMirrorSessionState
tpPortMirrorSessionState
Module: TPLINK-PORTMIRROR-MIB
OID (symbolic): TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState
OID (numeric): 1.3.6.1.4.1.11863.6.11.1.1.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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.
What is tpPortMirrorSessionState?
This object reports, and in one specific case controls, the operational state of a port-mirroring session. It automatically becomes active(2) once both a destination and at least one source port are assigned, reads negative(1) otherwise, and the only value an admin may actually write is clear(3), which wipes the session's configuration and returns it to negative(1). For example, an admin sets tpPortMirrorSessionState to clear(3) on a session to remove its destination and source-port assignments and reset it for reuse.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.11.1.1.1.6 snmpwalk -v2c -c public <target> TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.11.1.1.1.6.1 snmpget -v2c -c public <target> TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11863.6.11.1.1.1.6.1 i <value>
Start monitoring TP-Link managed switch (port mirroring source/destination config status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-PORTMIRROR-MIB::tpPortMirrorSessionState OID value, configure state conditions and alerts, and monitor any TP-Link managed switch (port mirroring source/destination config status) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.11863 | tplink | TPLINK-MIB |
| 1.3.6.1.4.1.11863.6 | tplinkMgmt | TPLINK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11863.6.11 | tplinkPortMirrorMIB | TPLINK-PORTMIRROR-MIB |
| 1.3.6.1.4.1.11863.6.11.1 | tplinkPortMirrorMIBObjects | TPLINK-PORTMIRROR-MIB |
| 1.3.6.1.4.1.11863.6.11.1.1 | tpPortMirrorTable | TPLINK-PORTMIRROR-MIB |
| 1.3.6.1.4.1.11863.6.11.1.1.1 | tpPortMirrorEntry | TPLINK-PORTMIRROR-MIB |
| 1.3.6.1.4.1.11863.6.11.1.1.1.6 | tpPortMirrorSessionState | TPLINK-PORTMIRROR-MIB |