blob: 72e441029436f232832447b59d36854c7fd26321 (
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
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="show">
<children>
<node name="ipv6">
<children>
<node name="bgp">
<properties>
<help>Show Border Gateway Protocol (BGP) information</help>
</properties>
<command>/usr/bin/vtysh -c "show bgp ipv6"</command>
<children>
<leafNode name="summary">
<properties>
<help>Show summary of BGP neighbor status</help>
</properties>
<command>/usr/bin/vtysh -c "show bgp ipv6 summary"</command>
</leafNode>
<tagNode name="regexp">
<properties>
<help>Show routes matching AS path regular expression</help>
</properties>
<command>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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><AA:NN> local-AS no-advertise no-export</list>
</completionHelp>
</properties>
<command>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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>/usr/bin/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><X:X::X:X> <X:X::X:X/x></list>
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show bgp ipv6 $4"</command>
<children>
<node name="longer-prefixes">
<properties>
<help>Show route and more specific routes</help>
<completionHelp>
<list><X:X::X:X> <X:X::X:X/x></list>
</completionHelp>
</properties>
<command>/usr/bin/vtysh -c "show bgp ipv6 $4 longer-prefixes"</command>
</node>
</children>
</tagNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|