mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 07:35:21 +00:00

this test ensures that an incoming bgp ipv4 and ipv6 flowspec entry is received with a nexthop IP associated. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
33 lines
381 B
INI
33 lines
381 B
INI
neighbor 10.0.1.1 {
|
|
router-id 10.0.1.101;
|
|
local-address 10.0.1.101;
|
|
local-as 100;
|
|
peer-as 100;
|
|
flow {
|
|
route {
|
|
match {
|
|
source 1.1.1.2/32;
|
|
destination 3.3.3.3/32;
|
|
packet-length <200;
|
|
}
|
|
then {
|
|
redirect 50.0.0.2;
|
|
rate-limit 55;
|
|
}
|
|
}
|
|
#end route 1
|
|
route {
|
|
match {
|
|
source 1::2/128/0;
|
|
destination 3::3/128/0;
|
|
packet-length <200;
|
|
}
|
|
then {
|
|
redirect 50::2;
|
|
rate-limit 55;
|
|
}
|
|
}
|
|
#end route 2
|
|
}
|
|
}
|