Applying the Defined Policies Using the service-policy Command

Applying the Defined Policies Using the service-policy Command
Note

A policy map can be applied to an interface, subinterface, virtual template, or circuit.



Router(config)# interface serial 0/0/0 Moves to interface configuration mode.
Router(config-if)# service-policy output MYQOS-POLICY Assigns the policy named "MYQOS-POLICY" to this interface in an outbound direction.
A policy map can be set in either direction, inbound or outbound, using the keywords input or output.




Note

You can apply a defined and configured policy map to more than one interface.



Tip

Multiple policy maps can be nested to influence the sequence of QoS actions.



Tip

It is recommended to reuse class maps and policy maps because this promotes standardization and helps to reduce the chance of errors.