hwMacTrapPortCfgLearn
HUAWEI-SWITCH-L2MAM-EXT-MIB ·
.1.3.6.1.4.1.2011.5.25.315.1.1.1.2
Object
column r/w
Enumeration
The alarm switch of the new mac. The meanings of the values are: enable(1),disanle(2).
Context
- MIB
- HUAWEI-SWITCH-L2MAM-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.315.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMacTrapPortCfgEntry
- Groups
- 1
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 'HUAWEI-SWITCH-L2MAM-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SWITCH-L2MAM-EXT-MIB::hwMacTrapPortCfgLearn'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SWITCH-L2MAM-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SWITCH-L2MAM-EXT-MIB::hwMacTrapPortCfgLearn.<hwMacTrapPortCfgIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SWITCH-L2MAM-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SWITCH-L2MAM-EXT-MIB::hwMacTrapPortCfgLearn'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |
Conformance
Member of