Export MAP and Import MAP

From: Vishal Patel (vpatel@accessproviders.com.au)
Date: Thu Jan 04 2007 - 01:25:06 ART


Hey guys,

I don't understand MPLS very well.

I want to understand import - map and exports - maps properly.

I have a sample config below :

ip vrf TEST
 rd 24233:225
 export map EXPORT-TEST
 route-target export 24233:225
 route-target import 24233:225
 route-target import 24233:9

MPLS-PE#sh route-map EXPORT-TEST
route-map EXPORT-TEST, permit, sequence 10
  Match clauses:
    ip address prefix-lists: TEST1
  Set clauses:
    extended community RT:24233:8 RT:24233:225
  Policy routing matches: 0 packets, 0 bytes

MPLS-PE#sh ip prefix-list TEST1
ip prefix-list TEST1: 1 entries
   seq 5 permit 172.30.225.0/24 le 32

I don't understand , why subnet 172.30.225.0/24 is tagged with 24233:8 and
24233:225 ?

Can't this just be achieved by route-target import/export ?

What special thing is the export map doing ?

I did some research on cisco website , but wasn't much of help.

So explanation would be helpful.

Thanks

Vishal



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:55 ART