mstpPerPortInfoRole

Jetnet4508fV2 · .1.3.6.1.4.1.24062.2.2.18.4.6.2.1.4

Object

column mandatory Enumeration
Descriptive information about MSTP switch port roles:
disabled(1)    MSTP 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.6.2.1.4
Type
column
Access
readonly
Status
mandatory
Parent
mstpPerPortInfoEntry

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::mstpPerPortInfoRole'
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::mstpPerPortInfoRole.<mstpPerPortInfoIndex>'
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::mstpPerPortInfoRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1root
2alternate
3designated
4backup
5master
6disabled
7boundary
8unknown