Cisco MWR 2941 Command Reference Manual page 239

Table of Contents

Advertisement

Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
In the following example, classes called voice and video-n-data are created to classify traffic based on
the CoS values. QoS treatment is then given to the appropriate packets in the CoS-based-treatment
policy map (in this case, the QoS treatment is priority 64 and bandwidth 512). The service policy
configured in this example is attached to all packets leaving Fast Ethernet interface 0/0.1. The service
policy can be attached to any interface that supports service policies.
Router(config)# class-map voice
Router(config-cmap)# match cos 7
Router(config)# class-map video-n-data
Router(config-cmap)# match cos 5
Router(config)# policy-map cos-based-treatment
Router(config-pmap)# class voice
Router(config-pmap-c)# priority 64
Router(config-pmap-c)# exit
Router(config-pmap)# class video-n-data
Router(config-pmap-c)# bandwidth 512
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface fastethernet0/0.1
Router(config-if)# service-policy output cos-based-treatment
Related Commands
Command
class-map
policy-map
service-policy
set cos
show class-map
OL-23890-01
Description
Creates a class map to be used for matching packets to a specified class.
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
Attaches a policy map to an input interface or VC, or an output interface or
VC, to be used as the service policy for that interface or VC.
Sets the Layer 2 CoS value of an outgoing packet.
Displays all class maps and their matching criteria.
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
match cos
221

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mwr 2941-dcMwr 2941-dc-a

Table of Contents