osPortOperState
OS-PORT-MIB ·
.1.3.6.1.4.1.6926.2.1.2.1.11
Object
column Enumeration
Port oper status
Context
- MIB
- OS-PORT-MIB
- OID
.1.3.6.1.4.1.6926.2.1.2.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- osPortEntry
- Groups
- 1
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 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortOperState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortOperState.<osPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortOperState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | enabled |
3 | disabledByMgmt |
4 | disabledByReboot |
5 | isolatedByLinkFlapGuard |
6 | isolatedByLinkReflection |
7 | isolatedByLinkProtection |
8 | isolatedByStpLinkReflection |
9 | isolatedByHotSwap |
10 | isolatedByHa |
11 | isolatedByStpPortLoop |
12 | isolatedByStpOverRate |
13 | isolatedByEthoamOverRate |
14 | isolatedByEfmOverRate |
15 | isolatedByDot1xOverRate |
16 | isolatedByDot1agOverRate |
17 | isolatedByLacpOverRate |
18 | isolatedByAhOverRate |
19 | isolatedByUdld |
20 | isolatedByShdslLinkDown |
21 | isolatedByL2TpOverRate |
22 | isolatedByTdmLinkProtection |
23 | isolatedByMplsLinkProtection |
24 | isolatedByMacFlapLoopGuard |
Conformance
Member of