flowspec tests
[integration/test.git] / csit / variables / bgpflowspec / bgp-flowspec.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 {
11                 match {
12                         source 10.0.0.1/32;
13                         destination 192.168.0.1/32;
14                         port =80;
15                         destination-port >8080&<8088;
16                         source-port >1024;
17                         protocol tcp;
18                         packet-length >400&<500;
19                         fragment first-fragment;
20                         icmp-type echo-reply;
21                         icmp-code network-unreachable;
22                         tcp-flags urgent;
23                         dscp 20;
24
25                 }
26                 then {
27                        action sample-terminal;
28                 }
29         }
30 }
31 }