5 configuring ieee 802.1q tunneling – PLANET SGSD-1022 User Manual

Page 581

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

5.21.5 Configuring IEEE 802.1Q Tunneling

IEEE 802.1Q tunneling (QinQ tunneling) uses a single Service Provider VLAN (SPVLAN) for customers who have multiple

VLANs. Customer VLAN IDs are preserved and traffic from different customers is segregated within the service provider’s

network even when they use the same customer-specific VLAN IDs. QinQ tunneling expands VLAN space by using a

VLAN-in-VLAN hierarchy, preserving the customer’s original tagged packets, and adding SPVLAN tags to each frame (also

called double tagging).

This section describes commands used to configure QinQ tunneling.

Command

Function

Mode

dot1q-tunnelsystem-tunnel-cont

rol

Configures the switch to operate in normal mode or QinQ mode GC

switchport dot1q-tunnel mode

Configures an interface as a QinQ tunnel port

IC

switchport dot1q-tunnel tpid

Sets the Tag Protocol Identifier (TPID) value of a tunnel port

IC

show dot1q-tunnel

Displays the configuration of QinQ tunnel ports

PE

show interfaces switchport

Displays port QinQ operational status

PE

Table 5-71 IEEE 802.1Q Tunneling Commands

General Configuration Guidelines for QinQ

1. Configure the switch to QinQ mode (

dot1q-tunnel system-tunnel-control

).

2. Create a SPVLAN (

vlan

).

3. Configure the QinQ tunnel access port to dot1Q-tunnel access mode (

switchport dot1q-tunnel mode

).

4. Set the Tag Protocol Identifier (TPID) value of the tunnel access port. This step is required if the attached client is using a

nonstandard 2-byte ethertype to identify 802.1Q tagged frames. The standard ethertype value is 0x8100. (See

switchport

dot1q-tunnel tpid

.)

5. Configure the QinQ tunnel access port to join the SPVLAN as an untagged member (

switchport allowed vlan

).

6. Configure the SPVLAN ID as the native VID on the QinQ tunnel access port (

switchport native vlan

).

7. Configure the QinQ tunnel uplink port to dot1Q-tunnel uplink mode (

switchport dot1q-tunnel mode

).

8. Configure the QinQ tunnel uplink port to join the SPVLAN as a tagged member (

switchport allowed vlan

).

Limitations for QinQ

• The native VLAN for the tunnel uplink ports and tunnel access ports cannot be the same. However, the same service VLANs

can be set on both tunnel port types.

• IGMP Snooping should not be enabled on an tunnel access port.

• If the spanning tree protocol is enabled, be aware that a tunnel access or tunnel uplink port may be disabled if the spanning

tree structure is automatically

reconfigured to overcome a break in the tree. It is therefore advisable to disable spanning tree on these ports.

581

Advertising
This manual is related to the following products: