Cisco Systems OL-4266-08 Configuring Policy Map Class Policing, Using a Named Aggregate Policer

Models: OL-4266-08

1 124
Download 124 pages 34.88 Kb
Page 76
Image 76

Chapter 42 Configuring PFC QoS

Configuring PFC QoS

Configuring Policy Map Class Policing

When you configure policy map class policing, note the following information:

PFC QoS does not support the set-qos-transmitpolicer keyword.

PFC QoS does not support the set-dscp-transmitor set-prec-transmitkeywords as arguments to the exceed-actionkeyword.

PFC QoS does not detect the use of unsupported keywords until you attach a policy map to an interface.

These sections describe configuration of policy map class policing:

Using a Named Aggregate Policer, page 42-76

Configuring a Per-Interface Policer, page 42-76

Note Policing with the conform-action transmit keywords sets the port trust state of matched traffic to trust DSCP or to the trust state configured by a trust command in the policy map class.

Using a Named Aggregate Policer

To use a named aggregate policer, perform this task:

Command

Purpose

 

 

Router(config-pmap-c)# police aggregate

Configures the policy map class to use a previously defined

aggregate_name

named aggregate policer.

Router(config-pmap-c)# no police aggregate

Clears use of the named aggregate policer.

aggregate_name

 

 

 

Configuring a Per-Interface Policer

To configure a per-interface policer, perform this task:

Command

Purpose

 

 

Router(config-pmap-c)# police [flow [mask {src-only

Creates a per-interface policer and configures the policy-map

dest-only full-flow}]]bits_per_second

class to use it.

normal_burst_bytes [maximum_burst_bytes] [pir

 

peak_rate_bps] [[[conform-action {drop

 

set-dscp-transmit dscp_value set-prec-transmit

 

ip_precedence_value transmit}] exceed-action {drop

 

policed-dscp transmit}] violate-action {drop

 

policed-dscp transmit}]

 

Router(config-pmap-c)# no police [flow [mask

Deletes the per-interface policer from the policy-map class.

{src-only dest-only full-flow}]]bits_per_second

 

normal_burst_bytes [maximum_burst_bytes] [pir

 

peak_rate_bps] [[[conform-action {drop

 

set-dscp-transmit dscp_value set-prec-transmit

 

ip_precedence_value transmit}] exceed-action {drop

 

policed-dscp transmit}] violate-action {drop

 

policed-dscp transmit}]

 

 

 

 

Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX

42-76

OL-4266-08

Page 76
Image 76
Cisco Systems OL-4266-08 manual Configuring Policy Map Class Policing, Using a Named Aggregate Policer, 42-76