< Home

mac-address flapping action (network enhanced profile view)

Function

The mac-address flapping action command configures the action taken on an interface in case of MAC address flapping in a network enhanced profile.

The undo mac-address flapping action command deletes the action taken on an interface in case of MAC address flapping in a network enhanced profile.

By default, in a network enhanced profile, the system does not perform any action when detecting MAC address flapping on an interface.

This command can only be executed on a parent switch.

Format

mac-address flapping action error-down

undo mac-address flapping action error-down

Parameters

Parameter Description Value
error-down

Configures the system to set an interface to the Error-Down state when detecting MAC address flapping on this interface.

-

Views

Network enhanced profile view

Default Level

3: Management level

Usage Guidelines

After creating a network enhanced profile, you can configure the action taken on an interface when MAC address flapping occurs on the interface in the profile. After the profile is bound to an AS port, the configuration is automatically delivered to the AS port. The following configuration is generated on the AS:
#
interface GigabitEthernet0/0/1
 mac-address flapping action error-down
#
In the preceding configuration, GigabitEthernet0/0/1 is used for reference only. The actual configuration is determined by the profile configuration.

Example

# Configure the system to set an interface to the Error-Down state when detecting MAC address flapping on this interface.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] network-enhanced-profile name profile_1
[HUAWEI-um-net-enhanced-profile_1] mac-address flapping action error-down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >