[FROG] How to configure RFC 4364 (BGP/MPLS) VPNs with FRR/bgpd

SHAIKH, AMAN (AMAN) ashaikh at research.att.com
Thu Mar 1 10:35:41 EST 2018


Hi Ashvin

Thanks for the instructions. Have a few questions; see inline.

From: Ashvin Lakshmikantha [mailto:ashvin.lakshmikantha at ericsson.com]
Sent: Wednesday, February 28, 2018 10:45 PM
To: SHAIKH, AMAN (AMAN) <ashaikh at research.att.com>; frog at lists.frrouting.org
Subject: RE: How to configure RFC 4364 (BGP/MPLS) VPNs with FRR/bgpd

HI Aman,
                Actually the configuration is a two step process.

First, we need to create a vrf-policy under router bgp like so
vrf-policy cust0
  label 1357


?    Shouldn't label be assigned automatically by the zebra label manager?

  nexthop 15.44.4.165


?    Does this next-hop apply to routes going out to CE? Or routes going to the core (other PEs and/or route-reflector)? Or both?


  rd 437:612
  rt import 452:424
  rt export 516:943
  exit-vrf-policy
!
vrf-policy cust1
  label 1730
  nexthop 171.40.184.82
  rd 66:33
  rt import 906:551
  rt export 890:543
  exit-vrf-policy
!
vrf-policy cust2
  label 32639
  nexthop 189.2.178.92
  rd 14:619
  rt import 904:272
  rt export 233:507
  exit-vrf-policy

Then you need to exit the router bgp configuration and add routes to a particular vrf using add command

add vrf cust0 10.30.40.89


?    What does 10.30.40.89 represent here?

thx
aman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20180301/76b64593/attachment-0001.html>


More information about the frog mailing list