All MIBs › HP-SN-SWITCH-GROUP-MIB › snSwPortInfoMonitorMode
snSwPortInfoMonitorMode
Module: HP-SN-SWITCH-GROUP-MIB
OID (symbolic): HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode
OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: A monitoring port is selected and its traffic will be analyzed if the mode is not disabled(0), which is the default mode. The values are:
disabled(0) -- No traffic monitoring input(1) -- traffic monitoring is activated on packets received output(2) -- traffic monitoring is activated on packets transmitted both(3) -- traffic monitoring is activated on packets received and transmitted.
What is snSwPortInfoMonitorMode?
Sets whether a port acts as a mirror-monitoring port, and if so whether it mirrors inbound traffic, outbound traffic, or both, with disabled(0) as the default. An admin sets this to input(1), output(2), or both(3) on the port connected to a packet analyzer to start capturing another port's traffic.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2 snmpwalk -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2.1 snmpget -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2.1 i <value>
Start monitoring HP ServerNet switch (Foundry-heritage) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode OID value, configure state conditions and alerts, and monitor any HP ServerNet switch (Foundry-heritage) from a single console.
OID Breakdown
Upper-level ancestors (14 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.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3 | hpsystem | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1 | switch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3 | snSwitch | HP-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3 | snSwPortInfo | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1 | snSwPortInfoTable | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1 | snSwPortInfoEntry | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2 | snSwPortInfoMonitorMode | HP-SN-SWITCH-GROUP-MIB |