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

Juniper policy translation for IOS XR

andreherminio
Level 1
Level 1

Good afternoon everyone!

Need to perform the translation of the policy applied in a Juniper router below:

 

================================================================

policy-statement export_pb-dados {
        term CONECTADAS {
            from {
                protocol direct;
                route-filter 172.16.0.4/30 exact;
            }
            then reject;
        }
        term RIP_GILAT {
            from protocol rip;
            then {
                local-preference 50;
                community add pb-dados;
                accept;
            }
        }
        term final {
            then {
                community add pb-dados;
                accept;
            }
        }
    }

==============================================================

In my translation was of the following form:

 

extcommunity-set rt pb-dados
65100:100
end-set
!
!
prefix-set export_pb-dados
172.16.0.4/30
end-set
!
!
route-policy export_pb-dados
if (destination in export_pb-dados) then
drop
set local-preference 50
set extcommunity soo (pb-dados)
else
drop
endif
end-policy
!

 

Is correct? Could someone please validate the configuration?

 

 

 

 

0 Replies 0
Review Cisco Networking for a $25 gift card