xstInstancePortState
Hirschmann-GIGA-LION-24TP-MIB ·
.1.3.6.1.4.1.248.13.7.5.1.5.6.5.1.4
Object
column Enumeration
The port's current state as defined by application of
the Spanning Tree Protocol. This state controls what
action a port takes on reception of a frame:
discarding(1): Port receives configuration messages,
but does not forward packets.
learning(2): Port has transmitted configuration messages
for an interval set by the Forward Delay
parameter without receiving contradictory
information. Port address table is cleared,
and the port begins learning addresses.
forwarding(3): Port forwards packets, and continues learning
addresses.
For ports which are disabled (see xstInstancePortEnable),
this object will have a value of discarding(1).
Context
- MIB
- Hirschmann-GIGA-LION-24TP-MIB
- OID
.1.3.6.1.4.1.248.13.7.5.1.5.6.5.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- xstInstancePortEntry
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 'Hirschmann-GIGA-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Hirschmann-GIGA-LION-24TP-MIB::xstInstancePortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Hirschmann-GIGA-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Hirschmann-GIGA-LION-24TP-MIB::xstInstancePortState.<xstInstanceCfgIndex>.<dot1dStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Hirschmann-GIGA-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Hirschmann-GIGA-LION-24TP-MIB::xstInstancePortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | discarding |
2 | learning |
3 | forwarding |