swPortMirrorTargetPort

COMPAQ-L2MGMT-MIB · .1.3.6.1.4.1.232.161.3.2.2.2.1.3

Object

column r/w Integer32
This object indicates switch which port will sniff another port.
A trunk port member cannot be configured as a target Snooping port.
The port number is the sequential (logical) number which is also 
applied to bridge MIB, etc.

Context

MIB
COMPAQ-L2MGMT-MIB
OID
.1.3.6.1.4.1.232.161.3.2.2.2.1.3
Type
column
Access
readwrite
Status
current
Parent
swPortMirrorCtrlEntry

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 'COMPAQ-L2MGMT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-L2MGMT-MIB::swPortMirrorTargetPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'COMPAQ-L2MGMT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-L2MGMT-MIB::swPortMirrorTargetPort.<swPortMirrorIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'COMPAQ-L2MGMT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'COMPAQ-L2MGMT-MIB::swPortMirrorTargetPort'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647