ciscoEsOptPortStaVal

CISCO-ES-STACK-MIB · .1.3.6.1.4.1.9.5.14.4.2.1.2

Object

column mandatory OctetString
An OCTET STRING containing a multiple number of
stations from a port station address table. Each entry
is encoded in the following format:
Station MAC address - 6 octets
Location 1 - local
         2 - remote - 1 octet
Port of exit Mask   - 4 octets  
Source Frame Count  - 4 octets (integer in little endian)
Destn Frame Count   - 4 octets (integer in little endian)
Source Byte Count   - 4 octets (integer in little endian)
Destn Byte Count    - 4 octets (integer in little endian)
              
The Port of exit mask is encoded in its raw form as stored
in the switch.
	       Octet 1
Bit position  7  6  5  4  3  2  1  0 
Port Number  31 30 29 28 27 26 25 24
	       Octet 2
Bit position  7  6  5  4  3  2  1  0 
Port Number  23 22 21 20 19 18 17 16
	       Octet 3
Bit position  7  6  5  4  3  2  1  0 
Port Number  15 14 13 12 11 10  9  8
	       Octet 4
Bit position  7  6  5  4  3  2  1  0 
Port Number   7  6  5  4  3  2  1 CPU

Context

MIB
CISCO-ES-STACK-MIB
OID
.1.3.6.1.4.1.9.5.14.4.2.1.2
Type
column
Access
readonly
Status
mandatory
Parent
ciscoEsOptPortStaEntry

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 'CISCO-ES-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ES-STACK-MIB::ciscoEsOptPortStaVal'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-ES-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-ES-STACK-MIB::ciscoEsOptPortStaVal.<ciscoEsPortSwitchNumber>.<ciscoEsPortNumber>.<ciscoEsOptPortStaPos>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-ES-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-ES-STACK-MIB::ciscoEsOptPortStaVal'

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.