ethIfRstpState
NETI-ETH-MIB ·
.1.3.6.1.4.1.2928.2.2.1.3.9.1.3
Object
column Enumeration
Describes if the port forwards MAC frames and whether
or not it learns from their source addresses.
discarding(1). The port is not enabled or has been excluded
from forwarding and learning.
learning(2). The port has learning enabled, but forwarding
disabled.
forwarding(3). The port both learns and forwards frames.
Context
- MIB
- NETI-ETH-MIB
- OID
.1.3.6.1.4.1.2928.2.2.1.3.9.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ethIfRstpEntry
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 'NETI-ETH-MIB' -M '/opt/observium/mibs/netinsight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETI-ETH-MIB::ethIfRstpState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETI-ETH-MIB' -M '/opt/observium/mibs/netinsight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETI-ETH-MIB::ethIfRstpState.<ethDevIndex>.<ethIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETI-ETH-MIB' -M '/opt/observium/mibs/netinsight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETI-ETH-MIB::ethIfRstpState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | discarding |
2 | learning |
3 | forwarding |