hwAclLinkSrcMacWild
HUAWEI-DSLAM-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.7.1.10
Object
Describes the source MAC address wildcard of data frames that an L2 ACL rule needs to match. It is the inverse mask of the source MAC address.
Default: 0xff 0xff 0xff 0xff 0xff 0xff
It together with hwAclLinkSrcMac sets the range of a source MAC address.
If the corresponding bytes of hwAclLinkSrcMacWild are 0, it indicates that hwAclLinkSrcMacWild determines
whether the corresponding bytes of source MAC address of packets are the same as those in hwAclLinkSrcMac.
For example, the value of hwAclLinkSrcMacWild is 0x00 0x00 0x00 0x00 0xff 0xff,
which indicates that packets are filtered by the first 32 bytes of the source MAC address.
It is a 6-byte hexadecimal string, for example, 0x00 0x00 0x00 0x00 0xff 0xff.
Context
- MIB
- HUAWEI-DSLAM-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.7.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclLinkEntry
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-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclLinkSrcMacWild'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclLinkSrcMacWild.<hwAclLinkAclNum>.<hwAclLinkSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-ACL-MIB::hwAclLinkSrcMacWild'
Syntax
- Source
- SNMPv2-TCMacAddress
- Base type
OctetString- Display format
1x:
Type Description
Represents an 802 MAC address represented in the `canonical' order defined by IEEE 802.1a, i.e., as if it were transmitted least significant bit first, even though 802.5 (in contrast to other 802.x protocols) requires MAC addresses to be transmitted most significant bit first.
Values & Constraints
Type Constraints
range: 6