3Com Switch 7750 Configuration Guide

680 CHAPTER 61: QOS CONFIGURATION
selective QinQ function can tag a packet with external VLAN tags according to the
ACL rule that the packets matches on the inbound port.
The traffic-based selective QinQ function is configured on the hybrid port of the
edge device connecting the user device to the carrier’s network.
Configuration
Prerequisites
ACL rules used for traffic identifying are defined. Refer to “Choosing ACL
Mode for Traffic Flows” on page 639 for defining ACL rules.
ID of the external VLAN tag is specified
The ports that needs this configuration are specified
Configuration Procedure
acl-rule: Applied ACL rules which can be the combination of various ACL rules.
The way of combination is described in Table 541.
c
CAUTION:
Execute the vlan-vpn enable command in the corresponding port view before
executing the traffic-remark command.
The traffic-based selective QinQ function is generally configured on the hybrid
port of the edge device connecting the user device to the carrier’s network.
QinQ is mutually exclusive with Voice VLAN. That is, you cannot configure both
features on the same port.
The port on which the traffic-based selective QinQ function is configured and
the specified uplink port cannot be in the same aggregation group.
Table 551 Configure traffic-based selective QinQ
Operation Command Description
Enter system view system-view -
Create a VLAN vlan vlan-id The vlan-id argument is the ID
of external VLAN tag.
Enter Ethernet port view interface interface-type
interface-number
-
Set the port type to hybrid port link-type hybrid -
Add the hybrid port to the
specified VLAN
port hybrid vlan
vlan-id { tagged | untagged }
vlan-id is the ID of out-layer
VLAN Tag
Enable the QinQ feature in
the port view
vlan-vpn enable Required
Enter QoS view qos -
Enable the ACL rule for traffic
identifying and tag the
matching packets with
external VLAN tags
traffic-remark inbound
acl-rule [ system-index
system-index ] remark-vlan
vlan-id uplink interface-type
interface-number
[ untagged ]
Required
Display the traffic statistics display qos-interface
[ interface-type
interface-number ]
traffic-remark
Required
You can execute the display
command in any view
Display all the QoS settings on
the port
display qos-interface
[ interface-type
interface-number ] all