hwPortType
CTATX-MIB ·
.1.3.6.1.4.1.97.3.1.2.1.9
Object
column mandatory
OctetString
This is a variable-length byte array, where each element represents the port types belonging to this module. The Packet Processing Engine's ports are fixed as 'uart' for the first port, and 'none' for any other ports. The Turbo's ports are fixed as 'none' for all ports. The following port types are supported: none (0) there is no port csma (1) Ethernet or 802.3 port fddi-das (2) FDDI DAS port fddi-sas (3) FDDI SAS port tpr (4) Token Passing Ring port wan (5) Wide Area Network port uart (6) UART port
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 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::hwPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::hwPortType.<hwIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTATX-MIB::hwPortType'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.