Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Appling class-mappings to sub interface on Ethernet connection.

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Appling class-mappings to sub interface on Ethernet connecti

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

1 REPLY
Cisco Employee

Re: Appling class-mappings to sub interface on Ethernet connecti

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

236
Views
0
Helpful
1
Replies