hwDefPortType
CTATX-MIB ·
.1.3.6.1.4.1.97.3.1.2.1.12
Object
column mandatory
OctetString
This is a variable-length byte array, where each element represents the port types defined for the module. If hwDefPortType does not match hwPortType, then the port will not be used. Note that hwDefPortType can only be changed by rebooting the ES/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 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::hwDefPortType'
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::hwDefPortType.<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::hwDefPortType'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.