< Home

mac-address trap notification (network enhanced profile view)

Function

The mac-address trap notification command configures the alarm function for MAC address learning and aging in a network enhanced profile.

The undo mac-address trap notification command deletes the alarm function of MAC address learning and aging in a network enhanced profile.

By default, the alarm function for MAC address learning and aging is not configured in a network enhanced profile.

This command can only be executed on a parent switch.

Format

mac-address trap notification all

undo mac-address trap notification

Parameters

Parameter Description Value
all

Indicates the alarm function for MAC address learning and aging.

-

Views

Network enhanced profile view

Default Level

3: Management level

Usage Guidelines

After creating a network enhanced profile, you can configure the alarm function for MAC address learning and aging 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 trap notification all
#
In the preceding configuration, GigabitEthernet0/0/1 is used for reference only. The actual configuration is determined by the profile configuration.

Example

# Configure the alarm function for MAC address learning and aging.

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