Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

    [edit]user@host# edit logical-systems logical-system-name
    For detailed information about logical systems, see the Logical Systems Feature Guide for Routing Devices.
  2. Enable configuration of a virtual-switch routing instance:

    [edit logical-systems logical-system-name]user@host# edit routing-instances routing-instance-nameuser@host# set instance-type virtual-switch
  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:

      [edit logical-systems logical-system-name]user@host# edit switch-options
    2. Configure Layer 2 learning and forwarding properties. For more information, see Layer 2 Learning and Forwarding for Bridge Domains Overview.
  5. Verify the configuration:

    [edit logical-systems logical-system-name switch-options]user@host# topuser@host# show logical-systems 
    logical-system-name {interfaces {...interface-configurations...}routing-instances {instance-type virtual-switch;}bridge-domains{...bridge-domain-configuration...}switch-options {interface logical-interface-name {...layer-2-learning-and-forwarding-configuration...}}protocols {(rstp | mstp | vstp) {interface interface-name;...spanning-tree-protocol-configuration...}}}

Published: 2013-07-22