33-38
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 33 Configuring QoS
Configuring QoS
Attaching a Traffic Policy to an Interface
You use the
service-policy
interface configuration command to attach a traffic policy to an interface and
to specify the direction in which the policy should be applied: either an input policy map for incoming
traffic or an output policy map for outgoing traffic. Input and output policy maps support different QoS
features. See the
“Configuring Input Policy Maps” section on page 33-38
and the
“Configuring Output
Policy Maps” section on page 33-52
for restrictions on input and output policy maps.
You can attach a service policy only to a physical port. You can attach only one input policy map and
one output policy map per port.
Note
If you enter the
no
policy-map configuration command or the
no policy-map
policy-map-name
global
configuration command to delete a policy map that is attached to an interface, a warning message
appears that lists any interfaces from which the policy map is being detached. The policy map is then
detached and deleted. For example:
Warning: Detaching Policy test1 from Interface GigabitEthernet0/1
Beginning in privileged EXEC mode, follow these steps to attach a policy map to a port:
To remove the policy map and port association, use the
no service-policy
{
input
|
output
}
policy-map-name
interface configuration command.
Configuring Input Policy Maps
Policy maps specify which traffic class to act on and what actions to take. All traffic that fails to meet
matching criteria of a traffic class belongs to the default class. Input policy maps regulate traffic entering
the switch. In an input policy, you can match CoS, DSCP, IP precedence, ACLs, or VLAN IDs and
configure individual policing, aggregate policing, or marking to a CoS, DSCP, IP precedence, or QoS
group value.
Follow these guidelines when configuring input policy maps:
•
You can attach only one input policy map per port.
•
The maximum number of policy maps configured on the switch is 256.
•
The maximum number of classes in each input policy map is 64 plus
class-default
.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Specify the port to attach to the policy map, and enter interface
configuration mode. Valid interfaces are physical ports.
Step 3
service-policy
{
input
|
output
}
policy-map-name
Specify the policy-map name and whether it is an input policy
map or an output policy map.
Step 4
end
Return to privileged EXEC mode.
Step 5
show policy-map interface
[
interface-id
]
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...