summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/show-bgp-common.xml.i
blob: de794a87997efed89e22a3e3ddb5e120c3a5e0a9 (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
<!-- included start from bgp/show-bgp-common.xml.i -->
#include <include/bgp/afi-common.xml.i>
#include <include/bgp/afi-ipv4-ipv6-common.xml.i>
<tagNode name="ipv4">
  <properties>
    <help>Network in the BGP routing table to display</help>
    <completionHelp>
      <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt; &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>
    #include <include/bgp/prefix-bestpath-multipath.xml.i>
  </children>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</tagNode>
<node name="ipv4">
  <properties>
    <help>IPv4 Address Family</help>
  </properties>
  <children>
    #include <include/bgp/afi-common.xml.i>
    #include <include/bgp/afi-ipv4-ipv6-common.xml.i>
    #include <include/bgp/afi-ipv4-ipv6-flowspec.xml.i>
    #include <include/bgp/afi-ipv4-ipv6-vpn.xml.i>
  </children>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
<tagNode name="ipv6">
  <properties>
    <help>Network in the BGP routing table to display</help>
    <completionHelp>
      <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt; &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>
    #include <include/bgp/prefix-bestpath-multipath.xml.i>
  </children>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</tagNode>
<node name="ipv6">
  <properties>
    <help>IPv6 Address Family</help>
  </properties>
  <children>
    #include <include/bgp/afi-common.xml.i>
    #include <include/bgp/afi-ipv4-ipv6-common.xml.i>
    #include <include/bgp/afi-ipv4-ipv6-vpn.xml.i>
  </children>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
<node name="l2vpn">
  <properties>
    <help>Layer 2 Virtual Private Network</help>
  </properties>
  <children>
    <tagNode name="evpn">
      <properties>
        <help>Network in the BGP routing table to display</help>
        <completionHelp>
          <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt; &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>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
    </tagNode>
    <node name="evpn">
      <properties>
        <help>Ethernet Virtual Private Network</help>
      </properties>
      <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
      <children>
        #include <include/bgp/afi-common.xml.i>
        <node name="all">
          <properties>
            <help>Display information about all EVPN NLRIs</help>
          </properties>
          <children>
            <leafNode name="overlay">
              <properties>
                <help>Display BGP Overlay Information for prefixes</help>
              </properties>
              <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            </leafNode>
            <leafNode name="tags">
              <properties>
                <help>Display BGP tags for prefixes</help>
              </properties>
              <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            </leafNode>
          </children>
        </node>
        <node name="es">
          <properties>
            <help>Ethernet Segment</help>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          <children>
            #include <include/vtysh-generic-detail.xml.i>
          </children>
        </node>
        <node name="es-evi">
          <properties>
            <help>Ethernet Segment per EVI</help>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          <children>
            #include <include/vtysh-generic-detail.xml.i>
            #include <include/vni-tagnode.xml.i>
          </children>
        </node>
        <leafNode name="import-rt">
          <properties>
            <help>Show import route target</help>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
        </leafNode>
        <tagNode name="neighbors">
          <properties>
            <help>Show detailed BGP neighbor information</help>
            <completionHelp>
              <script>vtysh -c 'show bgp summary' | awk '{print $1'} | grep -e '^[0-9a-f]'</script>
            </completionHelp>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          <children>
            <leafNode name="advertised-routes">
              <properties>
                <help>Show routes advertised to a BGP neighbor</help>
              </properties>
              <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            </leafNode>
            <leafNode name="routes">
              <properties>
                <help>Show routes learned from BGP neighbor</help>
              </properties>
              <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            </leafNode>
          </children>
        </tagNode>
        <tagNode name="rd">
          <properties>
            <help>Show detailed BGP neighbor information</help>
            <completionHelp>
              <list>ASN:NN IPADDRESS:NN</list>
            </completionHelp>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          <children>
            <leafNode name="overlay">
              <properties>
                <help>Display BGP Overlay Information for prefixes</help>
              </properties>
              <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            </leafNode>
            <leafNode name="tags">
              <properties>
                <help>Display BGP tags for prefixes</help>
              </properties>
              <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
            </leafNode>
          </children>
        </tagNode>
        <node name="route">
          <properties>
            <help>EVPN route information</help>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
          <children>
            #include <include/vtysh-generic-detail.xml.i>
            <node name="type">
              <properties>
                <help>Specify Route type</help>
              </properties>
              <children>
                #include <include/bgp/evpn-type-1.xml.i>
                #include <include/bgp/evpn-type-2.xml.i>
                #include <include/bgp/evpn-type-3.xml.i>
                #include <include/bgp/evpn-type-4.xml.i>
                #include <include/bgp/evpn-type-5.xml.i>
                #include <include/bgp/evpn-type-ead.xml.i>
                #include <include/bgp/evpn-type-es.xml.i>
                #include <include/bgp/evpn-type-macip.xml.i>
                #include <include/bgp/evpn-type-multicast.xml.i>
                #include <include/bgp/evpn-type-prefix.xml.i>
              </children>
            </node>
            #include <include/vni-tagnode-all.xml.i>
          </children>
        </node>
        #include <include/vni-tagnode.xml.i>
        <leafNode name="vni">
          <properties>
            <help>VXLAN network identifier (VNI)</help>
          </properties>
          <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
        </leafNode>
      </children>
    </node>
  </children>
</node>
<!-- included end -->