cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
694
Views
0
Helpful
3
Replies

Qos : bandwidth limitation on Ethernet port

jfbesnardeau
Level 1
Level 1

I have a router connected via an Ethernet port to 100 duplex Mbps/Full towards an operator limiting the band-width to 4Mbps. How can I make so that my policy-map associated with the Voip treatment is put in function as of the use of the 4Mbps?

3 Replies 3

PAUL TRIVINO
Level 3
Level 3

You should be able to use a policing or shaping policy to limit the BW on an Ethernet port. Policing if the 4Mbps limit is absolute, shaping if some bursting is allowed.

Paul

mounir.mohamed
Level 7
Level 7

Dear Sir,

We can use Policing, or apply rate-limit that matching on DSCP-EF or even ACL

CAR Matches on DSCP EF (Voice)

rate-limit input dscp 46 4000000 750000 1500000 conform-action transmit exceed-

action drop

CAR matches on ACL 101 which matches on the RTP payload port range.

rate-limit input access-group 101 4000000 750000 1500000 conform-action transmi

t exceed-action drop

The above values for 4M traffic.

Best Regards,

Mounir Mohamed

v_milenko
Level 1
Level 1

Hi

You can you this sample config to limit bandwidth about 4 Mbps and have priority queueing for voip traffic with bandwidth 50% from 4 Mbps.

Example config

-----------------------------

class-map match-all voice

match ip dscp ef

policy-map qos-policy

class voice

priority percent 50

class class-default

fair-queue

random-detect

policy-map fasteth-4mb

class class-default

shape average 4000000

service-policy qos-policy

interface FastEthernet0

service-policy output fasteth-4mb

Of course you can use this policy only in output direction.

Victor