scGenSwitchFindResult

XSWITCH-MIB · .1.3.6.1.4.1.81.28.1.5.1.1.16

Object

column mandatory OctetString
The search result. The result string format is:
1st byte: address type - 0=MAC, 1=IP.
Next bytes: the address. (for MAC: next 6 bytes, 
for IP: next 4 bytes)
7-th byte (for MAC) or 5-th byte (for IP): number of ports with
the specified address.
Every next two bytes will indicate the slot and port number.
8-th byte (for MAC) or 6-th byte (for IP): slot number. 
9-th byte (for MAC) or 7-th byte (for IP): port number. Etc.
If the specified address was NOT found, the result will be
with the 7-th byte (for MAC) or 5-th byte (for IP):  byte equal to _0_.

Context

MIB
XSWITCH-MIB
OID
.1.3.6.1.4.1.81.28.1.5.1.1.16
Type
column
Access
readonly
Status
mandatory
Parent
scGenSwitchEntry

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

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.