portMirrorProbePort

SWITCH-MIB · .1.3.6.1.4.1.207.8.9.3.1.1.2.1

Object

scalar r/w Integer32
The port to which the probe or sniffer is connected.
Port Mirroring is enabled through the portMirrorSrcEnable
and portMirrorDstEnable flag.

Context

MIB
SWITCH-MIB
OID
.1.3.6.1.4.1.207.8.9.3.1.1.2.1
Type
scalar
Access
readwrite
Status
current
Parent
portMirrorGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MIB::portMirrorProbePort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-MIB::portMirrorProbePort'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-32