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

Configuring Bridge Domains as Switches for Layer 2 Trunk Ports

You can configure a set of bridge domains that are associated with a Layer 2 trunk port. The set of bridge domains function as a switch. Packets received on a trunk interface are forwarded within a bridge domain that has the same VLAN identifier. A trunk interface also provides support for IRB, which provides support for Layer 2 bridging and Layer 3 IP routing on the same interface.

To configure a Layer 2 trunk port and set of bridge domains, include the following statements:

[edit interfaces]interface-name {unit number {family bridge {interface-mode access;vlan-id number;}}}interface-name {native-vlan-id number;unit number {family bridge {interface-mode trunk;vlan-id-list [ vlan-id-numbers ];}}}[edit bridge-domains]bridge-domain-name {vlan-id number;vlan-id-list [ vlan-id-numbers ];. . . .}

For interface-mode trunk, you can include the vlan-id-list statement.

You must configure a bridge domain and VLAN identifier for each VLAN associated with the trunk interface. You can configure one or more trunk or access interfaces at the [edit interfaces] hierarchy level. An access interface enables you to accept packets with no VLAN identifier. For more information about configuring trunk and access interfaces, see the Junos Network Interfaces Configuration Guide.

Published: 2010-05-11

[an error occurred while processing this directive]