[FROG] import vrf <vrf_name> vs route-map match source-vrf <vrf_name>

Bing.S at dell.com Bing.S at dell.com
Wed Nov 13 21:17:16 EST 2019


Hi,

Is there any difference between "import vrf <vrf_name>" and "match source-vrf <vrf_name>"

For example
route-map myMap permit 1
        match ip address prefix-list p1

option1:
    having "match source-vrf" in the same myMap

   route-map myMap permit 1
        match ip address prefix-list p1
        match source-vrf Vrf_red

  for vrf_blue:
       address-familiy ipv4 unicast
               route-map vpn import myMap
               rt vpn import 1111:11
               import vpn

option2:
    do not have "match source-vrf" in the myMap

       route-map myMap permit 1
            match ip address prefix-list p1

    for vrf_blue:

        address-family ipv4 unicast
               import vrf route-map myMap
               import vrf Vrf_red

What is the  difference in terms of routes filtering between the 2 options?

Thanks,
Bing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20191114/51ff3ca2/attachment.html>


More information about the frog mailing list