stpPerPortInfoRole

Jetnet4510 · .1.3.6.1.4.1.24062.2.2.3.4.6.2.1.2

Object

column mandatory Enumeration
Descriptive information about RSTP switch port roles:
root(1)        A forwarding port that has been elected for 
               the spanning-tree topology.    
alternate(2)   An alternate path to the root bridge. This 
               path is different than using the root port. 
designated(3)  A forwarding port for every LAN segment. 
backup(4)      A backup/redundant path to a segment where 
               another switch port already connects.                                
disabled(5)    RSTP is disabled on this port.

Context

MIB
Jetnet4510
OID
.1.3.6.1.4.1.24062.2.2.3.4.6.2.1.2
Type
column
Access
readonly
Status
mandatory
Parent
stpPerPortInfoEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1root
2alternated
3designated
4backup
5disabled
6nonStp
7unknown