Supported Platforms
mac-table-aging-time
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement updated in Junos OS Release 9.4 for EX Series switches to include [edit ethernet-switching-options] hierarchy level.
Description
You configure how long MAC addresses remain in the Ethernet switching table using the mac-table-aging-time statement in either the [edit ethernet-switching-options] or the vlans hierarchy, depending on whether you want to configure it for the entire switch or only for specific VLANs.
If you specify the time as unlimited, entries are never removed from the table. Generally, use this setting only if the switch or the VLAN has a fairly static number of end devices; otherwise the table will eventually fill up. You can use this setting to minimize traffic loss and flooding that might occur when traffic arrives for MAC addresses that have been removed from the table.
Default
Entries remain in the Ethernet switching table for 300 seconds
Options
seconds—Time that entries remain in the Ethernet switching table before being removed.
Range: 60 through 1,000,000 seconds
Default: 300 seconds
unlimited—Entries remain in the Ethernet switching table.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.