cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
686
Views
12
Helpful
6
Replies

Car config example ??????

afzaalq007
Level 1
Level 1

hi

I want to ask about CAR that i want to implement this on 10g interface .. of my router ..

I have to allow 155mb for customer kinldy help me out how can i do this .. any doc for help .

Thanks and regard.

Afzaal Qadir

6 Replies 6

mohammedmahmoud
Level 11
Level 11

Hi Afzaal,

Please follow these documents, it is that simple:

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a0080760d90.html

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800bd8ed.html#wp1000920

[edit] You can match your client IPs using ACL and the access-group option.

HTH,

Mohammed Mahmoud.

hi Mohammad,

Thanks for ur ans .. i am still confused let me explan the whole scanrio to ..

I have 10 g interface on my router so i have to allow multiple user to to same interface e.g g10/0/0 is my router interface...

i have too allow 4 carrier on this interface with differnt bandwith requirment. so plz confirm the following step mention below according to the my information...

step-1 i will devide my g interface into sub interfaces g.1 , g.2, g.3,g.4 ,,

step-2 than i will define different CAR polies for my 4 customers,

Step-3 than i will implement CAR on sub interfaces .. e.g

customer 1 on g.1

customer 2 on g.2

customer 3 on g.3

customer 4 on g.4

kidlly let me know i am doing the right thing and right steps.

waiting for your Guideline.

Thanks and regard.

Afzaal Qadir

it is more simple than that:

suppose your customer IP range is 192.168.1.1-->192.168.1.254 and you want to give him 2Mbps

interface g10/0/0

ip address 1.1.1.1 255.255.255.252

rate-limit input access-group 1 2000000 30000 30000 conform-action transmit exceed-action drop

rate-limit output access-group 1 2000000 30000 30000 conform-action transmit exceed-action drop

!

access-list 1 permit 192.168.1.0 0.0.0.255

Hii..

Ya u hav to logically divide the gig interface into subinterfaces and say assign each end node(isp)to these.Like::

int gig 0/1

no ip address

duplex full

speed 100

int gig 0/1.101

description isp1

encapsulation dot1q 101

ip address 192.168.20.1 255.255.255.252

rate-limit input 2048000 256000 128000 conform-action transmit exceed-action drop .

int gig 0/1.102

des isp2

ip address 192.168.30.1 255.255.255.252

rate-limit input 4096000 128000 64000 conform-action transmit exceed-action drop.

---------------------------

Similar lines u can config the other guys.

But i have a suggestion on this.As u basically want to allocate each of ur isp a specific max-bandwidth they can pull, so it would be better if u use MQC with policing applied for better throughput and interface congestion control to avoid drops as with CAR rate limit , lot of drops do occur once the other end is trying to reach the threshold.

But neverthless u can go ahead with ur plan.

Hope this helps u .

Please do rate the post as it would help us to give valuable output useful to all.

Foxbatreco...

Hi

Thanks My friend for such a nice answers

Thanks once agian..

In last Ans we always use Encapsu dot1q (VLAN) it it necessary or ????

and Can u tell me about the MQC how can we doo this..???

thanks and regard

Afzaal Qadir

Hii..

thnks for accepting the answer.

yes the encapsulation has to be used on every subinterface u create for a particular isp(in ur case) , as u r using logically created interfaces for the traffic flow.This would mean the flow frm each isp wud be having a dotiq tag with it to differentiate it frm other isp flow.The tag wud identify flow and de-tag once it passes of thru the trunk to one of the other core devices..say for eg.backbone/gateway router interface.

AS for MQC ..

int gig 0/1

no ip address

speed , duplex settings..

int gig /1.101

encapsulation dot1q

ip address 192.168.65.1 255.255.255.252

service-policy input test1

service-policy input test2

define the policy maps.

class-map movingout

match access-group 150

class-map movingin

match access-group 151

Policy-map test1

class movingin

police 2048000 128000 conform-action transmit

Policy-map test2

class movingout

police 1024000 64000 conform-action transmit exceed-action drop

these are modular class maps attached to policy maps,which define the flow to be considered and then given to policy maps for action .

attaching this to the reqd interface would enforce these rulesets.

Hope this clears ur doubts and helps.

Do let me know if anything more on this is needed.

Please do rate post as before.

policy-map test1

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:

Review Cisco Networking products for a $25 gift card