hpSwitchStpPortMode
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.6
Object
column mandatory
r/w
Enumeration
If the value of this variable is set to fast(2), the
port will go directly into the Forwarding State when a
device is connected to it. Use this feature only on
ports that are connected to an individual PC or
Workstation, to allow these ports to come up and
move quickly to the Forwarding State instead of going
through the normal STP initialization process.
Caution: Changing the value of this variable to fast(2)
on ports connected to a hub or switch may cause loops
in your network.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.6- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hpSwitchStpPortEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchStpPortMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchStpPortMode.<hpSwitchStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchStpPortMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | fast |
3 | uplink |