10-21-2015 09:52 PM - edited 03-08-2019 02:19 AM
Hi.
Just a quick damn question.
Just want to verify that when you do the following config:
policy-map EXAMPLE
class Voice
priority percent 80
class class-default
fair-queue
policy-map EXAMPLE_SHAPING
class class-default
shape average percent 20
service-policy EXAMPLE -> This command is related to the policy-map EXAMPLE yeah?
So, we apply the policy-map EXAMPLE_SHAPING to the interface.
Can we apply the policy-map EXAMPLE to the interface? And if we do, why would we do it for?
Is it safe to say that policy-map and service-policy is the same thing?
Thank you
Solved! Go to Solution.
10-22-2015 02:31 AM
Hi. Just a quick damn question. Just want to verify that when you do the following config: policy-map EXAMPLE class Voice priority percent 80 class class-default fair-queue policy-map EXAMPLE_SHAPING class class-default shape average percent 20 service-policy EXAMPLE -> This command is related to the policy-map EXAMPLE yeah? So, we apply the policy-map EXAMPLE_SHAPING to the interface. Can we apply the policy-map EXAMPLE to the interface? And if we do, why would we do it for? Is it safe to say that policy-map and service-policy is the same thing? Thank you
Hi,
Policy-map command is tp specify the name of the policy to be created before you configure policies for classes whose match criteria are defined in class map.
Entering the policy-map command enables QoS policy-map configuration mode in which you can configure or modify the class policies for that policy map.A single policy map can be attached to multiple interfaces concurrently.
To attach a traffic policy to an interface, use the service-policy command. The service-policy command also allows you to specify the direction in which the traffic policy should be applied (either on packets coming into the interface or packets leaving the interface).
Hope it Helps.
-GI
Rate if it Helpss
10-22-2015 04:16 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
service-policy EXAMPLE -> This command is related to the policy-map EXAMPLE yeah?
Yes, it invokes it as a child policy.
Can we apply the policy-map EXAMPLE to the interface?
At the same time, no. In lieu of, usually, but there are a couple of exceptions, and you didn't define what kind of interface.
And if we do, why would we do it for?
To not use the shaper.
Is it safe to say that policy-map and service-policy is the same thing?
"Safe", hmm, I guess depends on who you tell that too. Most people probably wouldn't do you any physical harm. ;)
Service-policy "signals" where you want to activate a policy. The policy-map, describes the policy. So, not exactly the same thing, but related.
The relationship is similar to activating an ACL on an interface, the ip access-group command, and the ACL itself.
10-22-2015 02:31 AM
Hi. Just a quick damn question. Just want to verify that when you do the following config: policy-map EXAMPLE class Voice priority percent 80 class class-default fair-queue policy-map EXAMPLE_SHAPING class class-default shape average percent 20 service-policy EXAMPLE -> This command is related to the policy-map EXAMPLE yeah? So, we apply the policy-map EXAMPLE_SHAPING to the interface. Can we apply the policy-map EXAMPLE to the interface? And if we do, why would we do it for? Is it safe to say that policy-map and service-policy is the same thing? Thank you
Hi,
Policy-map command is tp specify the name of the policy to be created before you configure policies for classes whose match criteria are defined in class map.
Entering the policy-map command enables QoS policy-map configuration mode in which you can configure or modify the class policies for that policy map.A single policy map can be attached to multiple interfaces concurrently.
To attach a traffic policy to an interface, use the service-policy command. The service-policy command also allows you to specify the direction in which the traffic policy should be applied (either on packets coming into the interface or packets leaving the interface).
Hope it Helps.
-GI
Rate if it Helpss
10-22-2015 03:30 PM
Thank you. Much appreciated.
10-22-2015 04:16 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
service-policy EXAMPLE -> This command is related to the policy-map EXAMPLE yeah?
Yes, it invokes it as a child policy.
Can we apply the policy-map EXAMPLE to the interface?
At the same time, no. In lieu of, usually, but there are a couple of exceptions, and you didn't define what kind of interface.
And if we do, why would we do it for?
To not use the shaper.
Is it safe to say that policy-map and service-policy is the same thing?
"Safe", hmm, I guess depends on who you tell that too. Most people probably wouldn't do you any physical harm. ;)
Service-policy "signals" where you want to activate a policy. The policy-map, describes the policy. So, not exactly the same thing, but related.
The relationship is similar to activating an ACL on an interface, the ip access-group command, and the ACL itself.
10-22-2015 03:34 PM
"Service-policy "signals" where you want to activate a policy. The policy-map, describes the policy. So, not exactly the same thing, but related."-> That's the explanation I was looking for.
10-22-2015 03:33 PM
Thanks a lot for your help.
Makes full sense now.
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