diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2022-09-15 02:30:15 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-10-04 13:01:21 +0200 |
commit | 9d456d5366593c7b0ebfde003be0517adb554541 (patch) | |
tree | 7141ebfa5c6091dae6cc8aebfaa51fe0f7c8febc /proto/bgp/config.Y | |
parent | 15c86ed061d3dbc7e4ef863e396cda5ec3ed0d4c (diff) |
BGP: Add MPLS support
When MPLS is active, received routes on MPLS-aware SAFIs (ipvX-mpls,
vpnX-mpls) are automatically labeled according to active label policy and
corresponding MPLS routes are automatically generated. Also routes sent
on MPLS-aware SAFIs announce local labels when it should be done.
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r-- | proto/bgp/config.Y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y index f589fd84..e7a2f5cb 100644 --- a/proto/bgp/config.Y +++ b/proto/bgp/config.Y @@ -129,6 +129,7 @@ bgp_proto: bgp_proto_start proto_name '{' | bgp_proto proto_item ';' | bgp_proto bgp_proto_channel ';' + | bgp_proto mpls_channel ';' | bgp_proto LOCAL bgp_loc_opts ';' | bgp_proto LOCAL ipa ipa_scope bgp_loc_opts ';' { BGP_CFG->local_ip = $3; |