qos service-policy

Applies a policy map to all inbound traffic.

Syntax

qos service-policy in service_policy_name
no qos service-policy in service_policy_name

Parameters

in
Applies the service policy to inbound traffic.
service_policy_name
The name of the policy map.

Modes

Global configuration mode.

Usage Guidelines

The policy map has been preconfigured.

Enter no qos service-policy in service_policy_name to return to the default.

Examples

This example binds a service policy to inbound traffic at the system level.

device# configure terminal
device(config)# qos service-policy in policyMap1
device(config-service-policy-in/policyMap1)# end