Sample ORF Configuration in XR

Hi,

Is there any one with a sample ORF configuration between XR routers or between XR and IOS? Just need to see how its done and maybe defaults.

Comments

  • Hi,

    Please find a sample config below.


    R6 (IOS) configuration

    ip prefix-list orf-prefix-list seq 5 permit 2.2.0.6/32
    !
    router bgp 1002
     no bgp default ipv4-unicast
     neighbor 2.2.69.9 remote-as 2
     !
     address-family ipv4
      no synchronization
      network 2.2.0.6 mask 255.255.255.255
      neighbor 2.2.69.9 activate
      neighbor 2.2.69.9 capability orf prefix-list both
      neighbor 2.2.69.9 prefix-list orf-prefix-list out
      no auto-summary
     exit-address-family
     !
    !

     

    R9 (IOX) configuration

    prefix-set orf-set
     2.2.0.2/32,
     2.2.0.7/32,
     2.2.0.8/32,
     2.2.0.9/32
    end-set
    !
    route-policy orf-policy
     if orf prefix in orf-set then
      pass
     endif
    end-policy
    !
    route-policy pass-all
      pass
     endif
    end-policy
    !
    router bgp 2
     address-family ipv4 unicast
     network 2.2.0.9/32
     !
     neighbor 2.2.69.6
      remote-as 1002
      address-family ipv4 unicast
       route-policy pass-all out
       route-policy pass-all in
       capability orf prefix both
       orf route-policy orf-policy
     !
    !

  • thanks guys. I am grateful 

Sign In or Register to comment.