summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-08 22:42:38 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-09 22:31:38 +0100
commit30af74a8f51f22802db8e393ac86293a54ebcd9d (patch)
treef84b90df6fceddc717bbf646e4aae027bf15277f /op-mode-definitions/show-ip-bgp.xml.in
parentf89969c1729a94901a817bd97da6f5b2a3712af0 (diff)
downloadvyos-1x-30af74a8f51f22802db8e393ac86293a54ebcd9d.tar.gz
vyos-1x-30af74a8f51f22802db8e393ac86293a54ebcd9d.zip
bgp: T1513: initial implementation of L2VPN EVPN support
Diffstat (limited to 'op-mode-definitions/show-ip-bgp.xml.in')
-rw-r--r--op-mode-definitions/show-ip-bgp.xml.in61
1 files changed, 61 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip-bgp.xml.in b/op-mode-definitions/show-ip-bgp.xml.in
index 6d7fe58a0..311f9e6ae 100644
--- a/op-mode-definitions/show-ip-bgp.xml.in
+++ b/op-mode-definitions/show-ip-bgp.xml.in
@@ -204,6 +204,67 @@
</tagNode>
</children>
</node>
+ <node name="l2vpn">
+ <properties>
+ <help>Layer 2 Virtual Private Network</help>
+ </properties>
+ <children>
+ <node name="evpn">
+ <properties>
+ <help>Ethernet Virtual Private Network</help>
+ </properties>
+ <children>
+ <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>vtysh -c "show ip bgp l2vpn evpn all overlay"</command>
+ </leafNode>
+ <leafNode name="tags">
+ <properties>
+ <help>Display BGP tags for prefixes</help>
+ </properties>
+ <command>vtysh -c "show ip bgp l2vpn evpn all tags"</command>
+ </leafNode>
+ </children>
+ </node>
+ <tagNode name="neighbors">
+ <properties>
+ <help>Show detailed BGP IPv4 unicast neighbor information</help>
+ <completionHelp>
+ <script>vtysh -c "show ip bgp summary" | awk '{print $1}' | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"</script>
+ </completionHelp>
+ </properties>
+ <children>
+ <leafNode name="advertised-routes">
+ <properties>
+ <help>Show routes advertised to a BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show ip bgp l2vpn evpn neighbor $7 advertised-routes"</command>
+ </leafNode>
+ <leafNode name="routes">
+ <properties>
+ <help>Show routes learned from BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show ip bgp l2vpn evpn neighbor $7 routes"</command>
+ </leafNode>
+ </children>
+ </tagNode>
+ <leafNode name="update-groups">
+ <properties>
+ <help>Detailed info about dynamic update groups</help>
+ </properties>
+ <command>vtysh -c "show ip bgp l2vpn evpn update-groups"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="large-community">
<properties>
<help>Show BGP routes matching the specified large-communities</help>