Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

traffic prioritizing and traffic shaping

Is it possible to implement traffic prioritizing and traffic shaping at the ame time on the same interface?

If yes how and what method should be used?


Re: traffic prioritizing and traffic shaping

I think this should be possible.

Use LLQ.

class-map voice

match <> ----> match voice traffic

class-map data

match <> ----> match data traffic

policy-map voice-priority ---> to prioritize voice

class voice


policy-map voice-shape ------> shapes all data

class class-default -->(default class - all traffic)

shape average ---> traffic shaping

service-policy voice-priority

int s0/0

service-policy voice-shape

The above is configured in a hierarchical manner.

New Member

Re: traffic prioritizing and traffic shaping

Thanks Shanky,

I have few more issues

1. Can this be applied for other type of traffic?

2. can this be implement on ethernet or vlan interfaces?

BTW, what I want to achieve is

I need to prioritize and specify the BW (traffic shape)at the same time as following example

1. terminal service traffic - 512KB

2. www traffic - 256KB

3. FTP traffic - 128KB

4. rest of the traffic -128KB

Re: traffic prioritizing and traffic shaping

You can apply this to any kind of traffic. The selection of traffic, is solely dependent on the Class-map definition, where you match an access-list. Define four class-maps one each for each traffic. Traffic class 4 - (rest of the traffic) can be matched by the default class class-default.

Yes you can configure hierarchical policies on ethernet interfaces. The parent policy should have shaping configured, while the child polciy can have queueing or prioritising of traffic configured.

The configuration example I indicated can be directly applied to a ethernet interface, using service policy command.

New Member

Re: traffic prioritizing and traffic shaping

HI Shanky

Thanks for the info, it seems like my cat 5509 does not support this feature. Can you give some information

router(config-if)#service-policy output policy1

service-policy is supported only on VIP interfaces with DCEF


New Member

Re: traffic prioritizing and traffic shaping

is there any other solution if the not support?

I need to shape the traffic and prioritize in the cat5509 with RSM , running on 12.2

CreatePlease to create content