Step
Assign the port to all
4.
CVLANs.
5.
Enable basic QinQ.
6.
Apply the uplink policy to
incoming traffic.
7.
Apply the downlink policy to
outgoing traffic.
Configuring the network-side port
Step
1.
Enter system view.
2.
Enter Ethernet
interface view.
3.
Configure the link
type of the port.
4.
Assign the port to all
CVLANs.
Configuring many-to-one VLAN mapping
Before changing VLAN mappings on a port, clear all DHCP snooping entries by using the reset
dhcp-snooping command (see Layer 3—IP Services Command Reference).
Perform many-to-one VLAN mapping on campus devices (see
traffic from different users in one VLAN.
Command
•
As a trunk port:
port trunk permit vlan { vlan-list |
all }
•
As a hybrid port:
port hybrid vlan vlan-list tagged
qinq enable
qos apply policy policy-name inbound
qos apply policy policy-name outbound
Command
system-view
•
Enter Layer 2 Ethernet interface view:
interface interface-type interface-number
•
Ethernet port group view:
port-group manual port-group-name
•
Enter Layer 2 aggregate interface view:
interface bridge-aggregation
interface-number
•
Configure the port as a trunk port:
port link-type trunk
•
Configure the port as a hybrid port:
port link-type hybrid
•
As a trunk port:
port trunk permit vlan { vlan-list | all }
•
As a hybrid port:
port hybrid vlan vlan-list tagged
186
Remarks
Use one of the commands.
By default:
•
A trunk port is assigned to
only VLAN 1.
•
A hybrid port is an
untagged member of
VLAN 1.
By default, basic QinQ is
disabled.
N/A
N/A
Remarks
N/A
N/A
Use one of the commands.
The default link type of an
Ethernet port is access.
Use one of the commands.
By default:
•
A trunk port is assigned to
only VLAN 1.
•
A hybrid port is an untagged
member of VLAN 1.
Figure
64) to transmit the same type of