]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Add evpn prefix to debug bgp updates prefix
authorChirag Shah <chirag@cumulusnetworks.com>
Sat, 21 Jul 2018 18:08:51 +0000 (11:08 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 24 Jul 2018 13:45:40 +0000 (06:45 -0700)
commit81cf0de50e083470fba2a0d54c3dcee57613581a
tree1594038fdb0b63153b4c05abf53a7fc8608e3147
parent873a9a03d39f10a70960689ff1d543177e326532
bgpd: Add evpn prefix to debug bgp updates prefix

Adding EVPN prefix of Type 2, 3 and 5 routes to bgp updates
prefix filters.

Ticket:CM-14476
Testing Done:

Configure multiple evpn options under 'debug bgp updates prefix'.
Below is the running-config output.

MAC-IP route with just MAC:
debug bgp updates prefix l2vpn evpn type macip mac
00:02:00:0a:0a:0a
MAC-IP route with MAC and IP:
debug bgp updates prefix l2vpn evpn type macip mac
00:02:00:00:00:0c ip 45.0.1.9
MAC-IP route with just MAC and IPv6:
debug bgp updates prefix l2vpn evpn type
macip mac 00:02:00:00:00:0a ip 2001:fee1:0:1::8
Type-3:
debug bgp updates prefix l2vpn evpn type multicast ip 27.0.1.19
Type-5:
debug bgp updates prefix l2vpn evpn type prefix
ip 2060:1:1:1::/64

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/Makefile.am
bgpd/bgp_debug.c
bgpd/bgp_vty.c