[Contents] [Prev] [Next] [Index] [Report an Error]

Enabling VLAN Tagging

The JUNOS software supports receiving and forwarding routed Ethernet frames with 802.1Q virtual local area network (VLAN) tags and running Virtual Router Redundancy Protocol (VRRP) over 802.1Q-tagged interfaces. For VPLS to function properly, configure the router to receive and forward frames with 802.1Q VLAN tags by including the vlan-tagging statement:

vlan-tagging;

You can include the vlan-tagging statement at the [edit interfaces interface-name] hierarchy level.

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. Fast Ethernet interfaces can also be partitioned, with a maximum of 1024 logical interfaces for the 4-port FE PIC and 16 logical interfaces for the M40e Internet router. Table 12 lists VLAN ID range by interface type.

Table 12: VLAN ID Range by Interface Type

Interface Type

VLAN ID Range

Fast Ethernet

512 through 1023

Gigabit Ethernet

512 through 4094

To bind a VLAN ID to a logical interface, include the vlan-id statement:

vlan-id number;

You can include this statement at the following hierarchy levels:

For more information on how to configure VLANs, see the JUNOS Network Interfaces Configuration Guide. For detailed information about how VLAN identifiers in a VPLS routing instance are processed and translated, see the MX-series Layer 2 Configuration Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]