any – match any packets
match input-interface– specify an input interface to match
match class-mapclass-map name – specify the traffic class as a match criterion.
match ip rtp lower bound of UDP destination prot – configure class-map that use rtp protocol port as match criterion
match protocol ip [ tcp upd] tcp/udp port number – specify the class-map that use two different protocol as match criterion.
policy-mapmap name – configure the policies for class whose match criteria for a class. class class-map name – specify the policy criteria
bandwidth [ percent remaining 8-2000000 ] – specify the bandwidth for a class that belong to a policy map
fair-queue– specify the number of dynamic queues
shape [average max-buffer peak ] – specify the traffic shaping
queue-limitpackets – Specify the maximum number of packets that queue for a traffic class
priority [percent 8-2000000 ] – specify the guaranteed allow bandwidth in kilo bits or percent for priority traffic
police [access-group bps per second bps burst-normalburst-max] conform-action action exceed-action action violate-action action – Specify the maximum bandwidth usage by a traffic class.
show policy-map interface interface – display configuration and statistics of the policy that attached to an interface
show class-map– display all configuration traffic policy
show class-mapclass-map name – display the information of user-specific traffic policies.
Configuration Example router# show run Building configuration ...
service password-encryption service timestamps debug
!
hostname router
!