3 Configuring the Switch

CLI – This example sets the switch to operate in QinQ mode.

Console(config)#dot1q-tunnel

system-tunnel-control

52-14

Console(config)#exit

 

 

 

Console#show dot1q-tunnel

 

 

52-16

Current double-tagged status

of the system

is Enabled

 

The dot1q-tunnel mode of the

set interface

1/1 is Access mode, TPID is

0x8100.

set interface

1/2 is Uplink mode, TPID is

The dot1q-tunnel mode of the

0x8100.

set interface

1/3 is Normal mode, TPID is

The dot1q-tunnel mode of the

0x8100.

set interface

1/4 is Normal mode, TPID is

The dot1q-tunnel mode of the

0x8100.

set interface

1/5 is Normal mode, TPID is

The dot1q-tunnel mode of the

0x8100.

 

 

 

.

 

 

 

.

set interface

1/24 is Normal mode, TPID is

The dot1q-tunnel mode of the

0x8100.

 

 

 

Console#

 

 

 

Adding an Interface to a QinQ Tunnel

Follow the guidelines in the preceding section to set up a QinQ tunnel on the switch. Use the VLAN Port Configuration or VLAN Trunk Configuration screen to set the access port on the edge switch to 802.1Q Tunnel mode. Also set the Tag Protocol Identifier (TPID) value of the tunnel port if the attached client is using a nonstandard 2-byte ethertype to identify 802.1Q tagged frames.

Command Usage

Use the 802.1Q Tunnel Status screen to set the switch to QinQ mode before configuring a tunnel port (see “Displaying Basic VLAN Information” on page 3-126).

Use the TPID field to set a custom 802.1Q ethertype value on the selected interface. This feature allows the switch to interoperate with third-party switches that do not use the standard 0x8100 ethertype to identify 802.1Q-tagged frames. For example, 0x1234 is set as the custom 802.1Q ethertype on a trunk port, incoming frames containing that ethertype are assigned to the VLAN contained in the tag following the ethertype field, as they would be with a standard 802.1Q trunk. Frames arriving on the port containing any other ethertype are looked upon as untagged frames, and assigned to the native VLAN of that port.

All members of a VLAN should be set to the same ethertype.

Command Attributes

Mode – Set the VLAN membership mode of the port. (Default: Normal)

-Normal – The port operates in its normal VLAN mode.

-802.1Q Tunnel – Configures IEEE 802.1Q tunneling (QinQ) for a client access port to segregate and preserve customer VLAN IDs for traffic crossing the service provider network.

3-138

Page 182
Image 182
SMC Networks SMC8150L2 Adding an Interface to a QinQ Tunnel, CLI This example sets the switch to operate in QinQ mode