Example: Binding Ranges Vlan Ids To Logical Interfaces; Binding A List Of Vlan Ids To A Logical Interface; Binding A List Of Vlan Ids To A Single-Tag Logical Interface - Juniper JUNOS 10.1 - CONFIGURATION GUIDE 1-2010 Configuration Manual

Network interfaces configuration
Table of Contents

Advertisement

Example: Binding Ranges VLAN IDs to Logical Interfaces

The following example configures two different ranges of VLAN IDs on two different
logical ports:

Binding a List of VLAN IDs to a Logical Interface

In JUNOS Release 9.5 and later, on MX Series routers you can bind a list of VLAN
IDs to a single logical interface, eliminating the need to configure a separate logical
interface for every VLAN or VLAN range. A logical interface that accepts packets
tagged with any VLAN ID specified in a VLAN ID list is called a VLAN-bundled logical
interface.
You can use VLAN-bundled logical interfaces to configure circuit cross-connects
between Layer 2 VPN routing instances or Layer 2 circuits. Using VLAN-bundled
logical interfaces simplifies configuration and reduces use of system resources such
as logical interfaces, next hops, and circuits.
As an alternative to configuring multiple logical interfaces (one for each VLAN ID and
one for each range of VLAN IDs), you can configure a single VLAN-bundled logical
interface based on a list of VLAN IDs.

Binding a List of VLAN IDs to a Single-Tag Logical Interface

To bind a list of VLAN IDs to a single-tag logical interface, include the
statement. Specify the VLAN IDs in the list individually by using a space to separate
each ID, as an inclusive list by separating the starting VLAN ID and ending VLAN ID
with a hyphen, or as a combination of both.
You can include the statement at the following hierarchy levels:
[edit interfaces]
ge-3/0/0 {
unit 0 {
encapsulation vlan-bridge;
vlan-id-range 500-600;
}
}
ge-3/0/1 {
flexible-vlan-tagging;
unit 0 {
encapsulation vlan-bridge;
vlan-id-range 200-300;
}
unit 1 {
encapsulation vlan-bridge;
vlan-tags outer 1000 inner-range 100-200;
}
}
vlan-id-list [ vlan-id vlan-id vlan-id ];
[edit interfaces ethernet-interface-name unit logical-unit-number]
Chapter 34: Configuring 802.1Q VLANs
Binding VLAN IDs to Logical Interfaces
vlan-id-list
627

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents