Introduction Configuring Queue Mapping
Software Reference for SwitchBlade x3100 Series Switches (Access and Security)
6-70
The configuration uses the following classifiers.
• Voice traffic is associated with a VLAN (VID 301)
• Data traffic for the pc can accept packets from any IP address.
• Video is sent from the webcam to a video hub.
• The quality of service is determined through priority queuing.
TABLE 6-14 Configuration procedure for QoS
Step Command Description (Optional)
Set up the association of p-bits and egress queues
1
SET QOS VLAN8QUEUEMAP=0,0,0,0,1,0,2,0 VLAN4QUEUEMAP=0,0,0,0,1,0,2,0
show qos
--- Quality of Service Queue Mapping ------------------------------------
Priority Level QoS Egress Queue
-------------- ---------------------------------------------------------
p-bit value 8 Queue Capable Interface 4 Queue Capable Interface
-------------- ------------------------------- -------------------------
0 0 0
1 0 0
2 0 0
3 0 0
4 1 1
5 0 0
6 2 2
7 0 0
Create the classifiers for these classes of service and make the associations
2
CREATE CLASSIFIER=qos_voice VID=300
CREATE CLASSIFIER qos_data IPSOURCE=ANY MACSOURCE=ANY
CREATE CLASSIFIER qos_video IPDEST=10.52.17.19
Associate an action with each classifier, in this case the 802.1 p-bits
3
ADD ACTION CLASSIFIER=qos_voice SETVPRIORITY=6
ADD ACTION CLASSIFIER=qos_video SETVPRIORITY=4
ADD ACTION CLASSIFIER=qos_data SETVPRIORITY=0
Associate the classifier qos_voice with the interface
4
ADD CLASSIFIER qos_voice INTERFACE=0.0 PRECEDENCE=148