[c-nsp] MPLS VRF Route import/export
Michael Lyngbøl
michael at lyngbol.dk
Wed Nov 2 06:03:34 EST 2005
On 02.11.2005 11:36:25 +0100, Anton.Schweitzer at o2.com wrote:
> Hi,
>
> i need to import just one prefix in Site B which i have learnt in Site A,
> not all the other prefixes from A
>
> Is there a possibility to filter prefixes with are imported by an
> "route-target import xxx:xxx" statement
>
> As far as i understand when i use an import map, this influences then all
> the import statements vor the vrf
> and i need to allow then all the prefixes from all the import statements.
You would need some thing like:
ip vrf VRF
import map VRF-IMPORT
route-target import 123:111
route-target import 123:222
! import specific routes from VRF
route-map VRF-IMPORT permit 10
match ip address prefix-list VRF-IMPORT
match extcommunity 2
!
route-map VRF-IMPORT permit 20
match extcommunity 1
ip extcommunity-list 1 permit rt 123:111
ip extcommunity-list 2 permit rt 123:222
ip prefix-list VRF-IMPORT permit 10.220.0.0/14 le 32
/Michael
More information about the cisco-nsp
mailing list