summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_evpn_vty.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2017-01-09 18:26:24 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-02-14 13:58:58 +0100
commit784d3a4299eef5f663bb6da4b6e52bf6a6e17d68 (patch)
tree45e6b8ea174f916a294f6ab34b6b4dce54f06900 /bgpd/bgp_evpn_vty.h
parentbgpd: handling router mac extended community (diff)
downloadfrr-784d3a4299eef5f663bb6da4b6e52bf6a6e17d68.tar.xz
frr-784d3a4299eef5f663bb6da4b6e52bf6a6e17d68.zip
bgpd: enhance EPVN vty show commands
This patch introduces show show bgp evpn commands to dump NLRI entries configured or received on BGP, related to EVPN New command introduced is the following: show [ip] bgp l2vpn evpn [all | rd <rd name> ] [overlay] Like for MPLS, similar set of commands is added for EVPN: show [ip] bgp l2vpn evpn [all|rd <RDNAME>] show [ip] bgp l2vpn evpn all neighbor <NEIGHBOR> routes show [ip] bgp l2vpn evpn all neighbor <NEIGHBOR> advertised-routes Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_evpn_vty.h')
-rw-r--r--bgpd/bgp_evpn_vty.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/bgpd/bgp_evpn_vty.h b/bgpd/bgp_evpn_vty.h
new file mode 100644
index 000000000..367a4bd20
--- /dev/null
+++ b/bgpd/bgp_evpn_vty.h
@@ -0,0 +1,27 @@
+/* EVPN VTY functions to EVPN
+ Copyright (C) 2017 6WIND
+
+This file is part of Free Range Routing.
+
+Free Range Routing is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+Free Range Routing is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Free Range Routing; see the file COPYING. If not, write to the Free
+Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA. */
+
+#ifndef _FRR_BGP_EVPN_VTY_H
+#define _FRR_BGP_EVPN_VTY_H
+
+extern void
+bgp_ethernetvpn_init (void);
+
+#endif /* _QUAGGA_BGP_EVPN_VTY_H */