cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6391
Views
0
Helpful
4
Replies

how to apply policy-map to subinterface ?

Dr.X
Level 2
Level 2

hi ,

i have the topology below ,

http://im20.gulfup.com/2012-07-17/1342517023191.jpg

i have two routers , one used as a gateway and connected to two internet sources ,

i have vlan 10 with  which has the subnet x.y.66.128/25 and want to apply OQS to this vlan as following:

i want to dedicate cir with 15 mega , .

my subnet will go to internet  out from the interface Gi0/3.3 which is a subinterface of the gateway router.

==============================

before all of that :

the 1st trial ,  imade a sub interface on the Bras router Gi0/2.2 and let it the gatway of my subnet and applied the QOS out of the Bras router to the interface Gi0/1.


but i read that it is risky to do it in that place, and the optimal place is to apply this QOS on the gateway router as output .

my problem is , i could do the policymap to bras , but if i want to apply it to the gateway i have to apply it to subinterface Gi0/3.3 and  it is not being accepted to be applied n the subinterface .

here is the error when i try to apply it :

Gateway(config-subif)#service-policy output sawa

CBWFQ : Not supported on subinterfaces

=========================

now i want to help me how to apply my qos to the subinterface,

i will include the my previous config wheni was applying it to bras router and want to help me wt to modify so as to be able to be applied to the gateway subinterface Gi0/3.3

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

here is the accesslist matched my subnet

Extended IP access list sawa

    10 permit ip x.y.66.128 0.0.0.127 any (387727 matches)

Class Map match-all sawa (id 10)

   Match access-group name sawa

Policy Map sawa

    Class sawa

      bandwidth 15000 (kbps)

    Class class-default

      fair-queue

Bras#

service-policy output sawa   =======> under the interface Gi0/1 of Bras router

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

my request now is , what i need to modify so as my config work well on the subinterface Gi0/3.3 on the agteway router ??????

regards

4 Replies 4

Dr.X
Level 2
Level 2

hi , the image may be unclear ,

just click on the image and will be opened as well

regards

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hello Ahmed,

Check out the below link hope it helps in calrifying the policy maps configuration in sub interfaces.

http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a0080114326.shtml

Hope to Help !!

Ganesh

hi ,

Ganesh

i read this articale and will post my config which i will apply ,

but as u see from the image above ,

wt will happed if i apply the QOS on the bras router not no the Gateway router ??

like wt problems could occurs???

regards

hi tried to apply it but it failed !!

==============

Extended IP access list sawa

    10 permit ip x.y.66.128 0.0.0.127 any (387727 matches)

Policy Map sawa

    Class sawa

  Policy Map subinterfacesawa

    Class class-default

      bandwidth 15000 (kbps)

      service-policy sawa

here is the output

Bras(config-subif)#service-policy subinterfacesawa

                                  ^

% Invalid input detected at '^' marker.

Bras(config-subif)#

%%%%%%%%%%%%%%%%%%%%%%

wts wrong with my config ?????

regards

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: