Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

global-mac-table-aging-time

Syntax

Hierarchy Level

Description

Configure the timeout interval in seconds for entries in the MAC table.

The global-mac-table-aging-time statement appears in the Junos OS CLI for devices that support the Enhanced Layer 2 Software (ELS) configuration style. If your device runs software that does not support ELS, use the mac-table-aging-time statement, which appears in the [edit ethernet-switching-options] and the [edit vlans] hierarchies. For ELS details, see Using the Enhanced Layer 2 Software CLI.

Note:

On Junos OS Evolved QFX Series leaf devices in scaled EVPN-VXLAN networks with an edge-routed bridging (ERB) overlay, to avoid traffic loss, make sure that:

  • The MAC table aging time global-mac-table-aging-time value is at least 10 minutes greater than the ARP aging timer. The default ARP aging timer value is 20 minutes, which can be adjusted using the aging-timer option (value is in minutes) at the [edit system arp] hierarchy level.

  • The MAC-IP table aging time is the same as the ARP aging timer. You set the MAC-IP table aging time (value is in seconds) using the global-mac-ip-table-aging-time option at the [edit protocols l2-learning] hierarchy level. By default, the MAC-IP table aging time is 1200 seconds (20 minutes), the same as the ARP aging timer. As a result, if you change the ARP aging timer from its default value, you should likewise adjust the MAC-IP table aging time to match.

For example, if you use the default ARP aging timer and the matching default MAC-IP table aging time of 20 minutes, set this global-mac-table-aging-time option to 1800 seconds (30 minutes) or more.

Default

300 seconds (5 minutes)

Options

seconds—Time elapsed before MAC table entries are timed out and entries are deleted from the table.

  • Range:

    • MX Series routers: 10 through 1 million seconds

    • Junos OS EX Series and QFX Series switches: 60 through 1 million seconds

    • Junos OS Evolved QFX Series switches: 10 through 999,999 seconds

    • SRX Series Firewalls: 10 through 64,000 seconds

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.2.

Statement modified in Junos OS Release 9.5.

Support for logical systems added in Junos OS Release 9.6.