© 2011 Fujitsu Technology Solutions
51
13.2.2 Change queue of packets in VLAN
This section describes how to configure change queue function which changes queue which
the received packets in ingress port use in egress port.
Beginning in privileged EXEC mode, follow these steps to configure change queue on specific
interface:
Command Purpose
Step 1 configure Enter global configuration mode
Step 2 diffserv Enable DiffServ Admin mode.
Step 3 class-map match-all
class-map-name
Create a DiffServ class with a class-map
name.
Step 4 match cos <0-7> Configure a match condition based on a
CoS value..
Step 5 exit Return to global configuration mode.
Step 6 policy-map policy-name in Create a DiffServ policy with a policy-map
name.
Step 7 class class-map-name Attach the DiffServ class to this policy.
Step 8 assign-queue <0-6> Set queue ID to which traffic class is
assigned.
Step 9 exit Return to policy-map configuration mode.
Step 10 exit Return to global configuration mode.
Step 11 interface interface-id Specify the interface, and enter interface
configuration mode. The interface can be a
physical Layer 2 interface or a port channel
(logical interface).
Step 12 service-policy in policy-map-name Specify the policy which will be applied to
this interface.
Step 13 exit Return to global configuration mode.
Step 14 exit Return to privileged EXEC mode.
Step 15 show policy-map
policy-map-name
Verify the configuration.
To configure change queue to interface, use the diffserv global configuration command.
To display the policy configuration, use show policy-map privileged EXEC command. To
display the class configuration, use show class-map privileged EXEC command.
In this example, DiffServ is configured on interface 0/1 to change queue which the received
packets in ingress port use in egress port:
(BX900-CB1)#configure
(BX900-CB1)(Config)#diffserv
(BX900-CB1)(Config)#class-map match-all class2
(BX900-CB1)(Config-classmap)#match cos 2
(BX900-CB1)(Config-classmap)#exit
(BX900-CB1)(Config)#policy-map policy2 in