1-23
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
class (policy-map)
Predefined Default Class
The
class-default
keyword is used to specify the predefined default class called class-default. The
class-default class is the class to which traffic is directed if that traffic does not match any of the match
criteria in the configured class maps.
Examples
The following example configures a class policy included in the policy map called policy1. Class2
specifies policy for traffic with a CoS value of 2.
! The following commands create class-maps class1 and class2
! and define their match criteria:
class-map class2
match cos 2
! The following commands create the policy map, which is defined to contain policy
! specification for class2:
policy-map policy1
Router(config-pmap)#
class class2
Router(config-pmap-c)#
bandwidth 3000
Router(config-pmap-c)#
random-detect
Router(config-pmap-c)#
Related Commands
Command
Description
bandwidth (policy-map class)
Specifies or modifies the bandwidth allocated for a class
belonging to a policy map.
class-map
Creates a class map to be used for matching packets to a specified
class.
fair-queue (class-default)
Specifies the number of dynamic queues to be reserved for use by
the class-default class as part of the default class policy.
policy-map
Creates or modifies a policy map that can be attached to one or
more interfaces to specify a service policy.
queue-limit
Specifies or modifies the maximum number of packets the queue
can hold for a class policy configured in a policy map.
random-detect (interface)
Enables WRED or DWRED.
random-detect
exponential-weighting-constant
Configures the WRED and DWRED exponential weight factor for
the average queue size calculation.
random-detect precedence
Configures WRED and DWRED parameters for a particular IP
Precedence.