All MIBs › DLINKPRIME-PACKET-MONITOR-MIB › dpPktMonSrcPort
dpPktMonSrcPort
Module: DLINKPRIME-PACKET-MONITOR-MIB
OID (symbolic): DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonSrcPort
OID (numeric): 1.3.6.1.4.1.171.28.10.1.3
Node type: OBJECT-TYPE
Type: PortList
Access: read-write
Description: Provides control to enable or disable mirroring over this interface to the destination port.
What is dpPktMonSrcPort?
This read-write PortList specifies which source port(s) on the switch have their traffic mirrored to the configured destination port, effectively enabling or disabling port mirroring on each interface listed. An administrator uses this bitmask-style list to select exactly which ports' traffic should be copied for monitoring, working together with dpPktMonDstPort (where the copy goes) and dpPktMonMirrorType (which direction is copied). For example, setting this object to include ports 5 and 6 would mirror traffic from those two ports to the configured destination port for analysis.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.28.10.1.3 snmpwalk -v2c -c public <target> DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonSrcPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.28.10.1.3.1 snmpget -v2c -c public <target> DLINKPRIME-PACKET-MONITOR-MIB::dpPktMonSrcPort.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.28.10.1.3.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> dpPktMonSrcPort.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::dpPktMonSrcPort 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.3 | dpPktMonSrcPort | DLINKPRIME-PACKET-MONITOR-MIB |