08-16-2010 07:36 AM - edited 03-06-2019 12:30 PM
Hello Expert,
I created a subinterface on physical Ethernet interface of my 2811 router.
I effect I created two virtual lan vlan 1 and vlan 10.
Also both logical interface is assign respect ip address and none on the physical interface.
I have created class-maps and a policy map for the lan --- but I am unsure which interface to apply the service policy.
Do i apply the service policy to the physical interface ( no ip address) or both sub interfaces.
Regards
Jomo
Solved! Go to Solution.
08-20-2010 06:09 AM
Apply the policy-map to the subinterfaces (as these are your logical interfaces). If you are simply using them for classification (setting/changing dscp, for example) or rate-limiting/policing, then this should be fine.
If you are actually trying to do some queueing (cbwfq/llq), then you should create a parent policy to shape the traffic to a specific congestion rate, for which the qos would start kicking in.
policy-map parentVlan1
class class-default
shape average 50000000 (50 megs in this case)
service-policy MyPolicyVlan1 (whatever the name is of your actual queueing policy)
Do the same for the second vlan as well ...
int f0/0.1
service-policy output parentVlan1
08-20-2010 06:09 AM
Apply the policy-map to the subinterfaces (as these are your logical interfaces). If you are simply using them for classification (setting/changing dscp, for example) or rate-limiting/policing, then this should be fine.
If you are actually trying to do some queueing (cbwfq/llq), then you should create a parent policy to shape the traffic to a specific congestion rate, for which the qos would start kicking in.
policy-map parentVlan1
class class-default
shape average 50000000 (50 megs in this case)
service-policy MyPolicyVlan1 (whatever the name is of your actual queueing policy)
Do the same for the second vlan as well ...
int f0/0.1
service-policy output parentVlan1
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