05-10-2007 05:46 PM - edited 03-03-2019 04:55 PM
I need some help guys. I have a config that I need to know what the dscp marking will be when it leaves the router serial sub interface. Can someone tell me, from the config below, what the packet will be marked as when it leaves? Thanks.
ip access-list extended testvoiceout
permit ip host X.X.X.X any
ip access-list extended testout
deny ip host X.X.X.X any
permit ip any any
class-map match-any testvoiceout
match access-group name testvoiceout
class-map match-any testout
match access-group name testout
policy-map bigtest
class testvoiceout
priority percent 10
set dscp 42
class testout
set dscp 21
policy-map bigtest1
class class-default
shape average 42000000
service-policy bigtest
interface serial1/1.1
service-policy out bigtest1
05-10-2007 10:42 PM
Hi,
As far as I can see using your configuration
host X.X.X.X get dscp 42 , and everything else get dscp 21. :)
HTH,
BR,
Bjornarsb
05-10-2007 10:52 PM
As said above the host x.x.x.x gets DSCP 42 which by default maps to Ip prec 5.
A better way would be to map it to DCSP EF (46). Voice packets are marked with DCSP EF and these packets have a lower drop precedence.
Also you do not require the deny x.x.x.x entry in the second access-list. The class maps are called in the order and hence all the packets from that source matches the first class and would never go to the second class.
HTH, rate if it does
Narayan
05-10-2007 11:00 PM
Hi there,
You can't use set in a nested policy-map, 'set' command is not supported in a 2nd level policymap, accordingly this configuration won't work and will give you an error.
As a work around mark the traffic when incoming on the LAN interface then do the nested shaping and LLQ on the outgoing serial.
HTH, please do rate all helpful replies,
Mohammed Mahmoud.
05-11-2007 05:51 AM
Well, I dont get an error, and all appears to work ok. But, Im being told that coming out of my interface, I am marking at best-effort. I did a show policy int S... and it said I was remarking appropriately. But, ISP said "no, its coming to us as best effort". Im not sure why it was coming as best effort, anyone know?
05-11-2007 06:34 AM
hi joseph,
it matters how u apply service policy to interface, here in the config u have applied policy bigtest1,covering bigtest
so packets matching accesslist of testvoiceout will be marked as af42 (high priority than below)
this packets also goes under priority queue -seperate queue
packets matching accesslist of testout will be marked as af21 class
rate it make worth to u
05-11-2007 07:06 AM
Yeah, Im just not sure why the ISP says they only saw best effort from my site. I ended up putting the service policy "bigtest" on the main interface, and then he could see the packets marked appropriately. Im not sure why and thats what Im trying to understand. Can you guys shed some light on that?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide