hh3cIfLinkMode

HH3C-IF-EXT-MIB · .1.3.6.1.4.1.25506.2.40.2.2.3.1.2

Object

column r/w Enumeration
The current link mode of the interface.
If hh3cIfLinkModeSwitchSupport is true, writing to the object can
change the link mode of the interface.

Context

MIB
HH3C-IF-EXT-MIB
OID
.1.3.6.1.4.1.25506.2.40.2.2.3.1.2
Type
column
Access
readwrite
Status
current
Parent
hh3cIfLinkModeEntry

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::hh3cIfLinkMode'
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::hh3cIfLinkMode.<hh3cIfLinkModeIndex>'
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::hh3cIfLinkMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1bridgeMode
2routeMode
Object Constraints
range: 0-255