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

Problem with servce-policy command

damien.chevrier
Level 1
Level 1

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

3 Replies 3

gbledsoe
Level 1
Level 1

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?

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

rrijk
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card