hwConfigPortProtectionSwitch

HUAWEI-ERPS-MIB · .1.3.6.1.4.1.2011.5.25.256.1.4.1.8

Object

column r/w Enumeration
This object indicates the protection switching mode, including forced switching and manual switching. If the mode is not set, the default value 65535 is returned.

Context

MIB
HUAWEI-ERPS-MIB
OID
.1.3.6.1.4.1.2011.5.25.256.1.4.1.8
Type
column
Access
readwrite
Status
current
Parent
hwErpsPortConfigEntry
Groups
1

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 'HUAWEI-ERPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ERPS-MIB::hwConfigPortProtectionSwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ERPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ERPS-MIB::hwConfigPortProtectionSwitch.<hwConfigRingId>.<hwConfigPortType>.<hwConfigPortId1>.<hwConfigPortId2>.<hwConfigPortId3>.<hwConfigPortId4>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ERPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ERPS-MIB::hwConfigPortProtectionSwitch'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1forcedSwitch
2manualSwitch
65535idle

Conformance