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 an excluded MAC address in the format H-H-H. &<1-10> indicates the number of MAC addresses that you can exclude.

Description

Use arp anti-attack source-mac exclude-mac to exclude specific MAC addresses from source MAC address based ARP attack detection.

Use undo arp anti-attack source-mac exclude-mac to remove the specified MAC addresses.

By default, no MAC address is excluded from source MAC address based ARP attack detection.

If no MAC address is specified in the undo arp anti-attack source-mac exclude-mac command, all configured protected MAC addresses are removed.

Examples

# Exclude a MAC address from source MAC based ARP attack detection.

<Sysname> system-view
[Sysname] arp anti-attack source-mac exclude-mac 2-2-2