0ad1c6a3ca6884ac4b48e513e47d3a0945ab941e
[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 flow1 {
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         then {
26             action sample-terminal;
27         }
28     }
29 }
30 }