Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Layer 2 Learning and Forwarding on Logical Systems

Logical Systems enables you to configure Layer 2 MAC address and VLAN learning and forwarding properties in support of Layer 2 bridging. For more information, see the following topics:

Layer 2 Learning and Forwarding in a Logical System Overview

You can partition a single physical router into multiple logical devices called logical systems that perform independent routing tasks. Logical systems perform a subset of the actions of a physical router and have their own unique routing tables, interfaces, policies, and routing instances. On MX Series routers only, you can enable Layer 2 learning and forwarding in a logical system for bridge domains or other virtual-switch routing instances.

When enabling Layer 2 learning and forwarding in a logical system for bridge domains or other virtual-switch routing instances, the following guidelines apply:

  • You can only configure 16  logical systems.

  • Logging is performed for the entire device and not per logical system.

  • You cannot restart Layer 2 learning for an individual logical system.

Enabling Layer 2 Learning and Forwarding in a Logical System

On MX Series router, you can enable Layer 2 learning and forwarding in a logical system for bridge domains or other virtual-switch routing instances.

Before you begin, configure the interfaces for the logical system.

To configure Layer 2 learning and forwarding in a logical system for bridge domains or other virtual-switch routing instances:

  1. Enable configuration of a logical system:

    For detailed information about logical systems, see the Logical Systems User Guide for Routers and Switches.

  2. Enable configuration of a virtual-switch routing instance:
  3. Configure the set of bridge-domains or other virtual-switch routing instances.
  4. Configure Layer 2 learning and forwarding properties for a set of bridge domains:

    1. Enable configuration of Layer 2 learning and forwarding properties:

    2. Configure Layer 2 learning and forwarding properties. For more information, see Understanding Layer 2 Learning and Forwarding for Bridge Domains .
  5. Verify the configuration:

Example: Configuring Layer 2 Learning and Forwarding and RSTP in a Logical System

The following example configures a logical system and routing instance with its own bridge domain (bd1), switch options, and spanning- tree protocol (rstp).

Note:

This is not a complete router configuration.