< Home

mac-address trap notification interval

Function

The mac-address trap notification interval command sets the interval at which the device checks MAC address learning or aging.

The undo mac-address trap notification interval command restores the default interval at which the device checks MAC address learning or aging.

By default, the device checks MAC address learning or aging at intervals of 10s.

Format

mac-address trap notification interval interval-time

undo mac-address trap notification interval

Parameters

Parameter

Description

Value

interval-time

Specifies the interval at which the device checks MAC address learning or aging.

The value is an integer that ranges from 10 to 600, in seconds. The default value is 10.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the mac-address trap notification command is used to enable the trap function when the device learns MAC addresses or MAC addresses are aged, the device periodically checks whether MAC addresses are learned or aged. You can run the mac-address trap notification interval command to set the interval.

Example

# Set the interval at which the device checks MAC address learning or aging to 20s.

<HUAWEI> system-view
[HUAWEI] mac-address trap notification interval 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >