Configuration Examples
Configuration Examples
This section provides the following configuration examples:
•
•
•
Configuration Example for Dual Actions—set-clp-transmit and
set-mpls-exp-transmit
The following example shows how to configure set-clp-transmit and set-mpls-exp-transmit as the
conform action and set-clp-transmit and set-mpls-exp-transmit as the exceed and violate actions:
policy-map clp
The following shows sample output from the show policy-map command:
Router# show policy-map clp
Policy Map clp
Class class-default
The following shows sample output from the show running-config command beginning at the point
where clp is specified:
Router# show running-config | begin clp
|show running-config begin clp
class class-default
If the policy map is attached to an ATM PVC that is configured for Layer 2 VPN, the output from the
show policy-map interface command displays the following information:
Router# show policy-map interface atm4/0/0.1
ATM4/0/0.1: VC 1/100 -
Service-policy input: clp
Cisco 10000 Series Router Quality of Service Configuration Guide
6-38
Configuration Example for Dual Actions—set-clp-transmit and set-mpls-exp-transmit, page 6-38
Configuration Example for Dual Actions—set-frde-transmit and set-mpls-exp-imposition-transmit,
page 6-39
Configuration Example of the set-cos-transmit Police Action, page 6-40
class class-default
police 100000 100 10 conform-action set-clp-transmit
conform-action set-mpls-exp-transmit 1
exceed-action set-clp-transmit
exceed-action set-mpls-exp-transmit 2
violate-action set-clp-transmit
violate-action set-mpls-exp-transmit 3
police 104000 100 10
conform-action set-clp-transmit
conform-action set-mpls-exp-transmit 1
exceed-action set-clp-transmit
exceed-action set-mpls-exp-transmit 2
violate-action set-clp-transmit
violate-action set-mpls-exp-transmit 3
police 104000 100 10
conform-action set-clp-transmit
conform-action set-mpls-exp-transmit 1
exceed-action set-clp-transmit
exceed-action set-mpls-exp-transmit 2
violate-action set-clp-transmit
violate-action set-mpls-exp-transmit 3
Chapter 6
Policing Traffic
OL-7433-09