The import-rib mpls command enables the EVPN address family to import routes from the VPNv4 or VPNv6 address family.
The undo import-rib mpls command disables the EVPN address family from importing routes from the VPNv4 or VPNv6 address family.
By default, the EVPN address family is not enabled to import routes from the VPNv4 or VPNv6 address family.
Parameter | Description | Value |
---|---|---|
vpnv4 |
BGP-VPNv4 address family. |
- |
vpnv6 |
BGP-VPNv6 address family. |
- |
route-policy route-policy-name |
Specifies the name of a routing policy. After this parameter is specified, the command takes effect only for the routes that match the policy. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
In an Option B SRv6 and MPLS interworking scenario, a border leaf node is connected to an EVPN L3VPN over SRv6 network on one side and to a VPNv4/VPNv6 over MPLS network on the other side. To import routes of the VPNv4/VPNv6 over MPLS network to the EVPN L3VPN over SRv6 network, you can run this command to implement this function. If a route-policy is specified, this function takes effect only for the routes that match the route-policy.