mac-address-table aging-time

Configures the aging time for dynamic MAC address entries in the MAC address table.

Syntax

mac-address-table aging-time seconds
no mac-address-table aging-time

Command Default

Default aging time is 1800 seconds.

Parameters

aging-time seconds
To disable MAC address aging, specify 0. To enable MAC address aging, specify a value from 60 through 86400.

Modes

Global configuration mode

Usage Guidelines

MAC address aging configuration per VLAN is not supported.

The no form of the command restores the default value.

Examples

The following example configures the MAC aging period as 400 seconds.

device# configure terminal
device(config)#  mac-address-table aging-time 400