Statement introduced in Junos OS Release 9.0.
Statement updated in Junos OS Release 9.4 for EX Series switches to include [edit ethernet-switching-options] hierarchy level.
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[edit vlans] hierarchy, depending on whether you want to configure it for the entire device 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 device 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.
The mac-table-aging-time statement appears in the Junos OS CLI for devices that do not support the Enhanced Layer 2 Software (ELS) configuration style. If your device runs software that supports ELS, use the global-mac-table-aging-time statement, which appears in the [edit protocols l2-learning] hierarchy. For ELS details, see Using the Enhanced Layer 2 Software CLI.
Entries remain in the Ethernet switching table for 300 seconds.
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.