Debian Codegraph @

src/a10_plugin/configs/tps_base_config_v1.txt

raw
1 system anomaly log
2 system attack log
3 system ddos-attack log
4 !
5 hostname A10TPS-Fastnetmon
6 !
7 interface management
8 ip address x.x.x.x x.x.x.x
9 ip control-apps-use-mgmt-port
10 ip default-gateway x.x.x.x
11 enable
12 !
13 interface ethernet 1
14 name Inbound
15 enable
16 !
17 interface ethernet 2
18 name Outbound
19 !
20 !
21 glid 1
22 description "10gbps rate limiter"
23 bit-rate-limit 10000000
24 !
25 glid 2
26 description "1gbps rate limiter"
27 bit-rate-limit 1000000
28 !
29 glid 3
30 description "100mbps rate limiter"
31 bit-rate-limit 100000
32 !
33 ddos protection enable
34 ddos protection rate-interval 1sec
35 !
36 ddos resource-tracking cpu enable
37 !
38 ddos zone-template logging cef-logger
39 log-format-cef
40 enable-action-logging
41 !
42 ddos zone-template tcp tcp-protect1
43 syn-authentication send-rst
44 syn-authentication pass-action authenticate-src
45 syn-authentication fail-action drop
46 !
47 ddos zone-template udp udp-protect1
48 spoof-detect timeout 5
49 spoof-detect min-delay 2
50 spoof-detect pass-action authenticate-src
51 spoof-detect fail-action drop
52 known-resp-src-port action drop
53 !
54 logging syslog information
55 !
56 logging host x.x.x.x use-mgmt-port
57 !
58 router bgp x
59 bgp log-neighbor-changes
60 bgp router-id x.x.x.x
61 neighbor x.x.x.x remote-as x
62 neighbor x.x.x.x description upstream
63 neighbor x.x.x.x route-map ddos-advertise out
64 !
65 route-map ddos-advertise permit 1
66 !
67 sflow setting max-header 128
68 sflow setting packet-sampling-rate 1000
69 !
70 sflow collector ip x.x.x.x 6343 use-mgmt-port
71 !
72 sflow agent address x.x.x.x
73 !
74 sflow sampling ethernet 1
75 !
76 end