RPL dla trasy staycznej IOS XR

Problemy związane z routingiem
Wiadomość
Autor
netjru
fresh
fresh
Posty: 2
Rejestracja: 04 mar 2022, 12:09

RPL dla trasy staycznej IOS XR

#1

#1 Post autor: netjru »

Cześć,

Próbuje przeniesc route mape z IOS na IOS XR.
Oryginalnie na podstawie source IP była wybierany next hop:

Kod: Zaznacz cały

route-map PROD, permit, sequence 10
  Match clauses:
    ip address (access-lists): ACL_PROD_C1

  Set clauses:
    ip next-hop 10.10.10.1
route-map PROD, permit, sequence 20
  Match clauses:
    ip address (access-lists): ACL_PROD_C2

  Set clauses:
    ip next-hop 10.10.10.2
Na IOS XR utworzyłem:

Kod: Zaznacz cały

route-policy PROD
if source in (A.B.C.D/32) and destination in (X.X.X.X/16) then
set next-hop 10.10.10.1
else
set next-hop 10.10.10.2
endif
end-policy
Niestety nie moge podpiąc tej polityki do redistribute static w vrf
Policy [Prod] uses the 'source' attribute. There is no 'source' attribute at the bgp redistribution-vrf attach point.

Możecie cos podpowiedzieć w którym miejscu musze RPL zapiąć?

netjru
fresh
fresh
Posty: 2
Rejestracja: 04 mar 2022, 12:09

Re: RPL dla trasy staycznej IOS XR

#2

#2 Post autor: netjru »

Znalazłem :) Access-list based forwarding :)

ODPOWIEDZ