cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
649
Views
5
Helpful
5
Replies

QoS damn question

Bab L
Level 1
Level 1

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

 

 

2 Accepted Solutions

Accepted Solutions

Ganesh Hariharan
VIP Alumni
VIP Alumni
 
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

 

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

View solution in original post

5 Replies 5

Ganesh Hariharan
VIP Alumni
VIP Alumni
 
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

 

Thank you. Much appreciated. 

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

"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.

Bab L
Level 1
Level 1

Thanks a lot for your help.

 

Makes full sense now.