Configuring VLAN termination
NOTE:
In this documentation, SPC cards refer to the cards prefixed with SPC, for example, SPC-GT48L, and SPE
•
cards refer to the cards prefixed with SPE, for example, SPE-1020-E-II.
Only the SPE cards support VLAN termination.
•
Overview
Introduction to VLAN termination
VLAN termination refers to the following packet processing procedure:
A port receives a VLAN-tagged packet, removes its VLAN tag(s) and then forwards it via Layer 3 or
•
processes it in other ways. Whether the packet is tagged before being sent out depends on the port
configuration.
•
Before sending a packet, the port adds related VLAN information to it.
VLAN termination types
Based on the number of tags a VLAN-tagged packet carries, the VLAN-tagged packets falls into the
following types:
Dot1q packet (also known as an 802.1q packet), which carries a single VLAN tag
•
QinQ packet, which carries double VLAN tags
•
Accordingly, VLAN termination falls into the following types:
Dot1q termination—Terminates Dot1q packets and removes a Dot1q packet's single VLAN tag.
•
•
QinQ termination—Terminates QinQ packets and removes a QinQ packet's inner and outer VLAN
tags.
NOTE:
The router only supports QinQ termination.
•
•
A Layer 3 Ethernet interface cannot process VLAN-tagged packets, but you can create subinterfaces for
it to process VLAN-tagged packets.
A Layer 3 Ethernet subinterface receives and sends only VLAN-tagged packets.
•
Application scenarios
VLAN termination is mainly used for the following purposes:
Inter-VLAN communication
•
LAN-WAN communication
•
119