rstpPerPortInfoRole

Jetnet4508fV2 · .1.3.6.1.4.1.24062.2.2.18.4.3.2.1.7

Object

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

Context

MIB
Jetnet4508fV2
OID
.1.3.6.1.4.1.24062.2.2.18.4.3.2.1.7
Type
column
Access
readonly
Status
mandatory
Parent
rstpPerPortInfoEntry

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

Syntax

Enumeration

Values & Constraints

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