Configuring basic qinq, Configuring selective qinq, 4 configuring selective qinq – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 103

Advertising
background image

12-4

Protocol type

Value

MPLS 0x8847/0x8848

IPX/SPX 0x8137

IS-IS 0x8000

LACP 0x8809

802.1x 0x888E

Cluster 0x88A7

Reserved 0xFFFD/0xFFFE/0xFFFF

Configuring Basic QinQ

Follow these steps to configure basic QinQ:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet
port view

interface interface-type
interface-number

Enter Ethernet
port view or
port group
view

Enter port
group view

port-group

{ manual

port-group-name |
aggregation

agg-id }

Required
Use either command.
Configurations made in Ethernet port view
will take effect on the current port only;
configuration made in port group view will
take effect on all ports in the port group.

Enable QinQ on the port(s)

qinq enable

Required
Disabled by default.

Configuring Selective QinQ

The outer VLAN tag added to a frame by the basic QinQ feature is the VLAN tag corresponding to the
port’s default VLAN ID, while the selective QinQ feature allows adding different outer VLAN tags based
on different inner VLAN tags.

With selective QinQ configured on a port, the device attaches different outer VLAN tags based on the
inner VLAN tags; frames with a VLAN ID out of the range specified in the raw-vlan-id inbound
command are attached the port’s default VLAN tag as the outer tag.

Follow these steps to configure selective QinQ:

Advertising