mac-address notification mac-move

Use mac-address notification mac-move to enable MAC address move notifications and optionally set a MAC move detection interval.

Use undo mac-address notification mac-move to restore the default.

Syntax

mac-address notification mac-move [ interval interval-value ]

undo mac-address notification mac-move

Default

MAC address move notifications are disabled, and the MAC move detection interval for MAC address moves is 1 minute.

Views

System view

Predefined user roles

network-admin

Parameters

interval interval-value: Sets a detection interval for MAC address moves, in the range of 1 to 60 minutes. If you do not specify this option, the default setting of 1 minute is used.

Usage guidelines

With MAC address move notifications enabled, the system displays the MAC address move logs when it detects MAC address moves. Each record of the MAC address move logs contains the following information:

After you execute this command:

Within a detection interval, an IRF member device can display a maximum of 20 MAC address move records. The latest record will override the oldest one.

Examples

# Enable MAC address move notifications.

<Sysname> system-view
[Sysname] mac-address notification mac-move
[Sysname]
%May 14 17:16:45:688 2013 HPE MAC/4/MAC_FLAPPING: MAC address 0000-0012-0034 in VLAN 500 has moved from port XGE1/0/1 to port XGE1/0/2 for 1 times

The output shows that:

Related commands

display mac-address mac-move