s5AgSysSpanningTreePortMode
S5-AGENT-MIB ·
.1.3.6.1.4.1.45.1.6.4.4.22
Object
scalar r/w
Enumeration
This object indicates the current spanning-tree port mode.
Context
- MIB
- S5-AGENT-MIB
- OID
.1.3.6.1.4.1.45.1.6.4.4.22- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- s5AgentSystem
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'S5-AGENT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'S5-AGENT-MIB::s5AgSysSpanningTreePortMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'S5-AGENT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'S5-AGENT-MIB::s5AgSysSpanningTreePortMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | auto |