The import-rib evpn srv6 ip-prefix command enables the VPNv4 address family to import routes from the EVPN address family.
The undo import-rib evpn srv6 ip-prefix command disables the VPNv4 address family from importing routes from the EVPN address family.
By default, the VPNv4 address family is disabled from importing routes from the EVPN address family.
Parameter | Description | Value |
---|---|---|
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 over MPLS network on the other side. To import routes of the EVPN L3VPN over SRv6 network to the VPNv4 over MPLS 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.