12-09-2004 02:48 AM - edited 03-02-2019 08:29 PM
Hello,
i've got some problems with the service-policy command on a cat4507 running IOS
My goal is to mark paquets from a server to a specified DSCP value
here is my config :
!!switch conf
!qos
!access-list 140 permit IP host 168.124.96.29 any
!class-map test_qos
!match access-group 140
!policy-map policy_qos
!class test_qos
!set ip dscp 48
!interface fast3/39
!service-policy input policy_qos
my problem is that the service-policy commans does not worka nd is not applied to the interface
if i changed the policy using a command like "police 1m 1m conform-action transmit exceed action drop" i can apply the policy to the interface
but if i try "set ip dscp" or "set ip precedence" i can't apply the policy to the interface
any ideas ?
thank you for your help
best regards
12-09-2004 02:39 PM
I'm not sure why that doesn't work, but can't you use queing on the output interface with either a priority group or a service-policy?
12-10-2004 02:38 AM
yes i've think about that but i have to mark the packets eitheir at the ingress or egress because i don't want to reclassify at the next switch
thank you for your response
12-10-2004 02:50 AM
Did you enable IP routing ?
"If you want to use the set command in the policy map, you must enable IP routing (disabled by default) and configure an IP default route to send traffic to the next-hop device that is capable of forwarding."
regards,
RdR
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