Cisco Systems QC-29 manual Configuring Traffic Shaping, Command or Action, Purpose, Example, QC-42

Models: QC-29

1 24
Download 24 pages 16.62 Kb
Page 14
Image 14
Configuring Traffic Shaping

Configuring Modular Quality of Service Congestion Management on Cisco IOS XR Software

How to Configure QoS Congestion Management on Cisco IOS XR Software

 

Command or Action

Purpose

Step 7

 

 

exit

Returns the router to global configuration mode.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-pmap)# exit

 

Step 8

 

 

interface type instance

Enters interface configuration mode, and configures an

 

 

interface.

 

Example:

 

 

RP/0/RP1/CPU0:router(config)# interface POS

 

 

0/2/0/0

 

Step 9

 

 

service-policy {input output} policy-map

Attaches a policy map to an input interface or an output

 

 

interface to be used as the service policy for that interface.

 

Example:

The traffic policy evaluates all traffic leaving that

 

RP/0/RP0/CPU0:router(config-if)# service-policy

interface.

 

output voice

 

Step 10

 

 

end

Saves configuration changes.

 

or

When you issue the end command, the system prompts

 

 

 

commit

you to commit changes:

 

 

Uncommitted changes found, commit them before

 

Example:

exiting(yes/no/cancel)?

 

RP/0/RP0/CPU0:router(config-if)# end

[cancel]:

 

 

 

or

Entering yes saves configuration changes to the

 

RP/0/RP0/CPU0:router(config-if)# commit

 

running configuration file, exits the configuration

 

 

session, and returns the router to EXEC mode.

 

 

Entering no exits the configuration session and

 

 

returns the router to EXEC mode without

 

 

committing the configuration changes.

 

 

Entering cancel leaves the router in the current

 

 

configuration session without exiting or

 

 

committing the configuration changes.

 

 

Use the commit command to save the configuration

 

 

changes to the running configuration file and remain

 

 

within the configuration session.

Step 11

 

 

show policy-map interface type instance [input

(Optional) Displays policy configuration information for all

 

output]

classes configured for all service policies on the specified

 

 

interface.

 

Example:

 

 

RP/0/RP0/CPU0:router# show policy-map interface

 

 

POS 0/2/0/0

 

 

 

 

Configuring Traffic Shaping

Traffic shaping allows you to control the traffic exiting an interface to match its transmission to the speed of the remote target interface and ensure that the traffic conforms to policies contracted for it.

Shaping performed on outgoing interfaces is done at the Layer 2 level and includes the Layer 2 header in the rate calculation.

Cisco IOS XR Modular Quality of Service Configuration Guide

QC-42

Page 14
Image 14
Cisco Systems QC-29 manual Configuring Traffic Shaping, Command or Action, Purpose, Example, QC-42