snSwPortInfoMonitorMode

HP-SN-SWITCH-GROUP-MIB · .1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2

Object

column r/w Enumeration
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.

Context

MIB
HP-SN-SWITCH-GROUP-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.2
Type
column
Access
readwrite
Status
current
Parent
snSwPortInfoEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode.<snSwPortInfoPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-SWITCH-GROUP-MIB::snSwPortInfoMonitorMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0disabled
1input
2output
3both