Configuring Layer 2 Logical Interfaces
To configure a Layer 2 logical interface as an access interface, you must specify the VLAN identifier that the interface assigns to untagged packets. To configure a Layer 2 logical interface as a trunk interface, you specify one or more VLAN identifiers accepted by the interface.
Before You Begin |
|---|
For background information, read Understanding Layer 2 Interfaces. Refer to the example configuration in Configuring Bridge Domains. |
This example configures logical interface ge-3/0/0.0 as a trunk port that carries traffic for packets tagged with VLAN identifiers 1 through 10; this interface is implicitly assigned to the previously configured bridge domains bd1 and bd2. Any untagged packets received on the physical interface ge-3/0/0 are assigned the VLAN identifier 10.
You can use either J-Web or the CLI configuration editor to configure Layer 2 logical interfaces.
This topic covers:
J-Web Configuration
To configure a Layer 2 logical interface as a trunk port:
- Select Configure>CLI Tools>Point and Click CLI.
- Next to Interfaces, click Configure or Edit.
- In the Interface name column, select ge-3/0/0.
- Under Unit, in the Interface unit number column, click 0.
- Next to Family group, select Bridge and then click Configure.
- Next to Interface mode, select trunk.
- Next to Vlan list, select Vlan id list.
- In the Vlan id box, type 1–10.
- Click OK to return to the Family page.
- Click OK to return to the Unit page.
- Click OK to return to the Interface page.
- Click OK to return to the Interfaces page.
To configure a VLAN ID for untagged packets received on a physical interface:
- Select Configure>CLI Tools>Point and Click CLI.
- Next to Interfaces, click Configure or Edit.
- In the Interface name column, select ge-3/0/0.
- In the Native vlan id box, type 10.
- Next to Vlan tag mode, select Vlan tagging.
- Click OK to return to the Interfaces page.
CLI Configuration
To configure a Layer 2 logical interface as a trunk port:
To configure a VLAN identifier for untagged packets received on a physical interface:
Hide Navigation Pane
Show Navigation Pane
Download
SHA1