1306 Configuring Differentiated Services
DiffServ Service Configuration

Beginning Privilege Exec mode, use the following commands to associate a

policy with an interface and view related information.

CLI Command Description
configure Enter Global Configuration mode.
service-policy {in | out}
policy-map-name
Attach a policy to an interface in the
inbound or outbound direction.
This command can be used in either
Global Configuration mode (for all
system interfaces) or Interface
Configuration mode (for a specific
interface).
exit Exit to Privilege Exec mode.
show diffserv service brief [in | out] Display all interfaces in the system to
which a DiffServ policy has been
attached.
show diffserv service interface
interface
{in | out}
Display policy service information for
the specified interface, where
interface
is
replaced by gigabitethernet
unit/slot/port
, tengigabitethernet
unit/slot/port
, or port-channel
port-
channel number
.
show service-policy {in | out} Display a summary of policy-oriented
statistics information for all interfaces.