All MIBs › DLINKPRIME-PACKET-MONITOR-MIB › dpPktMonMirrorType
dpPktMonMirrorType
Module: DLINKPRIME-PACKET-MONITOR-MIB
OID (symbolic): DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonMirrorType
OID (numeric): 1.3.6.1.4.1.171.28.10.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Specifies the mirror packet type.
What is dpPktMonMirrorType?
This read-write INTEGER enumeration (disable(0), rx(1), tx(2), or both(3)) specifies which direction of traffic on the monitored source port(s) gets mirrored to the destination port. An administrator sets this to control the scope of a port-mirroring session, choosing to capture only incoming traffic, only outgoing traffic, or both depending on what kind of problem they're diagnosing. For example, setting this object to rx(1) would mirror only traffic received on the source port(s) to the analyzer connected at the destination port, ignoring outbound traffic.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.28.10.1.2 snmpwalk -v2c -c public <target> DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonMirrorType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.28.10.1.2.1 snmpget -v2c -c public <target> DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonMirrorType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.28.10.1.2.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> dpPktMonMirrorType.1
Start monitoring D-Link Prime series managed switch (SPAN/RSPAN port mirroring) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonMirrorType OID value, configure state conditions and alerts, and monitor any D-Link Prime series managed switch (SPAN/RSPAN port mirroring) 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.28 | dlinkPrimeCommon | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.28.10 | dlinkPrimePktMonitorMIB | DLINKPRIME-PACKET-MONITOR-MIB |
| 1.3.6.1.4.1.171.28.10.1 | dpPktMonMIBObjects | DLINKPRIME-PACKET-MONITOR-MIB |
| 1.3.6.1.4.1.171.28.10.1.2 | dpPktMonMirrorType | DLINKPRIME-PACKET-MONITOR-MIB |