mac-address notification mac-move suppression threshold

Use mac-address notification mac-move suppression threshold to set a threshold for MAC address moves sourced from an interface within a detection interval.

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

Syntax

mac-address notification mac-move suppression threshold threshold-value

undo mac-address notification mac-move suppression threshold

Default

The threshold is 3.

Views

System view

Predefined user roles

network-admin

Parameters

threshold-value: Sets the threshold for MAC address moves sourced from an interface within a detection interval. The value range for this argument is 0 to 1024.

Usage guidelines

The system shuts down the interface when the following conditions exist:

After the suppression interval elapses, the interface comes up automatically. You can also use the undo shutdown command to manually bring up the interface.

If the threshold is set to 0, the system shuts down an interface if a MAC address moves from the interface.

Examples

# Set the threshold to 1 for MAC address moves sourced from an interface within a detection interval.

<Sysname> system-view
[Sysname] mac-address notification mac-move suppression threshold 1