All MIBs › SW-SNIFF-MIB › swSniffTargetPort
swSniffTargetPort
Module: SW-SNIFF-MIB
OID (symbolic): SW-SNIFF-MIB::swSniffTargetPort
OID (numeric): 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates the target port which the traffic appears on the source sniffed port will be copied to. A trunk port member cannot be configured as a target Sniffing port
What is swSniffTargetPort?
This value specifies which switch port (1 through 128) receives a copy of the traffic seen on the configured source port, letting an analyzer plugged into that port observe the mirrored traffic non-intrusively; the source description notes a trunk (LAG) member port cannot be used as the target. An administrator sets this to the port where their sniffer or IDS appliance is physically connected. For example, if swSniffTargetPort is set to 24, a laptop running Wireshark plugged into port 24 would see a copy of everything crossing the configured source port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1.3 snmpwalk -v2c -c public <target> SW-SNIFF-MIB::swSniffTargetPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1.3.1 snmpget -v2c -c public <target> SW-SNIFF-MIB::swSniffTargetPort.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1.3.1 i <value>
Start monitoring D-Link ES2000 'Golf' series switch (Marconi-branded OEM, port mirroring/sniffing config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SW-SNIFF-MIB::swSniffTargetPort OID value, configure state conditions and alerts, and monitor any D-Link ES2000 'Golf' series switch (Marconi-branded OEM, port mirroring/sniffing config) from a single console.
OID Breakdown
Upper-level ancestors (15 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.326 | fore | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2 | systems | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20 | ethernet | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1 | edge | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2 | golf | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2 | golfcommon | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2 | fore_mgmt | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28 | es2000Mgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2 | swL2Mgmt | SW-COMMON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5 | swPortSniff | SW-SNIFF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1 | swSniffCtrlTable | SW-SNIFF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1 | swSniffCtrlEntry | SW-SNIFF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1.3 | swSniffTargetPort | SW-SNIFF-MIB |