-
Notifications
You must be signed in to change notification settings - Fork 3
/
vsr6
345 lines (339 loc) · 9.47 KB
/
vsr6
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
# TiMOS-C-19.5.R2 cpm/x86_64 Nokia 7750 SR Copyright (c) 2000-2019 Nokia.
# All rights reserved. All use subject to applicable license agreements.
# Built on Wed Jun 19 14:09:59 PDT 2019 by builder in /builds/c/195B/R2/panos/main
# Generated FRI OCT 04 20:12:18 2019 UTC
exit all
configure
#--------------------------------------------------
echo "System Configuration"
#--------------------------------------------------
system
name "vsr6"
time
sntp
shutdown
exit
zone UTC
exit
exit
#--------------------------------------------------
echo "System Security Configuration"
#--------------------------------------------------
system
security
per-peer-queuing
cpu-protection
policy 254 create
exit
policy 255 create
exit
exit
dist-cpu-protection
policy "_default-access-policy" create
exit
policy "_default-network-policy" create
exit
exit
exit
exit
#--------------------------------------------------
echo "Log Configuration"
#--------------------------------------------------
log
exit
#--------------------------------------------------
echo "Switch Fabric Configuration"
#--------------------------------------------------
sfm 1
sfm-type m-sfm5-12e
no shutdown
exit
sfm 2
sfm-type m-sfm5-12e
no shutdown
exit
sfm 3
sfm-type m-sfm5-12e
no shutdown
exit
#--------------------------------------------------
echo "Card Configuration"
#--------------------------------------------------
card 1
card-type iom4-e-b
mda 1
mda-type me2-100gb-qsfp28
no shutdown
exit
no shutdown
exit
card 2
card-type iom4-e-b
mda 1
mda-type me2-100gb-qsfp28
no shutdown
exit
no shutdown
exit
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/1
ethernet
encap-type dot1q
lldp
dest-mac nearest-bridge
admin-status tx-rx
notification
tx-tlvs port-desc sys-name sys-desc sys-cap
tx-mgmt-address system system-ipv6
port-id-subtype tx-if-name
exit
exit
exit
no shutdown
exit
port 1/1/2
ethernet
encap-type dot1q
lldp
dest-mac nearest-bridge
admin-status tx-rx
notification
tx-tlvs port-desc sys-name sys-desc sys-cap
tx-mgmt-address system system-ipv6
port-id-subtype tx-if-name
exit
exit
exit
no shutdown
exit
port 2/1/1
ethernet
encap-type dot1q
lldp
dest-mac nearest-bridge
admin-status tx-rx
notification
tx-tlvs port-desc sys-name sys-desc sys-cap
tx-mgmt-address system system-ipv6
port-id-subtype tx-if-name
exit
exit
exit
no shutdown
exit
port 2/1/2
ethernet
encap-type dot1q
lldp
dest-mac nearest-bridge
admin-status tx-rx
notification
tx-tlvs port-desc sys-name sys-desc sys-cap
tx-mgmt-address system system-ipv6
port-id-subtype tx-if-name
exit
exit
exit
no shutdown
exit
#--------------------------------------------------
echo "System Sync-If-Timing Configuration"
#--------------------------------------------------
system
sync-if-timing
begin
commit
exit
exit
#--------------------------------------------------
echo "Management Router Configuration"
#--------------------------------------------------
router management
exit
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
router Base
interface "system"
address 100.64.0.6/32
no shutdown
exit
interface "vsr6-vsr2"
address 10.1.1.22/30
port 1/1/2:5
no shutdown
exit
interface "vsr6-vsr4"
address 10.1.1.14/30
port 1/1/1:5
no shutdown
exit
autonomous-system 65505
ecmp 2
router-id 100.64.0.6
#--------------------------------------------------
echo "MPLS Label Range Configuration"
#--------------------------------------------------
mpls-labels
sr-labels start 20001 end 20200
exit
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------
isis 0
router-id 100.64.0.6
area-id 49.0001
traffic-engineering
advertise-router-capability area
loopfree-alternates
remote-lfa
node-protect
exit
ti-lfa max-sr-frr-labels 1
node-protect
exit
exit
level 1
wide-metrics-only
exit
level 2
wide-metrics-only
exit
segment-routing
prefix-sid-range global
no shutdown
exit
interface "system"
ipv4-node-sid index 6
no shutdown
exit
interface "vsr6-vsr2"
interface-type point-to-point
level 1
metric 25000
exit
level 2
metric 25000
exit
no shutdown
exit
interface "vsr6-vsr4"
interface-type point-to-point
level 1
metric 26000
exit
level 2
metric 26000
exit
no shutdown
exit
no shutdown
exit
#--------------------------------------------------
echo "Pcep Configuration"
#--------------------------------------------------
pcep
pcc
local-address 100.64.0.6
peer 100.64.0.254
no shutdown
exit
no shutdown
exit
exit
#--------------------------------------------------
echo "MPLS Configuration"
#--------------------------------------------------
mpls
interface "system"
no shutdown
exit
interface "vsr6-vsr2"
no shutdown
exit
interface "vsr6-vsr4"
no shutdown
exit
exit
#--------------------------------------------------
echo "RSVP Configuration"
#--------------------------------------------------
rsvp
refresh-reduction-over-bypass enable
interface "system"
no shutdown
exit
interface "vsr6-vsr2"
no shutdown
exit
interface "vsr6-vsr4"
no shutdown
exit
no shutdown
exit
#--------------------------------------------------
echo "MPLS LSP Configuration"
#--------------------------------------------------
mpls
path "pce-init"
no shutdown
exit
path "loose"
no shutdown
exit
lsp-template "pce-init-template" pce-init-p2p-srte template-id default
shutdown
cspf
max-sr-labels 6 additional-frr-labels 2
pce-report enable
exit
lsp "to-vsr1-6" sr-te
to 100.64.0.1
cspf
pce-computation
pce-report enable
pce-control
primary "loose"
exit
no shutdown
exit
lsp "to-vs3" sr-te
to 100.64.0.3
cspf
pce-computation
pce-report enable
pce-control
primary "loose"
exit
no shutdown
exit
pce-initiated-lsp
sr-te
no shutdown
exit
exit
no shutdown
exit
exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
customer 1 name "1" create
description "Default customer"
exit
exit
#--------------------------------------------------
echo "Router (Service Side) Configuration"
#--------------------------------------------------
router Base
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------
isis 0
no shutdown
exit
exit
exit all