-
Notifications
You must be signed in to change notification settings - Fork 3
/
vsr-nrc1-example
324 lines (318 loc) · 8.32 KB
/
vsr-nrc1-example
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
# Generated FRI SEP 06 16:40:48 2019 UTC
exit all
configure
#--------------------------------------------------
echo "System Configuration"
#--------------------------------------------------
system
name "vsr-nrc1"
snmp
streaming
no shutdown
exit
packet-size 9216
exit
time
sntp
shutdown
exit
zone UTC
exit
bluetooth
module A
exit
power off
exit
exit
#--------------------------------------------------
echo "System Security Configuration"
#--------------------------------------------------
system
security
ftp-server
user "admin"
password "$2y$10$TQrZlpBDra86.qoexZUzQeBXDY1FcdDhGWdD9lLxMuFyPVSm0OGy6"
access console ftp
console
member "administrative"
exit
exit
snmp
community "cV3ISTw2V5pbEWmVEA9jXgB/1EERXQA=" hash2 rwa version both
exit
per-peer-queuing
dist-cpu-protection
policy "_default-access-policy" create
exit
policy "_default-network-policy" create
exit
exit
exit
exit
#--------------------------------------------------
echo "System Login Control Configuration"
#--------------------------------------------------
system
login-control
idle-timeout disable
exit
exit
#--------------------------------------------------
echo "Log Configuration"
#--------------------------------------------------
log
event-control "igmp" 2005 suppress
event-control "vrtr" 2034 generate
snmp-trap-group 98
description "5620sam"
trap-target "525400A8F5F3:main1" address 192.168.200.240 snmpv2c notify-community "privatetrap98"
trap-target "525400A8F5F3:main2" address 192.168.200.241 snmpv2c notify-community "privatetrap98"
exit
log-id 98
from main security change
to snmp 1024
no shutdown
exit
exit
#--------------------------------------------------
echo "Card Configuration"
#--------------------------------------------------
card 1
card-type iom-1
mda 1
mda-type me6-100gb-qsfp28
no shutdown
exit
mda 2
mda-type me6-100gb-qsfp28
no shutdown
exit
no shutdown
exit
#--------------------------------------------------
echo "Connector Configuration"
#--------------------------------------------------
port 1/1/c1
connector
breakout c10-10g
exit
no shutdown
exit
port 1/1/c2
shutdown
exit
port 1/1/c3
shutdown
exit
port 1/1/c4
shutdown
exit
port 1/1/c5
shutdown
exit
port 1/1/c6
shutdown
exit
port 1/2/c1
shutdown
exit
port 1/2/c2
shutdown
exit
port 1/2/c3
shutdown
exit
port 1/2/c4
shutdown
exit
port 1/2/c5
shutdown
exit
port 1/2/c6
shutdown
exit
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/c1/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
exit
exit
exit
no shutdown
exit
port 1/1/c1/2
shutdown
ethernet
exit
exit
port 1/1/c1/3
shutdown
ethernet
exit
exit
port 1/1/c1/4
shutdown
ethernet
exit
exit
port 1/1/c1/5
shutdown
ethernet
exit
exit
port 1/1/c1/6
shutdown
ethernet
exit
exit
port 1/1/c1/7
shutdown
ethernet
exit
exit
port 1/1/c1/8
shutdown
ethernet
exit
exit
port 1/1/c1/9
shutdown
ethernet
exit
exit
port 1/1/c1/10
shutdown
ethernet
exit
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 "n1-v1"
address 10.1.1.1/30
port 1/1/c1/1:10
no shutdown
exit
interface "system"
address 10.1.9.1/32
no shutdown
exit
autonomous-system 65505
router-id 10.1.9.1
#--------------------------------------------------
echo "MPLS Label Range Configuration"
#--------------------------------------------------
mpls-labels
sr-labels start 20001 end 20200
exit
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------
isis 0
system-id 0100.0100.9001
router-id 10.1.9.1
area-id 49.0001
database-export identifier 0 bgp-ls-identifier 0
traffic-engineering
advertise-router-capability area
segment-routing
prefix-sid-range global
no shutdown
exit
interface "system"
ipv4-node-sid index 7
no shutdown
exit
interface "n1-v1"
interface-type point-to-point
no shutdown
exit
no shutdown
exit
#--------------------------------------------------
echo "Pcep Configuration"
#--------------------------------------------------
pcep
pce
local-address 10.1.9.1
no shutdown
exit
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
#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
bgp
family ipv4 bgp-ls
link-state-export-enable
group "ibgp"
type internal
local-as 65505
peer-as 65505
local-address 10.1.9.1
neighbor 1.1.10.1
shutdown
exit
neighbor 1.1.10.2
exit
neighbor 1.1.10.3
shutdown
exit
neighbor 1.1.10.4
shutdown
exit
neighbor 1.1.10.5
shutdown
exit
neighbor 1.1.10.6
shutdown
exit
neighbor 10.1.9.2
shutdown
exit
exit
no shutdown
exit
exit
exit all
# Finished FRI SEP 06 16:40:49 2019 UTC