- Green, 3000 points or more
I am having a problem applying an input service policy to a port on a 4500. I want to use a policy-map to mark traffic at the edge. The policy-map is OK, and all its classes are OK. I can apply it to the port on some of my 4500 switches, but not on others.
The only difference I can see is that on the switches were I can apply the service policy, I have ip routing enabled. On switches were ip routing is not enabled, when I try and apply the service policy it simply does not apply it, and it does not go into the config.
Does this mean I can apply a service policy only on switches that have layer-3 routing enabled? What if I want to mark traffic coming into a port on a 4500 used as a layer-2 access switch?
What am I doing wrong here?
From the 4500 configuration guide
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.
Full link here: