Cisco MWR 2941 Installation Manual Page 225

  • Download
  • Add to my manuals
  • Print
  • Page
    / 710
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 224
-225
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
match cos
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 Description
class-map Creates a class map to be used for matching packets to a specified class.
policy-map Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
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.
set cos Sets the Layer 2 CoS value of an outgoing packet.
show class-map Displays all class maps and their matching criteria.
Page view 224
1 ... 224 225 226 ... 710

Comments to this Manuals

No comments