Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Disabling Layer 2 Learning and Forwarding

Disabling dynamic MAC learning on an MX Series router or an EX Series switch prevents all the logical interfaces on the router or switch from learning source and destination MAC addresses.

To disable MAC learning for an MX Series router or an EX Series switch, include the global-no-mac-learning statement at the [edit protocols l2-learning] hierarchy level:

For information about how to configure a virtual switch, see Configuring a Layer 2 Virtual Switch .