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 }
| 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. |
None
Ethernet uplink (/eth-uplink)
| Release | Modification |
|---|---|
| 1.1(1) |
This command was introduced. |
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 #
|
Command |
Description |
|
set mode (eth-uplink) |
|
|
show eth-uplink |
|