-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-policy.html
252 lines (252 loc) · 13.8 KB
/
sample-policy.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<html><body>
<h1>Policy Elements</h1>
<h2>Apply Policy Section</h2><a href="#apply-policy">apply-policy</a><br><h2>sla-class</h2>
<a href="#SC:Gold">Gold</a><br>
<a href="#SC:Silver">Silver</a><br>
<a href="#SC:Voice">Voice</a><br>
<h2>data-policy</h2>
<a href="#DP:PH_ALL_DATA-POLICY">PH_ALL_DATA-POLICY</a><br>
<h2>app-route-policy</h2>
<a href="#ARP:AAR_POLICY">AAR_POLICY</a><br>
<h2>cflowd-template</h2>
<a href="#CT:CFLOWD_US">CFLOWD_US</a><br>
<h2>vpn-list</h2>
<a href="#VL:SERVICE_VPN_10">SERVICE_VPN_10</a><br>
<h2>data-prefix-list</h2>
<a href="#DPL:ANY">ANY</a><br>
<a href="#DPL:RFC1918">RFC1918</a><br>
<h2>tloc-list</h2>
<a href="#TL:VZ-VCP-vEdge-TLOC">VZ-VCP-vEdge-TLOC</a><br>
<h2>app-list</h2>
<a href="#AL:MICROSOFT_APPS">MICROSOFT_APPS</a><br>
<a href="#AL:VOICE_CONTROL">VOICE_CONTROL</a><br>
<h2>color-list</h2>
<a href="#CL:MPLS-METRO-COLOR">MPLS-METRO-COLOR</a><br>
<h2>site-list</h2>
<a href="#SL:REMOTE-ALL">REMOTE-ALL</a><br>
<h2>prefix-list</h2>
<a href="#PL:RFC1918">RFC1918</a><br>
<h2>control-policy</h2>
<a href="#CP:PH-ALL-In">PH-ALL-In</a><br>
<h1>Policy</h1>
0:policy
<br>
1: sla-class <a id="SC:Gold"><b>Gold</b></a><br>
2: loss 2<br>
3: latency 350<br>
4: !
<br>
5: sla-class <a id="SC:Silver"><b>Silver</b></a><br>
6: loss 3<br>
7: latency 350<br>
8: !
<br>
9: sla-class <a id="SC:Voice"><b>Voice</b></a><br>
10: loss 1<br>
11: latency 350<br>
12: jitter 20<br>
13: !
<br>
14: data-policy <a id="DP:PH_ALL_DATA-POLICY"><b>PH_ALL_DATA-POLICY</b></a><br>
15: vpn-list <a href="#VL:SERVICE_VPN_10">SERVICE_VPN_10</a><br>
16: sequence 10
<br>
17: match
<br>
18: source-data-prefix-list <a href="#DPL:RFC1918">RFC1918</a><br>
19: dscp 46<br>
20: !
<br>
21: action accept
<br>
22: cflowd<br>
23: set
<br>
24: forwarding-class Queue0<br>
25: !
<br>
26: !
<br>
27: !
<br>
28: sequence 15
<br>
29: match
<br>
30: source-data-prefix-list <a href="#DPL:RFC1918">RFC1918</a><br>
31: app-list <a href="#AL:VOICE_CONTROL">VOICE_CONTROL</a><br>
32: !
<br>
33: action accept
<br>
34: cflowd<br>
35: !
<br>
36: !
<br>
37: sequence 35
<br>
38: match
<br>
39: source-data-prefix-list <a href="#DPL:RFC1918">RFC1918</a><br>
40: destination-data-prefix-list <a href="#DPL:RFC1918">RFC1918</a><br>
41: app-list <a href="#AL:MICROSOFT_APPS">MICROSOFT_APPS</a><br>
42: destination-port 443 80<br>
43: !
<br>
44: action accept
<br>
45: cflowd<br>
46: set
<br>
47: forwarding-class Queue3<br>
48: !
<br>
49: !
<br>
50: !
<br>
51: app-route-policy <a id="ARP:AAR_POLICY"><b>AAR_POLICY</b></a><br>
52: vpn-list <a href="#VL:SERVICE_VPN_10">SERVICE_VPN_10</a><br>
53: sequence 5
<br>
54: match
<br>
55: app-list <a href="#AL:VOICE_CONTROL">VOICE_CONTROL</a><br>
56: !
<br>
57: action
<br>
58: count VOICE_CONTROL<br>
59: backup-sla-preferred-color biz-internet public-internet<br>
60: sla-class <a href="#SC:Voice">Voice</a> preferred-color mpls metro-ethernet<br>
61: !
<br>
62: !
<br>
63: cflowd-template <a id="CT:CFLOWD_US"><b>CFLOWD_US</b></a><br>
64: flow-inactive-timeout 120<br>
65: collector vpn 10 address 1.2.3.4 port 2055 transport transport_udp source-interface loopback10<br>
66: !
<br>
67: lists
<br>
68: vpn-list <a id="VL:SERVICE_VPN_10"><b>SERVICE_VPN_10</b></a><br>
69: vpn 10<br>
70: !
<br>
71: data-prefix-list <a id="DPL:ANY"><b>ANY</b></a><br>
72: ip-prefix 0.0.0.0/0<br>
73: !
<br>
74: data-prefix-list <a id="DPL:RFC1918"><b>RFC1918</b></a><br>
75: ip-prefix 10.0.0.0/8<br>
76: ip-prefix 172.16.0.0/12<br>
77: ip-prefix 192.168.0.0/16<br>
78: !
<br>
79: tloc-list <a id="TL:VZ-VCP-vEdge-TLOC"><b>VZ-VCP-vEdge-TLOC</b></a><br>
80: tloc 1.1.1.1 color mpls encap ipsec preference 600<br>
81: tloc 1.1.1.1 color biz-internet encap ipsec preference 550<br>
82: tloc 1.1.2.1 color mpls encap ipsec preference 500<br>
83: tloc 1.1.2.1 color biz-internet encap ipsec preference 450<br>
84: !
<br>
85: app-list <a id="AL:MICROSOFT_APPS"><b>MICROSOFT_APPS</b></a><br>
86: app bing<br>
87: app microsoft<br>
88: app ms-office-365<br>
89: app ms-services<br>
90: app sharepoint_admin<br>
91: app sharepoint_blog<br>
92: app sharepoint_calendar<br>
93: app sharepoint_document<br>
94: app sharepoint_online<br>
95: app xbox_video<br>
96: app xboxlive<br>
97: app xboxlive_marketplace<br>
98: app yammer<br>
99: !
<br>
100: app-list <a id="AL:VOICE_CONTROL"><b>VOICE_CONTROL</b></a><br>
101: app rtcp<br>
102: app sccp<br>
103: app sip<br>
104: app skinny<br>
105: !
<br>
106: color-list <a id="CL:MPLS-METRO-COLOR"><b>MPLS-METRO-COLOR</b></a><br>
107: color mpls<br>
108: color metro-ethernet<br>
109: !
<br>
110: !
<br>
111: site-list <a id="SL:REMOTE-ALL"><b>REMOTE-ALL</b></a><br>
112: site-id 11100-11999<br>
113: site-id 12100-12999<br>
114: site-id 13100-13999<br>
115: site-id 21100-21999<br>
116: site-id 22100-22999<br>
117: site-id 31100-31999<br>
118: site-id 32100-32999<br>
119: site-id 41100-41999<br>
120: site-id 42100-42999<br>
121: !
<br>
122: prefix-list <a id="PL:RFC1918"><b>RFC1918</b></a><br>
123: ip-prefix 10.0.0.0/8<br>
124: ip-prefix 172.16.0.0/12<br>
125: ip-prefix 192.168.0.0/16<br>
126: !
<br>
127: control-policy <a id="CP:PH-ALL-In"><b>PH-ALL-In</b></a><br>
128: sequence 5
<br>
129: match route
<br>
130: site-list PH-NA-East<br>
131: !
<br>
132: action accept
<br>
133: set
<br>
134: omp-tag 12000<br>
135: !
<br>
136: !
<br>
137: !
<br>
138: sequence 10
<br>
139: match route
<br>
140: site-list PH-NA-South<br>
141: !
<br>
142: action accept
<br>
143: set
<br>
144: omp-tag 13000<br>
145: !
<br>
146: !
<br>
147: !
<br>
148: !
<br>
149:<a id="apply-policy"><b>apply-policy</b></a><br>
150: site-list <a href="#SL:REMOTE-ALL">REMOTE-ALL</a><br>
151: control-policy <a href="#CP:PH-ALL-In">PH-ALL-In</a> in<br>
152: data-policy <a href="#DP:PH_ALL_DATA-POLICY">PH_ALL_DATA-POLICY</a> from-service<br>
153: app-route-policy <a href="#ARP:AAR_POLICY">AAR_POLICY</a><br>
154: cflowd-template <a href="#CT:CFLOWD_US">CFLOWD_US</a><br>
155: !
<br>
156:!
<br>
</html></body>