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