smartPortType
MSERIES-PORT-MIB ·
.1.3.6.1.4.1.30826.1.3.1.2.1.1.4
Object
column MSERIES-TCPortType
The type of port.
rx(1) - Receiving port.
tx(2) - Transmitting port.
biDi(3) - Bidirectional port.
Context
- MIB
- MSERIES-PORT-MIB
- OID
.1.3.6.1.4.1.30826.1.3.1.2.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- smartPortEntry
- 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 'MSERIES-PORT-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSERIES-PORT-MIB::smartPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MSERIES-PORT-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSERIES-PORT-MIB::smartPortType.<smartPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSERIES-PORT-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSERIES-PORT-MIB::smartPortType'
Syntax
- Source
- MSERIES-TCPortType
- Base type
Enumeration
Values & Constraints
Type Values
1 | rx |
2 | tx |
3 | biDi |
Conformance
Member of