07-04-2006 04:05 AM - edited 03-03-2019 01:13 PM
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?
07-04-2006 11:48 AM
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
07-04-2006 11:22 PM
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
07-05-2006 12:06 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: