hwHwcSwitchOperate
HWMUSA-UP-MIB ·
.1.3.6.1.4.1.2011.2.6.4.4.13.1.1.4
Object
column r/w
Enumeration
Options: 1.switch(1) -indicates the switch
Context
- MIB
- HWMUSA-UP-MIB
- OID
.1.3.6.1.4.1.2011.2.6.4.4.13.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwHwcPortPhyEntry
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 'HWMUSA-UP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HWMUSA-UP-MIB::hwHwcSwitchOperate'
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::hwHwcSwitchOperate.<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::hwHwcSwitchOperate'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | switch |