Technical Documentation

mac-limit

Syntax

mac-limit number;

Hierarchy Level

[edit vlans vlan-name]

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

Configure the number of MAC addresses allowed on a VLAN.

The number of MAC addresses allowed per VLAN varies between EX switches. The output of the set vlans vlan-name mac-limit ? provides the number of MAC addresses allowed on your EX switch.

Default

MAC limit is disabled.

Options

number—Maximum number of MAC addresses.

Range: 1 through 32768.

Note: Do not set the mac-limit to 1. The first learned MAC address is often inserted into the forwarding database automatically (for instance, for Routed VLAN Interfaces the first MAC address inserted into the forwarding database is the MAC address of the RVI. For Aggregated Ethernet bundles using LACP, the first MAC address inserted into the forwarding database in the forwarding table is the source address of the protocol packet). The switch will therefore not learn MAC addresses other than the automatic addresses when the mac-limit is set to 1, and this will cause problems with MAC learning and forwarding.

Required Privilege Level

routing—To view this statement in the configuration.

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


Published: 2010-06-22

Help
|
My Account
|
Log Out