< Home

firewall mac-binding acl-number

Function

The firewall mac-binding acl-number command specifies the packets to implement IP-MAC binding checks. The IP-MAC binding check is implemented only on the packets that match the ACL rule with the permit action. If the IP-MAC mapping entry cannot be found based on the IP address or the bound MAC address is incorrect, the packet is discarded.

The undo firewall mac-binding acl-number command cancels the preceding configuration. That is, IP-MAC binding checks are implemented on all packets.

Format

firewall mac-binding acl-number acl-number

undo firewall mac-binding acl-number

Parameters

Parameter Description Value
acl-number Specifies an ACL number. The value is an integer ranging from 2000 to 3999.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Configure IP-MAC binding through ACL2020.

<sysname> system-view
[sysname] firewall mac-binding acl-number 2020
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >