hwHwcPortMasterSlaveState

HWMUSA-UP-MIB · .1.3.6.1.4.1.2011.2.6.4.4.13.1.1.2

Object

column Enumeration
Options:
1.master(1)    -indicates the smaster port state
2.slave(2)     -indicates the slave port state

Context

MIB
HWMUSA-UP-MIB
OID
.1.3.6.1.4.1.2011.2.6.4.4.13.1.1.2
Type
column
Access
readonly
Status
current
Parent
hwHwcPortPhyEntry

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 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HWMUSA-UP-MIB::hwHwcPortMasterSlaveState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HWMUSA-UP-MIB::hwHwcPortMasterSlaveState.<hwHwcPortPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HWMUSA-UP-MIB::hwHwcPortMasterSlaveState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1master
2slave