12.07.2015 Views

Management Guide - Kamery IP

Management Guide - Kamery IP

Management Guide - Kamery IP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4Command Line InterfaceCommand Usage• Use the policy-map command to specify a policy map and enter Policy Mapconfiguration mode. Then use the class command to enter Policy Map Classconfiguration mode. And finally, use the set and police commands to specifythe match criteria, where the:- set command classifies the service that an <strong>IP</strong> packet will receive.- police command defines the maximum throughput, burst rate, and theaction that results from a policy violation.• You can configure up to 16 rules per Class Map. You can also include multipleclasses in a Policy Map.ExampleThis example creates a policy called “rd-policy,” uses the class command to specifythe previously defined “rd-class,” uses the set command to classify the service thatincoming packets will receive, and then uses the police command to limit theaverage bandwidth to 100,000 Kbps, the burst rate to 1522 bytes, and configure theresponse to drop any violating packets.Console(config)#policy-map rd-policyConsole(config-pmap)#class rd-classConsole(config-pmap-c)#set ip dscp 3Console(config-pmap-c)#police 100000 1522 exceed-action dropConsole(config-pmap-c)#setThis command services <strong>IP</strong> traffic by setting a CoS or DSCP value in a matchingpacket (as specified by the match command on page 4-377). Use the no form toremove the traffic classification.Syntax[no] set {cos new-cos | ip dscp new-dscp}• new-cos - New Class of Service (CoS) value. (Range: 0-7)• new-dscp - New Differentiated Service Code Point (DSCP) value.(Range: 0-63)Default SettingNoneCommand ModePolicy Map Class ConfigurationExampleThis example creates a policy called “rd-policy,” uses the class command to specifythe previously defined “rd-class,” uses the set command to classify the service thatincoming packets will receive, and then uses the police command to limit the4-380

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!