Navigation
Supported Platforms
Disabling Layer 2 Learning and Forwarding
Disabling dynamic MAC learning on an MX Series router prevents all the logical interfaces on the router from learning source and destination MAC addresses.
To disable MAC learning for an MX Series router, include the global-no-mac-learning statement at the [edit protocols l2-learning] hierarchy level:
[edit protocols l2-learning]global-no-mac-learning;
For information about how to configure a virtual switch, see Configuring a Layer 2 Virtual Switch.