295
By default, the age timer for protected MAC addresses is 300 seconds (five minutes).
Examples
# Configure the age timer for protected MAC addresses as 60 seconds.
<Sysname> system-view
[Sysname] arp anti-attack source-mac aging-time 60
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>: 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 the
arp anti-attack source-mac exclude-mac
command to configure protected MAC addresses
which will be excluded from ARP packet detection.
Use the
undo arp anti-attack source-mac exclude-mac
command 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
arp anti-attack source-mac threshold
Syntax
arp anti-attack source-mac threshold
threshold-value
undo arp anti-attack source-mac threshold
View
System view
Default level
2: System level