Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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

Note: This is not a complete router configuration.

Published: 2013-07-22