cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
274
Views
0
Helpful
1
Replies

Problem with service-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

1 Reply 1

romccallum
Level 4
Level 4

you are trying to set a layer 3 objective on a layer 2 port. Try putting the config on a vlan i.e. int vlan blah and see what happens then