Users Guide

Differentiated Services 1509
DiffServ Policy Creation
Use the following commands to configure DiffServ policies and view related
information.
Simple DiffServ Policy Attributes Configuration
Beginning in Privilege Exec mode, use the following commands to configure
policy attributes and view related information. Information regarding
configuration of single-rate three color meters (srTCM) and two-rate three
color meters (trTCM) can be found in "WRED" on page 1520.
CLI Command Description
configure Enter global configuration mode.
policy-map policy-name in Create a new DiffServ policy for ingress traffic and
enter Policy Map Configuration mode for the policy.
exit Exit to Privilege Exec mode.
show policy-map Displays all configuration information for the
specified policy.
show policy-map interface in Displays policy-oriented statistics information for
the specified interface.
CLI Command Description
configure Enter global configuration mode.
policy-map policy-map-name Enter Policy Map Configuration mode for the
specified policy.
class class-name Create an instance of a class definition within the
specified policy for the purpose of defining
treatment of the traffic class through subsequent
policy attribute statements. Also enters Policy-
Class-Map Configuration mode for the policy-class-
map instance. The class-map must exist.
assign-queue queue-id Modify the queue ID (range: 0–6) to which the
associated traffic stream is assigned.