All MIBs › PRVT-SWITCH-MIB › configL2IfaceSnifferIfIndex
configL2IfaceSnifferIfIndex
Module: PRVT-SWITCH-MIB
OID (symbolic): PRVT-SWITCH-MIB::configL2IfaceSnifferIfIndex
OID (numeric): 1.3.6.1.4.1.738.1.5.100.2.2.2.1.12
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: This object connects this port to a sniffer port indexed by the specified ifIndex. Setting this value to 0 disconnects this port from the sniffer.
What is configL2IfaceSnifferIfIndex?
Setting this to the ifIndex of another port mirrors this interface's traffic to that port for packet capture/analysis (port mirroring); setting it back to 0 disconnects the mirror.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.12 snmpwalk -v2c -c public <target> PRVT-SWITCH-MIB::configL2IfaceSnifferIfIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.12.1 snmpget -v2c -c public <target> PRVT-SWITCH-MIB::configL2IfaceSnifferIfIndex.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.12.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> configL2IfaceSnifferIfIndex.1
Start monitoring BATM/Telco Systems carrier Ethernet switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PRVT-SWITCH-MIB::configL2IfaceSnifferIfIndex OID value, configure state conditions and alerts, and monitor any BATM/Telco Systems carrier Ethernet switches from a single console.
OID Breakdown
Upper-level ancestors (7 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.738 | privateVendorOID | PRIV-VENDORDEF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.738.1 | prvt_products | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5 | switch | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100 | prvtSwitchMib | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2 | config | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2 | configL2 | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2 | configL2IfaceTable | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2.1 | configL2IfaceEntry | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2.1.12 | configL2IfaceSnifferIfIndex | PRVT-SWITCH-MIB |