mac-flapping notification enable

Use mac-flapping notification enable to enable MAC address migration log notifying.

Use undo mac-flapping notification enable to disable the MAC address migration notifying.

Syntax

mac-flapping notification enable

undo mac-flapping notification enable

Default

MAC address migration log notifying is disabled.

Views

System view

Default command level:

2: System level

Usage guidelines

A MAC address migration log contains a MAC address, ID of the VLAN to which the MAC address belongs, source interface from which the MAC address migrates, and the current interface with which the MAC address associates.

After enabling MAC address migration log notifying, the MAC address migration log of the last 1 minute are displayed once every 1 minute.

Up to 10 logs can be saved on each card in 1 minute.

Examples

# Enable MAC address migration log notifying.

<Sysname> system-view
[Sysname] mac-flapping notification enable
[Sysname]
%Sep 21 14:09:22:420 2012 HPE MAC/5/MAC_FLAPPING: MAC address 0000-0012-0034 in vlan 500 has flapped from port Ethernet1/0/16 to port Ethernet1/0/1 1 time(s).

The output shows that the MAC address 0000-0012-0034 belongs to VLAN 500, the source interface from which the MAC address migrates from is Eth1/0/16, the current interface with which the MAC address associates is Eth1/0/1, and the MAC address migrates one time in the last one minute.