Page MenuHomeVyOS Platform

mpls inter-as - l3vpn-multi-domain-switching
Closed, ResolvedPublicFEATURE REQUEST

Description

Summary

mpls inter-as option B require the ability to switching label in the ASBR, it can be done using the following command :mpls bgp l3vpn-multi-domain-switching

Redistribute labeled L3VPN routes from AS to neighboring AS (RFC-4364 option B, or within the same AS when the iBGP peer uses next-hop-self to rewrite the next-hop attribute). The labeled L3VPN routes received on this interface are re-advertised with local labels and an MPLS table swap entry is set to bind the local label to the received label.

[Describe the feature briefly.
Example: "Add support for 802.1q VLAN interfaces."]

Redistribute labeled L3VPN routes from AS to neighboring AS (RFC-4364 option B, or within the same AS when the iBGP peer uses next-hop-self to rewrite the next-hop attribute). The labeled L3VPN routes received on this interface are re-advertised with local labels and an MPLS table swap entry is set to bind the local label to the received label.

Additional information
https://docs.frrouting.org/en/stable-10.6/bgp.html#clicmd-mpls-bgp-l3vpn-multi-domain-switching

under interface option, frr mpls bgp l3vpn-multi-domain-switching

vyos-cli option :

set protocols bgp interface eth1 mpls bgp l3vpn-multi-domain-switching

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

we need to expose as well the following command to interfaces level :mpls enable

PR: https://github.com/vyos/vyos-1x/pull/5496

I see no need in adding mpls enable - all FRR does is writing 1/0 to '/proc/sys/net/mpls/conf/eth1/input' (see https://github.com/FRRouting/frr/blob/1dd655dda3f38ab1227683ed78e51fc35e3c254b/zebra/netconf_netlink.c#L185), VyOS does the same for set protocols mpls interface eth1. If I'm missing something please write.

As for mpls bgp l3vpn-multi-domain-switching we already have set protocols bgp interface eth1 mpls forwarding, so I've added l3vpn-multi-domain-switching at this node. So to enable this option and mpls on interface the commands are:

set protocols mpls interface eth1
set protocols bgp interface eth1 mpls l3vpn-multi-domain-switching

After that:

vyos@vyos:~$ grep -B1 -E1 l3vpn /etc/frr/frr.conf
interface eth1
 mpls bgp l3vpn-multi-domain-switching
exit
c-po changed the task status from Open to In progress.Fri, Sep 25, 5:51 PM
c-po assigned this task to hedrok.
c-po triaged this task as Normal priority.
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.