-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathiosxr.yaml
470 lines (470 loc) · 14.1 KB
/
iosxr.yaml
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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
- match: hostname (?P<hostname>\S+)
- match: domain name (?P<domain>\S+)
- match: (?:no )?cdp
name: cdp_run
action: bool
- match: vrf (\S+)
parent: vrf
child:
- match: description (?P<description>.*)
- match: address-family (\S+)
child:
- match: import route-target
name: route-target
child:
match: (?P<import>.*)
actionall: list
- match: export route-target
name: route-target
child:
match: (?P<export>.*)
actionall: list
- match: arp redundancy
name: arp_sync
child:
match: group (\d+)
parent: group
child:
- match: peer (?P<peer>\S+)
- match: source-interface (?P<source>\S+)
- match: interface-list
name: interface
child:
match: interface (\S+) id (?P<id>\d+)
- match: dhcp ipv4
name: dhcp
child:
- match: profile (\S+) relay
parent: profile
child:
match: helper-address vrf (\S+) (?P<address>\S+)
parent: vrf
actionall: list
- match: interface (\S+) relay profile (?P<profile>\S+)
parent: interface
- match: monitor-session (\S+)
parent: monitor_session
child:
- match: destination (?P<destination>interface) (?P<interface>\S+)
- match: 'destination (?P<destination>file)(?: size (?P<size>\d+))?(?: buffer-type (?P<buffer_type>\S+))?'
- match: destination (?P<destination>pseudowire)
- match: redundancy
child:
match: iccp
child:
match: group (\d+)
parent: group
child:
- match: mlacp node (?P<node>\d)
- match: member
child:
match: neighbor (?P<neighbor>\S+)
- match: ipv4 access-list (\S+)
parent: ipv4_acl
child:
match: (\d+) (?P<rule>.*)
- match: policy-map (\S+)
parent: policy_map
child:
match: class (\S+)
parent: class
- match: nv
child:
match: satellite (\d+)
parent: satellite
child:
- match: type (?P<type>\S+)
- match: description (?P<description>\S+)
- match: serial-number (?P<sn>\S+)
- match: interface (?!preconfigure)(\S+) ?(?P<mode>l2transport)?
parent: interface
child:
- match: description (?P<description>.*)
- match: encapsulation (?P<dot1q>untagged)
- match: 'encapsulation dot1q (?P<dot1q>\d+)(?: second-dot1q (?P<second_dot1q>\d+))?'
- match: rewrite ingress tag pop (?P<pop>\d) symmetric
- match: mtu (?P<mtu>\d+)
- match: service-policy input (?P<input>\S+)
parent: policy
- match: service-policy output (?P<output>\S+)
parent: policy
- match: bundle id (?P<id>\d+) mode (?P<mode>\S+)
parent: bundle
- match: mlacp iccp-group (?P<iccp_group>\d+)
- match: lacp system mac (?P<lacp_sys_mac>\S+)
- match: mac-address (?P<mac>\S+)
- match: vrf (?P<vrf>\S+)
- match: l2transport
name: mode
- match: ipv4 address (?P<ipv4>.*)
actionall: cidr
- match: ipv4 access-group (?P<ingress>\S+) ingress
parent: ipv4_acl
- match: ipv4 access-group (?P<egress>\S+) egress
parent: ipv4_acl
- match: (?:no )?shutdown
name: shutdown
action: bool
- match: (?:no )?cdp
name: cdp_enable
action: bool
- match: ipv4 helper-address vrf (\S+) (?P<address>\S+)
parent: ipv4_helper_vrf
actionall: list
- match: ipv4 directed-broadcast
name: ipv4_features
value: directed-broadcast
action: list
- match: proxy-arp
name: ipv4_features
action: list
- match: ipv6 address (?P<ipv6>.*)
- match: ipv6 access-group (?P<ingress>\S+) ingress
parent: ipv6_acl
- match: ipv6 access-group (?P<egress>\S+) egress
parent: ipv6_acl
- match: nv
child:
match: satellite-fabric-link satellite (\d+)
name: satellite
- match: lacp period (?P<lacp_period>\S+)
- match: lldp
child:
- match: receive disable
name: rx
value: false
- match: transmit disable
name: tx
value: false
- match: ethernet cfm
child:
- match: (\S+) domain (?P<domain>\S+) service (?P<service>\S+) mep-id (?P<local_mep>\S+)
child:
- match: sla operation profile (?P<sla_profile>\S+) target mep-id (\S+)
parent: remote_mep
- match: arp timeout (?P<arp_timeout>\d+)
- match: 'monitor-session (\S+) ethernet(?: direction (?P<direction>\S+))?'
parent: monitor_session
child:
match: acl
name: acl
value: true
- match: 'flow (\S+) monitor (?P<monitor>\S+)(?: sampler (?P<sampler>\S+))? (?P<direction>\S+)'
parent: flow
grouping: implicit
- match: ethernet cfm
child:
match: domain (\S+) level (?P<level>\S+)
parent: domain
child:
- match: service (\S+) xconnect group (?P<xconnect_group>\S+) p2p (?P<xconnect>\S+)
parent: service
child:
- match: mep (\S+)
child:
- match: mep-id (?P<mep>\S+)
- match: service (\S+) bridge group (?P<bridge_group>\S+) bridge-domain (?P<bridge_domain>\S+)
parent: service
child:
- match: mep (\S+)
child:
- match: mep-id (?P<mep>\S+)
- match: route-policy (\S+)
parent: route_policy
child:
match: \s*(?P<lines>.*)
actionall: list
- match: prefix-set (\S+)
parent: prefix_set
child:
match: \s*(?P<lines>.*)
actionall: list
- match: as-path-set (\S+)
parent: as_path_set
child:
match: \s*(?P<lines>.*)
actionall: list
- match: evpn
child:
- match: evi (\d+)
parent: evi
child:
match: advertise-mac
name: advertise_mac
value: true
- match: interface (\S+)
parent: interface
child:
match: ethernet-segment
child:
match: identifier type (?P<type>\d) (?P<esi>\S+)
- match: l2vpn
child:
- match: redundancy
child:
match: iccp group (\d+)
parent: iccp_group
child:
- match: multi-homing node-id (?P<node>\d)
- match: interface (?P<interface>\S+)
actionall: list
- match: xconnect group (\S+)
parent: xconnect_group
child:
match: p2p (\S+)
parent: p2p
child:
- match: description (?P<description>.*)
- match: interface (?P<interface>\S+)
actionall: list
- match: monitor-session (?P<monitor_session>\S+)
- match: neighbor ipv[46] (\S+) pw-id (?P<pw_id>\d+)
parent: neighbor
child:
- match: pw-class (?P<pw_class>\S+)
- match: backup neighbor (\S+) pw-id (?P<pw_id>\d+)
parent: backup_neighbor
child:
match: pw-class (?P<pw_class>\S+)
- match: neighbor evpn evi (\d+) target (?P<target>\d+) source (?P<source>\d+)
parent: evi
- match: bridge group (\S+)
parent: bridge_group
child:
match: bridge-domain (\S+)
parent: bridge_domain
child:
- match: description (?P<description>.*)
- match: storm-control unknown-unicast pps (?P<uucast>\d+)
parent: storm_control
- match: storm-control multicast pps (?P<mcast>\d+)
parent: storm_control
- match: storm-control broadcast pps (?P<bcast>\d+)
parent: storm_control
- match: mac
child:
- match: aging
child:
match: time (?P<time>\d+)
- match: secure
child:
match: logging
name: logging
value: true
- match: igmp snooping profile (?P<igmp>\S+)
- match: interface (\S+)
parent: interface
child:
match: split-horizon group
name: split_horizon_group
value: 2
- match: vfi (\S+)
parent: vfi
child:
- match: vpn-id (?P<vpn_id>\d+)
- match: neighbor (\S+) pw-id (?P<pw_id>\d+)
parent: neighbor
- match: routed interface (\S+)
parent: routed_interface
child:
match: split-horizon group core
name: split_horizon_group
value: 1
- match: evi (?P<evi>\d+)
- match: router static
name: static
child:
- match: address-family (\S+)
child:
- match: '([^! ]+)(?: vrf (?P<vrf>\S+))?(?: (?=[A-Tn])(?P<interface>\S+))?(?: (?=(?:\S*[\.:])+)(?P<nexthop>\S+))?(?: (?P<distance>\d+))?(?: tag (?P<tag>\d+))?(?: description "?(?P<description>[^"]*)"?)?(?: track (?P<track>\S+))?'
grouping: implicit
- match: vrf (\S+)
parent: vrf
child:
match: address-family (\S+)
parent: af
child:
- match: '([^! ]+)(?: vrf (?P<vrf>\S+))?(?: (?=[A-Tn])(?P<interface>\S+))?(?: (?=(?:\S*[\.:])+)(?P<nexthop>\S+))?(?: (?P<distance>\d+))?(?: tag (?P<tag>\d+))?(?: description "?(?P<description>[^"]*)"?)?(?: track (?P<track>\S+))?'
grouping: implicit
- match: router bgp (?P<local_as>\d+)
name: bgp
child:
- match: neighbor-group (\S+)
parent: neighbor_group
child:
- match: remote-as (?P<remote_as>\S+)
- match: local-as (?P<local_as>\S+)
- match: bfd minimum-interval (?P<bfd_int>\d+)
- match: bfd multiplier (?P<bfd_mul>\d+)
- match: bfd fast-detect
name: bfd
action: bool
- match: password encrypted (?P<password>\S+)
actionall: decrypt7
- match: description (?P<description>.*)
- match: update-source (?P<update_source>\S+)
- match: address-family (\S+) unicast
parent: af
child:
- match: route-policy (?P<in>\S+) in
parent: route_policy
- match: route-policy (?P<out>\S+) out
parent: route_policy
- match: neighbor (\S+)
parent: neighbor
child:
- match: description (?P<description>.*)
- match: use neighbor-group (?P<neighbor_group>\S+)
- match: vrf (\S+)
parent: vrf
child:
- match: default-information originate
name: default_originate
value: true
- match: rd (\S+)
name: rd
- match: address-family (\S+) unicast
parent: af
child:
match: redistribute (\S+)
name: redistribute
action: list
- match: address-family ipv4 (\S+)
parent: af
- match: neighbor (\S+)
parent: neighbor
child:
- match: remote-as (?P<remote_as>\S+)
- match: ebgp-multihop (?P<ebgp_multihop>\S+)
- match: local-as (?P<local_as>\S+)
- match: bfd minimum-interval (?P<bfd_int>\d+)
- match: bfd multiplier (?P<bfd_mul>\d+)
- match: bfd fast-detect
name: bfd
action: bool
- match: password encrypted (?P<password>\S+)
actionall: decrypt7
- match: description (?P<description>.*)
- match: update-source (?P<update_source>\S+)
- match: address-family (\S+) unicast
parent: af
child:
- match: route-policy (?P<in>\S+) in
parent: route_policy
- match: route-policy (?P<out>\S+) out
parent: route_policy
- match: use neighbor-group (?P<neighbor_group>\S+)
- match: router hsrp
name: hsrp
child:
match: interface (\S+)
parent: interface
child:
- match: hsrp bfd minimum-interval (?P<bfd_int>\d+)
- match: hsrp bfd multiplier (?P<bfd_mul>\d+)
- match: hsrp delay minimum (?P<min>\d+) reload (?P<reload>\d+)
- match: address-family (\S+)
parent: af
child:
match: 'hsrp (\d+)(?: version (?P<version>\d))?'
parent: hsrp
child:
- match: timers (?P<hello>\d+) (?P<hold>\d+)
- match: 'preempt(?: delay (?P<delay>\d+))?'
name: preempt
value: true
- match: priority (?P<priority>\d+)
- match: address (?P<address>\S+)$
- match: address (?P<secondary>\S+) secondary
actionall: list
- match: address global (?P<address>\S+)
- match: address linklocal (?P<linklocal>\S+)
- match: bfd fast-detect peer ipv[46] (?P<bfd_peer>\S+)
- match: multicast-routing
name: multicast
child:
match: vrf (\S+)
parent: vrf
child:
match: address-family (\S+)
parent: af
- match: router igmp
name: igmp
child:
match: vrf (\S+)
parent: vrf
child:
match: version (?P<version>\d+)
- match: router msdp
name: msdp
child:
match: vrf (\S+)
parent: vrf
child:
- match: connect-source (?P<connect_source>\S+)
- match: originator-id (?P<originator_id>\S+)
- match: peer (\S+)
parent: peer
child:
match: mesh-group (?P<mesh_group>\S+)
- match: (?:no )?lldp
name: lldp_run
action: bool
- match: router pim
name: pim
child:
match: vrf (\S+)
parent: vrf
child:
match: address-family (\S+)
parent: af
child:
- match: dr-priority (?P<dr_priority>\d+)
- match: rp-address (?P<rp>\S+)
- match: interface (\S+)
parent: interface
child:
- match: bfd minimum-interval (?P<bfd_int>\d+)
- match: bfd multiplier (?P<bfd_mul>\d+)
- match: bfd fast-detect
name: bfd
action: bool
- match: ipsla
child:
- match: operation (\d+)
parent: op
child:
match: type (\S+) (?P<sub_type>\S+)
parent: type
child:
- match: tag (?P<tag>\S+)
- match: vrf (?P<vrf>\S+)
- match: source address (?P<source_ip>\S+)
- match: destination address (?P<dest_ip>\S+)
- match: packet count (?P<num_packets>\d+)
- match: packet interval (?P<interval>\d+)
- match: timeout (?P<timeout>\d+)
- match: tos (?P<tos>\d+)
- match: frequency (?P<frequency>\d+)
- match: schedule operation (\d+)
parent: op
child:
- match: start-time (?P<start>.*)
- match: life (?P<life>\S+)
- match: ageout (?P<ageout>\d+)
- match: flow exporter-map (\S+)
parent: flow_exp
child:
- match: transport udp (?P<transport>\d+)
- match: source (?P<source>\S+)
- match: 'destination (?P<dest>\S+)(?: vrf (?P<vrf>\S+))?'
- match: version (?P<version>\S+)
- match: flow monitor-map (\S+)
parent: flow_mon
child:
- match: record (?P<record>\S+)
- match: exporter (?P<exporter>\S+)
- match: sampler-map (\S+)
parent: flow_sam
child:
match: random 1 out-of (?P<interval>\d+)