Max-prefix limitsΒΆ
General policy:
- limit: 4
- peering DB: True (increment: 1 / 20%)
- action: block
AS1:
- no peering DB
- no specific limits
- expected limit: 4
- of announced routes: 5 (all valid)
- expectations:
- BIRD: only 4 routes received
- OpenBGPD: session down
AS2 (client with peering_db.increment set to 0/0):
- peering DB (3)
- no specific limits
- expected limit: 3
- of announced routes: 5 (all valid)
- expectations:
- BIRD: only 3 routes received
- OpenBGPD: session down
AS3:
- specific limit: 2
- expected limit: 2
- of announced routes: 5 (all valid)
- expectations:
- BIRD 1.6.x: only 2 routes received
- OpenBGPD: session down
AS4:
- peering DB (4)
- no specific limits
- expected limit: 6 (given by (4 + 1) * 1.20)
- of announced routes: 7 (all valid)
- expectations:
- BIRD 1.6.x: only 6 routes received
- OpenBGPD: session down
AS5 (only for BIRD):
- specific limit: 3
- expected limit: 3
- configured with count_rejected_routes: True
(default value) and action: shutdown
- of announced routes: 4 (2 valid, 2 bogons)
- expectations:
- BIRD 1.6.x: session down
AS6 (only for BIRD):
- specific limit: 3
- expected limit: 3
- configured with count_rejected_routes: False
(client specific value) and action: shutdown
- of announced routes: 4 (2 valid, 2 bogons)
- expectations:
- BIRD 1.6.x: all 4 routes received