Mailing List Archive

[PATCH 0/6] bgpd: support of default-originate subcommand for VPNv4 address family
Hi all,

This serie of patches is the enhancement of the bgp neighbor X.X.X.X default-originate
command for the VPNv4 address family. Here is an example of the allowed commands:

bgpd(config-router-af)# neighbor 10.125.0.2 default-originate rd 64600:111 2.2.2.2 300
bgpd(config-router-af)# neighbor 10.125.0.2 default-originate rd 64600:111 3.3.33.3
bgpd(config-router-af)# neighbor 10.125.0.2 default-originate rd 64600:111
bgpd(config-router-af)# no neighbor 10.125.0.2 default-originate rd 64600:111

The rd (Route Distinguisher) is mandatory. Next optionnal parameters are the nexthop and the label.
In case there is no nexthop provided, the nexthop set in the UPDATE message is the router id.

After entering the command, no default route is installed into the global RIB, it only
trigger the send of UPDATE message with MP-[UN]REACH-NLRI attributes set to advertise
the route 0.0.0.0/0 for afi=IPv4 and safi=MPLS_LABELED_UNICAST with appropriate
values. UPDATE messages are sent to all peers that are registered for the given Route
Distinguisher.

The network command have also been enhanced the same way for VPNv4 address family.
It has same behavior as default-originate subcommand but with less parameters.

This series of patch should be used in conjunction with the following 5 patches.

[quagga-dev,16244,v4,1/3] lib: 3byte stream foo
[quagga-dev,16247,v4,2/3] bgpd: multiple label stack support
[quagga-dev,16246,v4,3/3] tests: enhance bgpd testing with label value

[quagga-dev,16249,v2,1/2] bgpd: VRF vty configuration, RIB table creation
[quagga-dev,16250,v2,2/2] bgpd: vpnv4 af exports extended communities

_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev