[PATCH] General protocol route limits

Alexander V. Chernikov melifaro at yandex-team.ru
Mon Nov 14 13:40:25 CET 2011


Hello list!

At the moment bird has route limits implemented for BGP only (route
limit XXX).

This seems to be not enough in various BGP+IGP configurations.

Vendors implement the following approaches:

Cisco:
* warning-only (OSPF, redistribute maximum-prefix) - print warning message
* withdraw (OSPF, redistribute maximum-prefix) - Prevents additional
redistribution when the number of routes defined by the maximum argument
have been redistributed.
* clear (IS-IS) - clears all redistributed prefixes

See
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/fsoredis.htmlfor
more information

Juniper:
* log-only (general, maximum-prefixes) - print warning message only
* withdraw (general, maximum-prefixes) - any additional routes are rejected
* clear (OSPF, ISIS, prefix-export-limit) - clear database from all
extrnal routes


This patch introduces general limiting functionality for any protocol.

Import/export limits can be configured with the following actions:
* warn (prints warning message)
* block (blocks new import/exports from/to the protocol)
* shutdown (restart the protocol, import only)
* disable (shutdown and disable protocol)

If any protocol limit is hit and block action is taken, protocol can be
returned to 'normal' state by using reload [in|out] protocol (or
restaring it).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Implement-general-protocol-limiting.patch
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20111114/e4d1e603/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20111114/e4d1e603/attachment.asc>


More information about the Bird-users mailing list