-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathextreme-exos.config
53 lines (49 loc) · 1.03 KB
/
extreme-exos.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# BGP Session Culling Example - Extreme Networks - EXOS Based Switches (Tested on x450, x670 and x870)
# Culling type: Involuntary BGP Session Teardown
edit policy NoiseFilterProfile-WithBGPDrain
entry BLOCK_BGP4 {
if match all {
nlri 192.0.2.0/24 ;
protocol tcp ;
destination-port 179 ;
}
then {
deny ;
count BLOCKED-BGP4 ;
}
}
entry BLOCK_BGP4_Source {
if match all {
nlri 192.0.2.0/24 ;
protocol tcp ;
source-port 179 ;
}
then {
deny ;
count BLOCKED-BGP4-src ;
}
}
entry BLOCK_BGP6 {
if match all {
nlri 2001:db8:2::/64 ;
protocol tcp ;
destination-port 179 ;
}
then {
deny ;
count BLOCKED-BGP6 ;
}
}
entry BLOCK_BGP4_Source {
if match all {
nlri 2001:db8:2::/64 ;
protocol tcp ;
source-port 179 ;
}
then {
deny ;
count BLOCKED-BGP6-src ;
}
}
## Apply to ports
configure access-list NoiseFilterProfile ports 81 ingress