User's Manual

Table Of Contents
21-26
3. Bind flexible Q-in-Q policy-map to port
Command
Explanation
Port mode
service-policy input<policy-map-name>
no service-policy input<policy-map-name>
Apply a policy-map to a port, the no
command deletes the specified
policy-map applied to the port.
Global mode
service-policy input<policy-map-name>
vlan<vid>
no service-policy input<policy-map-name>
vlan <vid>
Apply a policy-map to a VLAN, the no
command deletes the specified
policy-map applied to the VLAN.
4. Show flexible Q-in-Q policy-map bound to port
Command
Explanation
Admin mode
show mls qos {interface [<interface-id>]
Show flexible QinQ configuration on the
port.
21.3 Flexible Q-in-Q Example
Figure 21-1 Flexible Q-in-Q application topology
As shown in the figure, the first user is assigned three VLANs that the tag values are 1001, 2001, 3001
respectively in DSLAM1. VLAN1001 corresponds to Broad Band Network, VLAN2001 corresponds to VOIP,
VLAN3001 corresponds to VOD. After the downlink port enables flexible QinQ function, the packets will be
packed with different external tags according to VLAN ID of users.