]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_vty.h
bgpd: enhance EPVN vty show commands
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 9 Jan 2017 17:26:24 +0000 (18:26 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:58:58 +0000 (13:58 +0100)
commit784d3a4299eef5f663bb6da4b6e52bf6a6e17d68
tree45e6b8ea174f916a294f6ab34b6b4dce54f06900
parentdfa42ea338db2d3bec31d69544fb941bb1822594
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>
bgpd/Makefile.am
bgpd/bgp_evpn_vty.c [new file with mode: 0644]
bgpd/bgp_evpn_vty.h [new file with mode: 0644]
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_vpn.c [new file with mode: 0644]
bgpd/bgp_vpn.h [new file with mode: 0644]
bgpd/bgpd.c