Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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 ...}}}}

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

Published: 2013-09-24