[edit interfaces interface-name]
Gigabit Ethernet interfaces can be partitioned. You can assign up to 4095 different logical
interfaces, one for each VLAN, but you are limited to a maximum of 1024 VLANs on any
single Gigabit Ethernet or 10-Gigabit Ethernet port.
Configuring VLAN IDs for Logical Interfaces
You can bind a VLAN identifier to a logical interface by including the vlan-id statement:
vlan-id number;
You can include this statement at the following hierarchy levels:
•
[edit interfaces interface-name unit logical-unit-number]
•
[edit logical-systems logical-system-name interfaces interface-name unit
logical-unit-number]
You can also configure a logical interface to forward packets and learn MAC addresses
within each VPLS routing instance configured with a VLAN ID that matches a VLAN ID
specified in a list using the vlan-id-list statement. VLAN IDs can be entered individually
using a space to separate each ID, entered as an inclusive list separating the starting
VLAN ID and ending VLAN ID with a hyphen, or a combination of both.
For example, to configure the VLAN IDs 20 and 45 and the range of VLAN IDs between
30 and 40, issue the following command from the CLI:
set interfaces ge-1/0/1 unit 1 vlan-id-list [20 30-40 45];
To configure a list of VLAN IDs for a logical interface, include the vlan-id-list statement:
vlan-id-list list-of-vlan-ids;
You can include this statement at the following hierarchy levels:
•
[edit interfaces interface-name unit logical-unit-number]
•
[edit logical-systems logical-system-name interfaces interface-name unit
logical-unit-number]
NOTE: ACX Series routers do not support the [edit logical-systems] hierarchy.
For more information about how to configure VLANs, see the Junos OS Network Interfaces
Library for Routing Devices. For detailed information about how VLAN identifiers in a VPLS
routing instance are processed and translated, see the MX Series Layer 2 Configuration
Guide.
Sample Scenario of Hierarchical Virtual Private LAN Service on Logical Tunnel Interface
This section describes how to configure the hierarchical virtual private LAN service
(H-VPLS) on ACX5048 and ACX5096 routers. Junos OS for ACX5048 and ACX5096
routers supports configuring H-VPLS using the logical tunnel interface encapsulation.
1259Copyright © 2017, Juniper Networks, Inc.
Chapter 35: Configuring Virtual Private LAN Service