arp anti-attack source-mac exclude-mac
Syntax
arp anti-attack source-mac exclude-mac mac-address&<1-10>
undo arp anti-attack source-mac exclude-mac [ mac-address&<1-10> ]
View
System view
Default level
2: System level
Parameters
mac-address&<1-10>: Specifies a MAC address list. The mac-address argument indicates a protected MAC address in the format H-H-H. &<1-10> indicates the number of protected MAC addresses that you can configure.
Description
Use arp anti-attack source-mac exclude-mac to configure protected MAC addresses that are excluded from ARP packet detection.
Use undo arp anti-attack source-mac exclude-mac to remove the configured protected MAC addresses.
By default, no protected MAC address is configured.
If no MAC address is specified in the undo arp anti-attack source-mac exclude-mac command, all the configured protected MAC addresses are removed.
Examples
# Configure a protected MAC address.
<Sysname> system-view [Sysname] arp anti-attack source-mac exclude-mac 2-2-2