[an error occurred while processing this directive][an error occurred while processing this directive]

Configuring a Virtual Switch Routing Instance

On MX Series routers only, use the virtual-switch routing instance type to isolate a LAN segment with its spanning-tree instance and to separate its VLAN ID space. A bridge domain consists of a set of ports that share the same flooding or broadcast characteristics. Each virtual switch represents a Layer 2 network. You can optionally configure a virtual switch to support Integrated Routing and Bridging (IRB), which facilitates simultaneous Layer 2 bridging and Layer 3 IP routing on the same interface. You can also configure Layer 2 control protocols to provide loop resolution. Protocols supported include the Spanning-Tree Protocol (STP), Rapid Spanning-Tree Protocols (RSTP), Multiple Spanning-Tree Protocol (MSTP), and VLAN Spanning-Tree Protocol (VSTP).

To create a routing instance for a virtual switch, include at least the following statements in the configuration:

[edit]routing-instances {routing-instance-nameinstance-type virtual-switch;bridge-domains {bridge-domain-name {domain-type bridge;interface interface-name;vlan-id (all | none | number);vlan-tags outer number inner number;}}protocols {(rstp | mstp | vstp) {...stp-configuration ...}}}}

The instance-type virtual-switch statement is not supported at the [edit logical-systems logical-system-name] hierarchy level.

For more information about configuring virtual switches, see Configuring a Layer 2 Virtual Switch.

Published: 2010-05-11

[an error occurred while processing this directive]