A SERVICE OF

logo

QoS Commands 485
User Guidelines
This command has no user guidelines.
Example
The following example shows how to redirect incoming packets to port 1/g1.
console(
config-policy-classmap)#redirect 1/g1
service-policy
Use the service-policy command in either Global Configuration mode (for all
system interfaces) or Interface Configuration mode (for a specific interface)
to attach a policy to an interface. To return to the system default, use the no
form of this command.
Syntax
service-policy in
policymapname
no service-policy in
policymapname
policymapname
— Specifies the DiffServ policy name as a unique case-
sensitive alphanumeric string. (Range: 1–31 alphanumeric characters)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode (for all system interfaces)
Interface Configuration (Ethernet, Port-channel) mode (for a specific
interface)
User Guidelines
This command effectively enables DiffServ on an interface. No separate
interface administrative mode command for DiffServ is available.