hh3cIfPortType

HH3C-IF-EXT-MIB · .1.3.6.1.4.1.25506.2.40.2.2.4.1.2

Object

column r/w Enumeration
The current port type of the interface.
Don't set the port type to other for an interface.

Context

MIB
HH3C-IF-EXT-MIB
OID
.1.3.6.1.4.1.25506.2.40.2.2.4.1.2
Type
column
Access
readwrite
Status
current
Parent
hh3cIfPortTypeEntry

Walk 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 'HH3C-IF-EXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-IF-EXT-MIB::hh3cIfPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-IF-EXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-IF-EXT-MIB::hh3cIfPortType.<hh3cIfPortTypeIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-IF-EXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-IF-EXT-MIB::hh3cIfPortType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2ethernet
3fc