snSwViolatorPortNumber

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

Object

scalar Integer32
The port number of the switch or router that received
a violator packet. It is included in the locked
address violation trap.
The bit 0 to bit 7: port number. 
The bit 8 to bit 11: slot number (slot for chassis only).

Context

MIB
HP-SN-SWITCH-GROUP-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.17
Type
scalar
Access
readonly
Status
current
Parent
snSwInfo

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

Read the scalar 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::snSwViolatorPortNumber.0'
More examples
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::snSwViolatorPortNumber'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647