cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
530
Views
0
Helpful
2
Replies

QoS per IP

Spinu Viorel
Level 1
Level 1

Hello,

how can I limit the bandwidth for some IPs ?

class-map match-any R5

match access-group 170

policy-map RR5

class R5

bandwidth 800

intterface FastEthernet1

service-policy output RR5

access-list 170 permit ip 172.31.5.0 0.0.0.255 any

Note: R5 = 172.31.5.0/24

Is this enough for limiting network 172.31.5.0/24 bandwidth to 800 kbps ?

I want to limit all the traffic.

thank U!

1 Accepted Solution

Accepted Solutions

Istvan_Rabai
Level 7
Level 7

Hi Spinu,

The "bandwidth" command under class R5 sets the minimum guaranteed bandwidth (NOT the maximum bandwidth) for the traffic classified by acl 170.

Instead of the bandwidth command you should use shaping or policing under class R5:

shape average 800000

or

police 800000 conform-action transmit exceed-action drop

Cheers:

Istvan

View solution in original post

2 Replies 2

Istvan_Rabai
Level 7
Level 7

Hi Spinu,

The "bandwidth" command under class R5 sets the minimum guaranteed bandwidth (NOT the maximum bandwidth) for the traffic classified by acl 170.

Instead of the bandwidth command you should use shaping or policing under class R5:

shape average 800000

or

police 800000 conform-action transmit exceed-action drop

Cheers:

Istvan

that realy helped me

thank u so

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: