3Com Switch 7750 Configuration Guide Guide

Configuring Traffic-Based Flexible QinQ 635
Configuration
Prerequisites
ACL rules used for traffic identifying are defined. Refer to the ACL module in
the book 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 507.
c
CAUTION:
Execute the vlan-vpn enable command in the corresponding port view before
executing the traffic-remark command.
Table 506 Configure traffic-based flexible 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
Table 507 The way of applying combined ACL rules
ACL combination Form of the acl-rule argument
Apply all the rules in an IP ACL separately ip-group { acl-number | acl-name }
Apply a rule in an IP ACL separately
ip-group { acl-number | acl-name } rule
rule-id
Apply all the rules in a Link ACL separately link-group { acl-number | acl-name }
Apply a rule in a Link ACL separately
link-group { acl-number | acl-name } rule
rule-id
Apply a rule in an IP ACL and a rule in a Link
ACL at the same time
ip-group { acl-number | acl-name } rule
rule-id link-group { acl-number | acl-name }
rule rule-id