All MIBs › SW-SNIFF-MIB › swSniffSourcePort
swSniffSourcePort
Module: SW-SNIFF-MIB
OID (symbolic): SW-SNIFF-MIB::swSniffSourcePort
OID (numeric): 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.5.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates the source port whose traffic will be sniffed.
What is swSniffSourcePort?
This value specifies which switch port (numbered 1 through 128) has its traffic copied to a mirror/monitor port, as part of a port-sniffing entry used to capture traffic for analysis without disrupting the LAN. A network administrator sets this when they want to inspect what a particular host or uplink is sending and receiving, typically feeding the copied traffic to a packet analyzer. For example, setting swSniffSourcePort to 12 would mean traffic in and out of port 12 gets duplicated to whatever target port is configured in the same entry.
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.2 snmpwalk -v2c -c public <target> SW-SNIFF-MIB::swSniffSourcePort
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.2.1 snmpget -v2c -c public <target> SW-SNIFF-MIB::swSniffSourcePort.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.2.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::swSniffSourcePort 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.2 | swSniffSourcePort | SW-SNIFF-MIB |