[rbak-nsp] rate limit

Илья Савин savin at orn.ru
Thu May 28 05:26:37 EDT 2009


Hi,

I try to limit bandwidth on PPPoE sessions with policy policing and policy
metering. 

[local]Redback#sh conf qos
Building configuration...

Current configuration:
context local
!
qos class-map classmap1 ip in
!
!
!
context local
!
 policy access-list SERVICE_out
  seq 10 permit ip any any class SERVICE1
!
! ** End Context **
!
qos policy inet metering radius-guided
 rate 1000 burst 100 counters
 access-group SERVICE_out local
  class SERVICE1
!
qos policy pinet policing radius-guided
 rate 1000 burst 100 counters
 access-group SERVICE_out local
  class SERVICE1
!
end

When user connected, I see:

[local]Redback#sh qos circuit detail
Circuit: 2/2 vlan-id 1016 pppoe 45
----------------------------------------------------------

Policy Name       : pinet
Policy Type       : policing
Hierarchical Type : None
Rate              : 8000              Rate Source       : radius
Burst             : 1000              Excess Burst      :
Class mapping     : 1-->0, 2-->0, 3-->0, 4-->0, 5-->0, 6-->0, 7-->0, 8-->0

Policy Name       : inet
Policy Type       : metering
Hierarchical Type : None
Rate              : 8000              Rate Source       : radius
Burst             : 1000              Excess Burst      :
Class mapping     : 1-->0, 2-->0, 3-->0, 4-->0, 5-->0, 6-->0, 7-->0, 8-->0

Limits set to 8 Mbit/sec. But real transfer speed ~25 kbyte/sec. If I chande
Rate and Burst values, real speed changes too. But it always much lower,
than expected.

Please, help me with this problem.

Best regards,
Ilya Savin.



More information about the redback-nsp mailing list