Administrator Guide

Layer 2 Switching Commands 729
Command Mode
Global Configuration mode (for all system interfaces)
Interface Configuration (Ethernet, Port-channel) mode (for a specific
interface)
User Guidelines
This command 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
show class-map
Use the show class-map command to display all configuration information for
the specified class.
NOTE: This command is not available on the N1500 Series switches.
Syntax
show class-map [
classname
]
classname
— Specifies the valid name of an existing DiffServ class.
(Range: 1–31 characters)
Default Configuration
This command has no default configuration.
2CSNXXX_SWUM204.book Page 729 Monday, January 25, 2016 1:25 PM