Cisco IE-4000 Software Configuration Manual page 638

Industrial ethernet switch
Hide thumbs Also See for IE-4000:
Table of Contents

Advertisement

Configuring QoS
Configuring QoS
You cannot configure priority queuing without policing for a traffic class when class-based shaping (shape average)
or CBWFQ (bandwidth) is configured for another class within the output policy-map.
When you configure priority queuing without policing for a traffic class, you can only configure the other queues for
sharing by using the bandwidth remaining percent policy-map class configuration command to allocate excess
bandwidth. This command does not guarantee the allocated bandwidth, but does ensure the rate of distribution.
Beginning in privileged EXEC mode, follow these steps to configure a strict priority queue:
Command
1.
configure terminal
2.
class-map class-map-name
3.
policy-map policy-map-name
4.
class class-map-name
5.
priority
6.
exit
7.
class class-map-name
8.
bandwidth remaining percent value
9.
exit
10.
exit
11.
interface interface-id
12.
service-policy output
policy-map-name
13.
end
14.
show policy-map
15.
copy running-config startup-config
After you have created an output policy map, you attach it to an egress port. See
page
609.
Use the no form of the appropriate command to delete an existing policy map or class map or to cancel strict priority
queuing for the priority class or the bandwidth setting for the other classes.
This example shows how to configure the class out-class1 as a strict priority queue so that all packets in that class are
sent before any other class of traffic. Other traffic queues are configured so that out-class-2 gets 50 percent of the
remaining bandwidth and out-class3 gets 20 percent of the remaining bandwidth. The class class-default receives the
remaining 30 percent with no guarantees.
Switch(config)# policy-map policy1
Switch(config-pmap)# class out-class1
Switch(config-pmap-c)# priority
Purpose
Enter global configuration mode.
Create classes for three egress queues. Enter match conditions
classification for each class.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
Enter the name of the priority class (created by using the class-map
global configuration command), and enter policy-map class
configuration mode for the priority class.
Set the strict scheduling priority for this class.
Note:
Only one unique class map on the switch can be associated with a
priority command. You cannot configure priority along with any other
queuing action (bandwidth or shape average).
Exit policy-map class configuration mode for the priority class.
Enter the name of a nonpriority class, and enter policy-map class
configuration mode for that class.
Set output bandwidth limits for the policy-map class as a percentage of
the remaining bandwidth. The range is 1 to 100 percent.
Exit policy-map class configuration mode for the class
Return to global configuration mode.
Enter interface configuration mode for the interface to which you want to
attach the policy.
Attach the policy map (created in Step 3) to the egress interface.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
634
Attaching a Traffic Policy to an Interface,

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie-5000Ie-4010

Table of Contents