hwDynMacAddrQueryVsiName
HUAWEI-L2MAM-MIB ·
.1.3.6.1.4.1.2011.5.25.42.2.1.33.1.2
Object
column OctetString
The vsi name for index 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.33.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwDynMacAddrQueryEntry
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::hwDynMacAddrQueryVsiName'
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::hwDynMacAddrQueryVsiName.<hwDynMacAddrQueryVlanId>.<hwDynMacAddrQueryVsiName>.<hwDynMacAddrQuerySiName>.<hwDynMacAddrQueryBridgeId>.<hwDynMacAddrQueryMacAddr>.<hwDynMacAddrQueryConditionMode>.<hwDynMacAddrQueryConditionStringA>.<hwDynMacAddrQueryConditionStringB>.<hwDynMacAddrQueryConditionDigitA>.<hwDynMacAddrQueryConditionDigitB>.<hwDynMacAddrQueryConditionDigitC>'
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::hwDynMacAddrQueryVsiName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-32