04-11-2013 06:47 AM - edited 03-04-2019 07:34 PM
What happens if i implement a sercice policy on a main interface and on a subinterface?
int gi 0/0/0
service-policy input TEST1
int gi 0/0/0.501
service-policy input TEST2
policy-map TEST1
class class-default
set dscp ef
policy-map TEST"
class class-default
set dscp af31
how will the traffic be marked if it leaves the router?
04-11-2013 07:53 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
I suspect you're most wondering about main interface, whether it includes traffic received on the subinterface.
Although the physical interface status counts all traffic on the port, subinterfaces allow logical division of the physical traffic. For a gig interface, the main interface would account for untagged frames.
I.e., I believe for policy marking, subinterfaces and subinterfaces will only mark to their corresponding logical port policy.
04-11-2013 08:52 AM
Hello
Try and nest the policies
Policy-map test
Class claass-default
Service-policy test1
Int x/x(main interface)
Service-policy output test
Res
paul
Sent from Cisco Technical Support iPad App
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