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.
See Also
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:
See Also
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).
[edit] interfaces { ge-5/0/1 { flexible-vlan-tagging; } } logical-systems { logical-sys1 { interfaces { ge-5/0/1 { unit 0 { family bridge { interface-mode trunk; vlan-id-list 1–5; } } unit 3 { family bridge { interface-mode trunk; vlan-id-list 11–15; } } } ge-5/0/2 { unit 0 { family bridge { interface-mode trunk; vlan-id-list 1–5; } } } } routing-instances { routing-inst-1 { interface ge-5/0/2; instance-type virtual-switch; bridge-domains { vlan-id 1; } protocols { rstp { interface ge-5/0/2; } } } } bridge-domains { bd-1 { vlan-id 1; } } switch-options { interface ge-5/0/1.3 { interface-mac-limit { 1400; packet-action drop; } } } protocols { rstp { interface ge-5/0/1; } } } }
This is not a complete router configuration.