cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
995
Views
0
Helpful
2
Replies

Routing Policy to Match Incoming RD

dchockal1
Level 1
Level 1

On CISCO ASR 9K routers

 

Can i have routing Policy to match the Incoming RD, and export the Routes based on the Incoming RD's. Basically I do not want to export certain routes to certain Incoming RD ( Router Distinguishers )

 

Though I could have Same Import RT and export  RT in those RD.

 

Example

RD 10.0.0.1:64                             ( I would Like ASR to Export Routes to this RD  )

        iRT  65201:64

        eRT 65201:64 

 

RD 90.0.0.1:64                              ( I would Like the ASR not to export the Routes to this RD )

        iRT  65201:64

        eRT 65201:64 

 

 

Is it Possible! And can i have some configuration examples as references

2 Replies 2

dchockal1
Level 1
Level 1

Basically I Looking some filter to match the following Attribute

Source Route Distinguisher: 93.0.0.1:94

 

RP/ASR900#show bgp vrf VRFTEST 93.0.0.0/24
Sat Oct 13 13:41:44.530 UTC
BGP routing table entry for 93.0.0.0/24, Route Distinguisher: 11.0.0.1:94
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker             188287      188287
Last Modified: Oct 13 13:07:34.056 for 00:34:10
Paths: (1 available, best #1)
  Not advertised to any peer
  Path #1: Received by speaker 0
  Not advertised to any peer
  Local, (Received from a RR-client)
    192.168.0.5 from 192.168.83.75 (192.168.83.75)
      Received Label 77878
      Origin IGP, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, imported
      Received Path ID 0, Local Path ID 0, version 188287
      Extended community: RT:65201:94
      Source AFI: VPNv4 Unicast, Source VRF: default, Source Route Distinguisher: 93.0.0.1:94

Hi,

 

RDs are not to be used for importing routes into VRFs –you can use the RTs for that purpose.

If you’re trying to import specific VRF routes but only those originated from a specific neighbour, you need to combine route-originator-ID with RT in your import policy match criteria.

 

adam

adam