errpPriComPortState
ERRP-MIB ·
.1.3.6.1.4.1.13464.1.2.4.7.1.1.7.1.8
Object
column Enumeration
The primary port or common port state in the ring. disabled(0) means port is link down. forwarding(1) means port is in the forwarding state. blocking(2) means port is in the blocking or discarding state.
Context
- MIB
- ERRP-MIB
- OID
.1.3.6.1.4.1.13464.1.2.4.7.1.1.7.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- errpRingEntry
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 'ERRP-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ERRP-MIB::errpPriComPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ERRP-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ERRP-MIB::errpPriComPortState.<errpDomainId>.<errpRingId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ERRP-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ERRP-MIB::errpPriComPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disabled |
1 | forwarding |
2 | blocking |