
QoS Commands 633
Parameter Description
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. Use the
policy-map command to configure the DiffServ policy. The service-policy
direction must catch the direction given for the policy map.
Ensure that no attributes within the policy definition exceed the capabilities
of the interface. When a policy is attached to an interface successfully, any
attempt to change the policy definition, such that it would result in a
violation of the interface capabilities, causes the policy change attempt to
fail. ACLs and DiffServ policies may not both exist on the same interface in
the same direction.
Example
The following example shows how to attach a service policy named "DELL" to
all interfaces.
console(config)#service-policy DELL
Parameter Description
policymapname Specifies the DiffServ policy name as a unique case-sensitive
alphanumeric string. (Range: 1–31 alphanumeric characters.)
in Apply the policy on ingress.
out Apply the policy on egress.
2CSPC4.XModular-SWUM200.book Page 633 Thursday, March 10, 2011 11:18 AM