blob: 48ebbc74addb8645429e4993951e0f324c05bbca (
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
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="show">
<children>
<node name="ip">
<properties>
<help>Show IPv4 routing information</help>
</properties>
<children>
<node name="route">
<properties>
<help>Show IP routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route"</command>
<children>
<leafNode name="bgp">
<properties>
<help>Show IP BGP routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route bgp"</command>
</leafNode>
<node name="cache">
<properties>
<help>Show kernel route cache</help>
</properties>
<command>ip -s route list cache</command>
</node>
<tagNode name="cache">
<properties>
<help>Show kernel route cache for a given route</help>
<completionHelp>
<list><x.x.x.x> <x.x.x.x/x></list>
</completionHelp>
</properties>
<command>ip -s route list cache $5</command>
</tagNode>
<leafNode name="connected">
<properties>
<help>Show IP connected routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route connected"</command>
</leafNode>
<node name="forward">
<properties>
<help>Show kernel route table</help>
</properties>
<command>ip route list</command>
</node>
<tagNode name="forward">
<properties>
<help>Show kernel route table for a given route</help>
<completionHelp>
<list><x.x.x.x> <x.x.x.x/x></list>
</completionHelp>
</properties>
<command>ip -s route list $5</command>
</tagNode>
<leafNode name="kernel">
<properties>
<help>Show IP kernel routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route kernel"</command>
</leafNode>
<leafNode name="ospf">
<properties>
<help>Show IP OSPF routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route ospf"</command>
</leafNode>
<leafNode name="rip">
<properties>
<help>Show IP RIP routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route rip"</command>
</leafNode>
<leafNode name="static">
<properties>
<help>Show IP static routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route static"</command>
</leafNode>
<leafNode name="summary">
<properties>
<help>Show IP routes summary</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route summary"</command>
</leafNode>
<leafNode name="supernets-only">
<properties>
<help>Show IP supernet routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route supernets-only"</command>
</leafNode>
<node name="table">
<properties>
<help>Show IP routes in policy table</help>
</properties>
</node>
<tagNode name="table">
<properties>
<help>Show IP routes in policy table</help>
<completionHelp>
<list><1-200></list>
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show ip route table $5"</command>
</tagNode>
<node name="tag">
<properties>
<help>Show only routes with tag</help>
</properties>
</node>
<tagNode name="tag">
<properties>
<help>Tag value</help>
<completionHelp>
<list><1-4294967295></list>
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show ip route tag $5"</command>
</tagNode>
<node name="vrf">
<properties>
<help>Show IP routes in VRF</help>
</properties>
</node>
<tagNode name="vrf">
<properties>
<help>Show IP routes in VRF</help>
<completionHelp>
<list><vrf></list>
<path>vrf name</path>
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show ip route vrf $5"</command>
</tagNode>
</children>
</node>
<tagNode name="route">
<properties>
<help>Show IP routes of specified IP address or prefix</help>
<completionHelp>
<list><x.x.x.x> <x.x.x.x/x></list>
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show ip route $4"</command>
<children>
<leafNode name="longer-prefixes">
<properties>
<help>Show longer prefixes of routes for specified IP address or prefix</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route $4 longer-prefixes"</command>
</leafNode>
</children>
</tagNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|