Debian Codegraph @

src/a10_plugin/json_configs/tps_base_config_json_v1.txt

raw
1 a10-url:/axapi/v3/admin
2 {
3 "admin-list": [
4 {
5 "user":"admin",
6 "password": {
7 "encrypted-in-module":"sCyT4priW1OZSg3m1RiAf0bOyZ0Odnf1rQRp+BHohemGp1YhW+V1NjwQjLjV2wDn",
8 }
9 }
10 ]
11 }
12
13 a10-url:/axapi/v3/multi-config
14 {
15 "multi-config": {
16 "enable":1,
17 }
18 }
19
20 a10-url:/axapi/v3/monitor
21 {
22 "monitor": {
23 "buffer-usage":91750,
24 }
25 }
26
27 a10-url:/axapi/v3/system
28 {
29 "system": {
30 "anomaly-log":1,
31 "attack":1,
32 "attack-log":1,
33 "ddos-attack":1,
34 "ddos-log":1,
35 }
36 }
37
38 a10-url:/axapi/v3/hostname
39 {
40 "hostname": {
41 "value":"tps-fastnetmon",
42 }
43 }
44
45 a10-url:/axapi/v3/interface/management
46 {
47 "management": {
48 "ip": {
49 "ipv4-address”:”x.x.x.x",
50 "ipv4-netmask”:”x.x.x.x",
51 "control-apps-use-mgmt-port":1,
52 "default-gateway”:”x.x.x.x"
53 },
54 "action":"enable",
55 }
56 }
57
58 a10-url:/axapi/v3/interface/ethernet
59 {
60 "ethernet-list": [
61 {
62 "ifnum":1,
63 "name":"Inbound",
64 "action":"enable",
65 },
66 {
67 "ifnum":2,
68 "name":"Outbound",
69 }
70 ]
71 }
72
73 a10-url:/axapi/v3/glid
74 {
75 "glid-list": [
76 {
77 "name":"1",
78 "description":"10gbps rate limiter",
79 "bit-rate-limit":10000000,
80 },
81 {
82 "name":"2",
83 "description":"1gbps rate limiter",
84 "bit-rate-limit":1000000,
85 },
86 {
87 "name":"3",
88 "description":"100mbps rate limiter",
89 "bit-rate-limit":100000,
90 }
91 ]
92 }
93
94 a10-url:/axapi/v3/ddos/protection
95 {
96 "protection": {
97 "toggle":"enable",
98 "rate-interval":"1sec",
99 }
100 }
101
102 a10-url:/axapi/v3/ddos/resource-tracking/cpu
103 {
104 "cpu": {
105 "enable":1,
106 }
107 }
108
109 a10-url:/axapi/v3/ddos/zone-template/logging
110 {
111 "logging-list": [
112 {
113 "logging-tmpl-name":"cef-logger",
114 "log-format-cef":1,
115 "enable-action-logging":1,
116 }
117 ]
118 }
119
120 a10-url:/axapi/v3/ddos/zone-template/tcp
121 {
122 "tcp-list": [
123 {
124 "name":"tcp-protect1",
125 "syn-authentication": {
126 "syn-auth-type":"send-rst",
127 "syn-auth-pass-action":"authenticate-src",
128 "syn-auth-fail-action":"drop"
129 },
130 }
131 ]
132 }
133
134 a10-url:/axapi/v3/ddos/zone-template/udp
135 {
136 "udp-list": [
137 {
138 "name":"udp-protect1",
139 "spoof-detect-retry-timeout":5,
140 "spoof-detect-min-delay":2,
141 "spoof-detect-pass-action":"authenticate-src",
142 "spoof-detect-fail-action":"drop",
143 "known-resp-src-port-cfg": {
144 "known-resp-src-port":1,
145 "known-resp-src-port-action":"drop"
146 },
147 }
148 ]
149 }
150
151 a10-url:/axapi/v3/ddos/src/default
152 {
153 "default-list": [
154 {
155 "default-address-type":"ip",
156 },
157 {
158 "default-address-type":"ipv6",
159 }
160 ]
161 }
162
163 a10-url:/axapi/v3/ddos/dst/default
164 {
165 "default-list": [
166 {
167 "default-address-type":"ip",
168 },
169 {
170 "default-address-type":"ipv6",
171 }
172 ]
173 }
174 a10-url:/axapi/v3/logging/syslog
175 {
176 "syslog": {
177 "syslog-levelname":"information",
178 }
179 }
180
181 a10-url:/axapi/v3/logging/host/ipv4addr
182 {
183 "ipv4addr-list": [
184 {
185 "host-ipv4”:”x.x.x.x",
186 "use-mgmt-port":1,
187 "tcp":0,
188 }
189 ]
190 }
191
192 a10-url:/axapi/v3/router/bgp
193 {
194 "bgp-list": [
195 {
196 "as-number”:x,
197 "bgp": {
198 "log-neighbor-changes":1,
199 "router-id”:”x.x.x.x"
200 },
201 "neighbor": {
202 "ipv4-neighbor-list": [
203 {
204 "neighbor-ipv4”:”x.x.x.x",
205 "nbr-remote-as":1,
206 "description":"upstream",
207 "neighbor-route-map-lists": [
208 {
209 "nbr-route-map":"ddos-advertise",
210 "nbr-rmap-direction":"out"
211 }
212 ],
213 }
214 ]
215 }
216 }
217 ]
218 }
219
220 a10-url:/axapi/v3/route-map
221 {
222 "route-map-list": [
223 {
224 "tag":"ddos-advertise",
225 "action":"permit",
226 "sequence":1,
227 }
228 ]
229 }
230
231 a10-url:/axapi/v3/sflow/setting
232 {
233 "setting": {
234 "max-header":128,
235 "packet-sampling-rate":1000,
236 }
237 }
238
239 a10-url:/axapi/v3/sflow/collector/ip
240 {
241 "ip-list": [
242 {
243 "addr”:”x.x.x.x",
244 "port":6343,
245 "use-mgmt-port":1,
246 }
247 ]
248 }
249
250 a10-url:/axapi/v3/sflow/agent/address
251 {
252 "address": {
253 "ip”:”x.x.x.x",
254 }
255 }
256
257 a10-url:/axapi/v3/sflow/sampling
258 {
259 "sampling": {
260 "eth-list": [
261 {
262 "eth-start":1,
263 "eth-end":1
264 }
265 ],
266 }
267 }