Configuring QoS
Attaching a Service Policy to an Interface or EFP
You use the service-policy interface configuration command to attach a service policy to an interface or
EFP (service instance) 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.
You can attach a service policy to a physical port or to an EFP. However, you cannot attach a service
policy to a physical port that has EFPs configured. If you try to configure an EFP on a switchport that
has a service policy attached, the service policy is detached.
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 or EFP, 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:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
service-policy {input | output}
policy-map-name
Step 4
end
Step 5
show policy-map [policy-map-name] [class
class-map-name]
Step 6
copy running-config startup-config
To remove the policy map and port association, use the no service-policy {input | output}
policy-map-name interface configuration command.
Beginning in privileged EXEC mode, follow these steps to attach a policy map to an EFP:
Command
Step 1
configure terminal
Step 2
interface interface-id
Cisco ME 3800X and 3600X Switch Software Configuration Guide
27-56
Purpose
Enter global configuration mode.
Specify the port to attach to the policy map, and enter interface
configuration mode. Valid interfaces are physical ports.
Specify the policy-map name and whether it is an input policy
map or an output policy map.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the port to attach to the policy map, and enter interface
configuration mode. Valid interfaces are physical ports.
Chapter 27
Configuring QoS
OL-23400-01
Need help?
Do you have a question about the 3845 - Security Bundle Router and is the answer not in the manual?