Users Guide

Differentiated Services 1469
DiffServ Class Configuration for IPv4
Use the following commands to configure DiffServ classes for IPv4 and view
related information.
CLI Command Description
configure Enter global configuration mode.
class-map [match-all|match-
any] class-map-name
Define a new DiffServ class and enter Class-Map
Configuration mode for the specified class.
The match-all parameter indicates that all match
criteria must match.
The match-any parameter indicates that at least one
match criteria must match.
NOTE: To enter Class-Map Configuration mode for a
class that has already been created, use the class-
map class-map-name command.
match access-group group-
name
Configure a match condition using an IPv4 ACL.
Only the permit/deny conditions are used to match
packets. Any ACL actions are ignored. A permit
clause that matches the packet indicates a match
condition for the class-map. A deny clause that
matches the packet indicates a no match condition
for the class-map.
match [all|any] Configure the match condition for the class-map.
Match all indicates that all match criteria must
match. Match any indicates that at least one match
criteria must match. This configuration does not
affect the processing of access-groups.
match class-map Add to the specified class definition the set of
match conditions defined for another class.
match dstip Add to the specified class definition a match
condition based on the destination IP address of a
packet.
match dstl4port Add to the specified class definition a match
condition based on the destination layer-4 port of a
packet using a single keyword, or a numeric
notation.