33 lines
395 B
INI
33 lines
395 B
INI
neighbor 10.0.1.1 {
|
|
router-id 10.0.1.101;
|
|
hold-time 10;
|
|
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
|
|
}
|
|
}
|