]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: EVPN route type-5 gateway IP show command
authorAmeya Dharkar <adharkar@vmware.com>
Mon, 11 Jan 2021 03:49:11 +0000 (19:49 -0800)
committerAmeya Dharkar <adharkar@vmware.com>
Tue, 8 Jun 2021 00:58:22 +0000 (17:58 -0700)
commit8304dabfab9063fe5720e8e714476ed2e9127540
treef48b36d0b651dbcc1ce10178e3af401c2db6a126
parent6c995628c1d175d255c2a02f108813090da4c4e2
bgpd: EVPN route type-5 gateway IP show command

Display gateway IP attribute in show command

"show bgp l2vpn evpn route type prefix [json]"

dev# sh bgp l2vpn evpn 100.0.0.21
BGP routing table entry for 10.100.0.2:1000:[5]:[0]:[32]:[100.0.0.21]
Paths: (1 available, best #1)
  Advertised to non peer-group peers:
  10.0.1.1
  Route [5]:[0]:[32]:[100.0.0.21] VNI 1000 Gateway IP 50.0.2.21
  203
    10.100.0.2 from 0.0.0.0 (10.100.0.2)
      Origin IGP, metric 0, valid, sourced, local, best (First path received)
      Extended Community: ET:8 RT:102:1000 Rmac:72:48:54:da:7f:13
      Last update: Mon Jun 29 12:29:05 2020

Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
bgpd/bgp_route.c