13-6
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
Chapter 13 Configuring Quality of Service
Configuring QoS
Note When the policing action is used with a “match any” class (policing an entire interface), and flow control
send is enabled, then flow control will be used to back-off the source port to the configured police rate,
rather than discarding the over-limit traffic.
Applying Policy Map to Interface
Beginning in global configuration mode, follow these steps to apply a policy map to an interface using
the service-policy command.
Note Applying an input policy map to a Fast Ethernet or Gigabit Ethernet interface with port based policing
is required to enable flow control on that interface.
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class map, use the no class class-map-name policy-map configuration
command. To remove an existing policer, use the no police policy-map configuration command. To
remove the policy map and interface association, use the no service-policy {input policy-map-name |
output policy-map-name} interface configuration command.
Command Purpose
Step 1
Router(config)# interface
interface-id
Enters interface configuration mode, and specifies the interface to
apply the policy map.
Valid interfaces are limited to physical Ethernet and POS
interfaces.
Note Policy maps cannot be applied to subinterfaces, port
channel interfaces, or BVIs.
Step 2
Router(config-if)#
service-policy
{input
policy-map-name
| output
policy-map-name
}
Applies a policy map to the input or output of a particular
interface.
Only one policy map per interface per direction is supported.
• Use input policy-map-name to apply the specified
policy map to the input of an interface.
• Use output policy-map-name to apply the specified
policy map to the output of an interface.
Step 3
Router(config-if)# end
Returns to privileged EXEC mode.
Step 4
Router# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.