set mac-aging

To set up MAC aging, use the set mac aging command.

set mac-aging { number-of-days number-of-hours number -of-minutes number-of-seconds | mode-default | never }

Syntax Description

mode-default

The aging time default value for the configured Ethernet switching mode. For end-host mode, the default aging time is 7200 seconds; for switch mode, the default aging time is 300 seconds.

never

If the aging time is set to never the system will not remove MAC addresses from the table, regardless of how long they have been idle.

Command Default

None

Command Modes

Ethernet uplink (/eth-uplink)

Command History

Release Modification
1.1(1)

This command was introduced.

Usage Guidelines

Examples

This example shows how to set up MAC aging:

switch-A# scope eth-uplink
switch-A /eth-uplink # set mac-aging 359 11 59 59                                       
switch-A /eth-uplink* # commit-buffer
switch-A /eth-uplink #                     

Related Commands

Command

Description

set mode (eth-uplink)

 

show eth-uplink