hwMacInfoQueryConditionMode

HUAWEI-L2MAM-MIB · .1.3.6.1.4.1.2011.5.25.42.2.1.34.1.1

Object

column Enumeration
Mode for query condition of layer 2 dynamic mac-address query table.

Context

MIB
HUAWEI-L2MAM-MIB
OID
.1.3.6.1.4.1.2011.5.25.42.2.1.34.1.1
Type
column
Access
noaccess
Status
current
Parent
hwMacInfoQueryEntry

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-L2MAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MAM-MIB::hwMacInfoQueryConditionMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L2MAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MAM-MIB::hwMacInfoQueryConditionMode.<hwMacInfoQueryConditionMode>.<hwMacInfoQueryConditionStringA>.<hwMacInfoQueryConditionStringB>.<hwMacInfoQueryConditionStringC>.<hwMacInfoQueryConditionDigitA>.<hwMacInfoQueryConditionDigitB>.<hwMacInfoQueryConditionDigitC>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2MAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2MAM-MIB::hwMacInfoQueryConditionMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1showtotalnumberbyall
2showtotalnumberbytype
3showtotalnumberbytypevlan
4showtotalnumberbytypeport
5showtotalnumberbytypeportvlan
6showtotalnumberbyvlan
7showtotalnumberbyport
8showtotalnumberbyportvlan
9showtotalnumberbytypevsi
10showtotalnumberbytypeportvsi
11showtotalnumberbyvsi
12showtotalnumberbyportvsi
13showtotalnumberbyvsipw
14showtotalnumberbytypeslot
15showtotalnumberbytypeslotvlan
16showtotalnumberbytypeslotport
17showtotalnumberbytypeslotportvlan
18showtotalnumberbytypeslotvsi
19showtotalnumberbytypeslotportvsi
20showtotalnumberbytypeslotvsipw
21showcapacity