Code Review
/
integration
/
test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
flowspec tests
[integration/test.git]
/
csit
/
variables
/
bgpflowspec
/
bgp-flowspec-redirect.cfg
1
neighbor ODLIP {
2
router-id EXABGPIP;
3
local-address EXABGPIP;
4
local-as 64496;
5
peer-as 64496;
6
family {
7
ipv4 flow;
8
}
9
flow {
10
route flow1 {
11
match {
12
source 10.0.0.1/32;
13
destination 192.168.0.1/32;
14
15
}
16
then {
17
redirect 65500:12345;
18
}
19
}
20
route flow2 {
21
match {
22
source 10.0.0.2/32;
23
destination 192.168.0.2/32;
24
25
}
26
then {
27
redirect 1.2.3.4;
28
}
29
}
30
route flow4 {
31
match {
32
source 10.0.0.4/32;
33
destination 192.168.0.4/32;
34
35
}
36
next-hop 127.0.0.1;
37
then {
38
redirect-to-nexthop;
39
}
40
}
41
}
42
}