arp detection log enable

Use arp detection log enable to enable ARP attack detection logging.

Use undo arp detection log enable to disable ARP attack detection logging.

Syntax

arp detection log enable [ interval interval ]

undo arp detection log enable

Default

ARP attack detection logging is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

interval interval: Specifies the interval for sending ARP detection logs to the information center, in seconds. The value for this argument can be 0 or a value in the range of 10 to 3600. The default value is 60. If you set the interval to 0 seconds, the device sends ARP detection logs to the information center immediately.

Usage guidelines

This feature enables the device to generate ARP detection logs and send them to the information center. For information about the log destination and output rule configuration in the information center, see Network Management and Monitoring Configuration Guide.

As a best practice, disable this feature if the log generation affects the device performance.

A card, member device, or device can send a maximum of 128 ARP detection logs each time.

Examples

# Enable ARP attack detection logging.

<Sysname> system-view
[Sysname] arp detection log enable