Cisco MWR 2941 Command Reference Manual page 55

Table of Contents

Advertisement

Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
Fragments
A default traffic class is marked as a fragment within a policy map class statement using the fragment
keyword. Multiple fragments can then be classified collectively in a separate policy map that is created
using the service-fragment keyword. When fragments are used, default traffic classes marked as
fragments have QoS applied separately from the non-default traffic classes.
When using fragments, note the following guidelines:
Examples
The following example configures three class policies included in the policy map called policy1. Class1
specifies policy for traffic that matches access control list 136. Class2 specifies policy for traffic with a
CoS value of 2. The third class is the default class to which packets that do not satisfy configured match
criteria are directed.
! The following commands create class-maps class1 and class2
! and define their match criteria:
class-map class1
match access-group 136
class-map class2
match cos 2
! The following commands create the policy map, which is defined to contain policy
! specification for class1 and the default class:
policy-map policy1
Router(config)# policy-map policy1
Router(config-pmap)# class class1
Router(config-pmap-c)# bandwidth 2000
Router(config-pmap-c)# queue-limit 40
Router(config-pmap)# class class-default
Router(config-pmap-c)# fair-queue 16
Router(config-pmap-c)# queue-limit 20
Related Commands
Command
bandwidth (policy-map class)
class-map
fair-queue (class-default)
OL-23890-01
Only default traffic classes can be marked as fragments.
The fragment fragment-class-name option within a default class statement marks that default class
as a fragment.
The service-fragment fragment-class-name option when defining a class in a policy map is used to
specify a class of traffic within the Modular QoS CLI that contains all fragments sharing the same
fragment-class-name.
Fragments can only be used within the same physical interface. Policy maps with fragments sharing
the same fragment-class-name on different interfaces cannot be classified collectively using a class
with the service-fragment fragment-class-name option.
Description
Specifies or modifies the bandwidth allocated for a class
belonging to a policy map.
Creates a class map to be used for matching packets to a specified
class.
Specifies the number of dynamic queues to be reserved for use by
the class-default class as part of the default class policy.
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
class (policy-map)
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mwr 2941-dcMwr 2941-dc-a

Table of Contents