]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vpn.c
bgpd: Display received and advertised EVPN routes from neighbors
authorDinesh Dutt <5016467+ddutt@users.noreply.github.com>
Thu, 8 Aug 2019 02:58:18 +0000 (02:58 +0000)
committerDinesh Dutt <5016467+ddutt@users.noreply.github.com>
Thu, 8 Aug 2019 04:17:26 +0000 (04:17 +0000)
commitdcc1615e1b5f8f439f01fd9e61845f377d28a07a
tree93cdbbddb48b5743242673800d372f11ff63b33c
parent3a738964ec92473c21a5fe75a7fa8de28a344ff8
bgpd: Display received and advertised EVPN routes from neighbors

"show bgp l2vpn evpn neighbors <neighbor> [advertised-routes|routes]' did
not work due to various bugs. First, the command only accepted IPv4
addresses as valid neighbor ID, thereby rejecting unnumbered BGP and IPv6
neighbor address. Second, the SAFI was hardcoded to MPLS_VPN even though
we were passing the safi. Third, "all" made no sense in the command context
and to make the command uniform across all address families, I removed the
"all" keyword from the command.

Signed-off-by: Dinesh G Dutt <ddps4u@gmail.com>
bgpd/bgp_evpn_vty.c
bgpd/bgp_route.c
bgpd/bgp_vpn.c
bgpd/bgpd.c
bgpd/bgpd.h