summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ipv6.xml
blob: 357e4e97964645b6c750a715cea3f50769452d17 (plain)
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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="ipv6">
        <properties>
          <help>Show IPv6 routing information</help>
        </properties>
        <children>
          <node name="access-list">
            <properties>
              <help>Show all IPv6 access-lists</help>
            </properties>
            <command>vtysh -c "show ipv6 access-list"</command>
          </node>
          <tagNode name="access-list">
            <properties>
              <help>Show specified IPv6 access-list</help>
              <completionHelp>
                <list>WORD</list>
              </completionHelp>
            </properties>
            <command>vtysh -c "show ipv6 access-list $4"</command>
          </tagNode>
          <node name="bgp">
            <properties>
              <help>Show Border Gateway Protocol (BGP) information</help>
            </properties>
            <command>vtysh -c "show bgp ipv6"</command>
            <children>
              <leafNode name="summary">
                <properties>
                  <help>Show summary of BGP neighbor status</help>
                </properties>
                <command>vtysh -c "show bgp ipv6 summary"</command>
              </leafNode>
              <tagNode name="regexp">
                <properties>
                  <help>Show routes matching AS path regular expression</help>
                </properties>
                <command>vtysh -c "show bgp ipv6 regexp $5"</command>
              </tagNode>
              <tagNode name="prefix-list">
                <properties>
                  <help>Show routes matching the IPv6 prefix-list name</help>
                  <completionHelp>
                    <path>policy prefix-list6</path>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show bgp ipv6 prefix-list $5"</command>
              </tagNode>
              <tagNode name="neighbors">
                <properties>
                  <help>Show detailed information on TCP and BGP neighbor connections for given address</help>
                  <completionHelp>
                    <script>vtysh -c "show bgp ipv6 summary" | awk '{print $1}' | grep -oE "\b([0-9a-f]{1,4}\:{0,2}){0,20}\b"</script>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show bgp ipv6 neighbor $5"</command>
                <children>
                  <leafNode name="advertised-routes">
                    <properties>
                      <help>Show routes advertised to a BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 advertised-routes"</command>
                  </leafNode>
                  <leafNode name="filtered-routes">
                    <properties>
                      <help>Show routes filtered from a BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 filtered-routes"</command>
                  </leafNode>
                  <leafNode name="dampened-routes">
                    <properties>
                      <help>Show dampened routes received from BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 dampened-routes"</command>
                  </leafNode>
                  <leafNode name="flap-statistics">
                    <properties>
                      <help>Show flap statistics of the routes learned from BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 flap-statistics"</command>
                  </leafNode>
                  <leafNode name="prefix-counts">
                    <properties>
                      <help>Show detailed prefix count information for BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 prefix-counts"</command>
                  </leafNode>
                  <node name="received">
                    <properties>
                      <help>Show information received from BGP neighbor</help>
                    </properties>
                    <children>
                      <leafNode name="prefix-filter">
                        <properties>
                          <help>Show prefixlist filter</help>
                        </properties>
                        <command>vtysh -c "show bgp ipv6 neighbor $5 received prefix-filter"</command>
                      </leafNode>
                    </children>
                  </node>
                  <leafNode name="received-routes">
                    <properties>
                      <help>Show received routes from BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 received-routes"</command>
                  </leafNode>
                  <leafNode name="routes">
                    <properties>
                      <help>Show routes learned from BGP neighbor</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 neighbor $5 routes"</command>
                  </leafNode>
                </children>
              </tagNode>
              <tagNode name="large-community">
                <properties>
                  <help>Show routes matching the large-community-list number or name</help>
                </properties>
                <command>vtysh -c "show bgp ipv6 large-community-list $5"</command>
                <children>
                  <node name="exact-match">
                    <properties>
                      <help>Show routes matching the large-community-list number or name</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 large-community-list $5 exact-match"</command>
                  </node>
                </children>
              </tagNode>
              <tagNode name="large-community-list">
                <properties>
                  <help>Show routes matching the large-community-list number or name</help>
                </properties>
                <command>vtysh -c "show bgp ipv6 large-community-list $5"</command>
                <children>
                  <node name="exact-match">
                    <properties>
                      <help>Show routes matching the large-community-list number or name</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 large-community-list $5 exact-match"</command>
                  </node>
                </children>
              </tagNode>
              <tagNode name="filter-list">
                <properties>
                  <help>Show routes conforming to regular expression access list name</help>
                </properties>
                <command>vtysh -c "show bgp ipv6 filter-list $5"</command>
              </tagNode>
              <tagNode name="community">
                <properties>
                  <help>Show BGP information for specified community number</help>
                  <completionHelp>
                    <list>&lt;AA:NN&gt; local-AS no-advertise no-export</list>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show bgp ipv6 community $5"</command>
                <children>
                  <node name="exact-match">
                    <properties>
                      <help>Show routes from community that exactly matches the community number</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 community $5 exact-match"</command>
                  </node>
                </children>
              </tagNode>
              <tagNode name="community-list">
                <properties>
                  <help>Show routes matching the community-list number or name</help>
                </properties>
                <command>vtysh -c "show bgp ipv6 community-list $5"</command>
                <children>
                  <node name="exact-match">
                    <properties>
                      <help>Show routes exactly matching the community-list name or number</help>
                    </properties>
                    <command>vtysh -c "show bgp ipv6 community-list $5 exact-match"</command>
                  </node>
                </children>
              </tagNode>
              <tagNode name="route-map">
                <properties>
                  <help>Show BGP routes matching the specified route map</help>
                  <completionHelp>
                    <path>policy route-map</path>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show bgp ipv6 route-map $5"</command>
              </tagNode>
            </children>
          </node>
          <tagNode name="bgp">
            <properties>
              <help>Show BGP information for specified IP address or prefix</help>
              <completionHelp>
                <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
              </completionHelp>
            </properties>
            <command>vtysh -c "show bgp ipv6 $4"</command>
            <children>
              <node name="longer-prefixes">
                <properties>
                  <help>Show route and more specific routes</help>
                  <completionHelp>
                    <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show bgp ipv6 $4 longer-prefixes"</command>
              </node>
            </children>
          </tagNode>
          <node name="forwarding">
            <properties>
              <help>Show IPv6 forwarding status</help>
            </properties>
            <command>vtysh -c "show ipv6 forwarding"</command>
          </node>
          <node name="ripng">
            <properties>
              <help>Show RIPNG protocol information</help>
            </properties>
            <command>vtysh -c "show ipv6 ripng"</command>
            <children>
              <node name="status">
                <properties>
                  <help>Show RIPNG protocol status</help>
                </properties>
                <command>vtysh -c "show ipv6 ripng status"</command>
              </node>
            </children>
          </node>
          <node name="prefix-list">
            <properties>
              <help>Show IPv6 prefix-lists</help>
            </properties>
            <command>vtysh -c "show ipv6 prefix-list"</command>
            <children>
              <node name="detail">
                <properties>
                  <help>Show detail of IPv6 prefix-lists</help>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list detail"</command>
              </node>
              <tagNode name="detail">
                <properties>
                  <help>Show detail of specified IPv6 prefix-list</help>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list detail $5"</command>
              </tagNode>
              <node name="summary">
                <properties>
                  <help>Show summary of IPv6 prefix-lists</help>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list summary"</command>
              </node>
              <tagNode name="summary">
                <properties>
                  <help>Show summary of specified IPv6 prefix-list</help>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list summary $5"</command>
              </tagNode>
            </children>
          </node>
          <tagNode name="prefix-list">
            <properties>
              <help>Show specified IPv6 prefix-list</help>
              <completionHelp>
                <list>WORD</list>
              </completionHelp>
            </properties>
            <command>vtysh -c "show ipv6 prefix-list $4"</command>
            <children>
              <node name="node.tag">
                <properties>
                  <help>Show select prefix of specified IPv6 prefix-list</help>
                  <completionHelp>
                    <list>&lt;h:h:h:h:h:h:h:h/x&gt;</list>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list $4 $5"</command>
                <children>
                  <node name="first-match">
                    <properties>
                      <help>Show first-match from select prefix of named IPv6 prefix-list</help>
                    </properties>
                    <command>vtysh -c "show ipv6 prefix-list $4 $5 first-match"</command>
                  </node>
                  <node name="longer">
                    <properties>
                      <help>Show longer match of select prefix from named IPv6 prefix-list</help>
                    </properties>
                    <command>vtysh -c "show ipv6 prefix-list $4 $5 longer"</command>
                  </node>
                </children>
              </node>
              <node name="seq">
                <properties>
                  <help>Show specified sequence from specified IPv6 prefix-list</help>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list $4 seq"</command>
              </node>
              <tagNode name="seq">
                <properties>
                  <help>Show specified sequence from specified IPv6 prefix-list</help>
                </properties>
                <command>vtysh -c "show ipv6 prefix-list $4 seq $6"</command>
              </tagNode>
            </children>
          </tagNode>
          <tagNode name="route">
            <properties>
              <help>Show IPv6 routes of given address or prefix</help>
              <completionHelp>
                <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
              </completionHelp>
            </properties>
            <children>
              <node name="longer-prefixes">
                <properties>
                  <help>Show longer prefixes of routes for given address or prefix</help>
                </properties>
                <command>vtysh -c "show ipv6 route $4 longer-prefixes"</command>
              </node>
            </children>
            <command>vtysh -c "show ipv6 route $4"</command>
          </tagNode>
          <node name="route">
            <properties>
              <help>Show IPv6 routes</help>
            </properties>
            <command>vtysh -c "show ipv6 route"</command>
            <children>
              <node name="bgp">
                <properties>
                  <help>Show IPv6 BGP routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route bgp"</command>
              </node>
              <node name="connected">
                <properties>
                  <help>Show IPv6 connected routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route connected"</command>
              </node>
              <node name="isis">
                <properties>
                  <help>Show IPv6 IS-IS routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route isis"</command>
              </node>
              <node name="kernel">
                <properties>
                  <help>Show IPv6 Kernel routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route kernel"</command>
              </node>
              <node name="ospfv3">
                <properties>
                  <help>Show IPv6 OSPF routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route ospf6"</command>
              </node>
              <node name="ripng">
                <properties>
                  <help>Show IPv6 RIPNG routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route ripng"</command>
              </node>
              <node name="static">
                <properties>
                  <help>Show IPv6 static routes</help>
                </properties>
                <command>vtysh -c "show ipv6 route static"</command>
              </node>
              <node name="summary">
                <properties>
                  <help>Show IPv6 routes summary</help>
                </properties>
                <command>vtysh -c "show ipv6 route summary"</command>
              </node>
              <node name="table">
                <properties>
                  <help>Show IPv6 routes in policy tables</help>
                </properties>
                <command>vtysh -c "show ipv6 route table all"</command>
              </node>
              <tagNode name="table">
                <properties>
                  <help>Show IPv6 routes in specific policy table</help>
                  <completionHelp>
                    <path>protocols static table</path>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show ipv6 route table $5"</command>
              </tagNode>
              <node name="vrf">
                <properties>
                  <help>Show IPv6 routes in VRFs</help>
                </properties>
                <command>vtysh -c "show ipv6 route vrf all"</command>
              </node>
              <tagNode name="vrf">
                <properties>
                  <help>Show IPv6 routes in specific VRF</help>
                  <completionHelp>
                    <path>vrf name</path>
                  </completionHelp>
                </properties>
                <command>vtysh -c "show ipv6 route vrf $5"</command>
              </tagNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>