Qinq Enable - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

The nest action cannot be applied to a VLAN or globally.
Related commands: qos policy, traffic behavior and classifier behavior in the QoS Configuration
Commands of the ACL and QoS Command Reference.
Examples
# Configure the action of inserting the outer VLAN tag, setting the VLAN ID to 100.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] nest top-most vlan-id 100

qinq enable

Syntax
qinq enable
undo qinq enable
View
Ethernet interface view, Layer 2 aggregate interface view, port group view, OLT port view
Default Level
2: System level
Parameters
None
Description
Use the qinq enable command to enable basic QinQ on the current Ethernet port(s).
Use the undo qinq enable command to disable basic QinQ on the current Ethernet port(s).
By default, basic QinQ is disabled on Ethernet ports.
A basic QinQ-enabled port tags received frames with the port's default VLAN tag.
Note that:
Configuration made in Ethernet interface view takes effect on the current port only. Configuration
made in Layer 2 aggregate interface view takes effect on the Layer 2 aggregate interface and the
member ports in its aggregation group. Configuration made in port group view takes effect on all
ports in the port group.
You can configure this command on a Layer 2 aggregate interface and its member ports
separately. Configuration made on an aggregation member port takes effect immediately. For
more information about link aggregation, see Ethernet Link Aggregation Configuration in the Layer
2 – LAN Switching Configuration Guide.
Examples
# Enable basic QinQ on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qinq enable
# Enable basic QinQ on port group 1.
<Sysname> system-view
[Sysname] port-group manual 1
18-2

Advertisement

Table of Contents
loading

Table of Contents