[rbak-nsp] Limit bandwidth for IP

Daniel Celiński daniel.02c at gmail.com
Wed Oct 8 04:50:49 EDT 2014


Hi,

Try to modify policy-acl like below:

seq 10 permit ip host 10.0.0.2 any class BGP
seq 20 permit ip any host 10.0.0.2 class BGP
seq 100 permit ip any any class other


--
Daniel


2014-10-07 15:50 GMT+02:00 Golem <golem at mtm-info.pl>:

> Hello
>
> I want to limit in/out bandwidth inside vlan for specified IP address.
>
> This is how I'm doing:
>
> in global:
>
> qos policy QOS1POLICY_BGP metering
>  ip access-group QOS1_bgp bgp
>   class BGP
>    rate 1000 burst 1000
>   class other
>
>  !
>
> qos policy QOS1OUT_BGP policing
>  ip access-group QOS1_bgp bgp
>    class BGP
>    rate 1000 burst 1000
>         class other
>
>
>
> port ethernet 2/3
> dot1q pvc 1992
> ...
>   qos policy policing QOS1OUT_BGP
>   qos policy metering QOS1POLICY_BGP
> ...
>
>
>
> in bgp context:
>
>  policy access-list QOS1_bgp
>   seq 10 permit tcp host 10.0.0.2 any class BGP
>   seq 100 permit ip any any class other
>
>
>
>
> ###
>
>
> So everything except 10.0.0.2 should have no limit, however this seems not
> working, 10.0.0.2 is not limited.
> Can someone point me what's wrong ?
>
> --
> Best regards,
>  Ozga Rafal                          mailto:golem at mtm-info.pl
>
>
> _______________________________________________
> redback-nsp mailing list
> redback-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/redback-nsp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20141008/08215a97/attachment.html>


More information about the redback-nsp mailing list