Tuesday, October 27, 2020

help with Junos to IOS migration

Hello,

I'm doing a config migration from Junos to IOS and need a little help with part of the new config. The existing Junos config is:

----------------------------

}

policy-options {

policy-statement MPLS_AS_PREPEND_POL {

term MPLS_AS_PREPEND_TERM {

from {

route-filter 0.0.0.0/0 orlonger;

}

then as-path-prepend "65100 65100 65100 65100";

}

}

policy-statement OSPF-ROUTE {

from {

protocol ospf;

route-filter 10.19.8.0/23 exact;

route-filter 10.19.10.0/23 exact;

route-filter 10.25.10.0/23 exact;

route-filter 10.25.8.0/23 exact;

route-filter 10.27.10.0/23 exact;

route-filter 10.27.8.0/23 exact;

route-filter 10.29.2.0/23 exact;

route-filter 10.29.0.0/23 exact;

}

then accept;

}

policy-statement arl_routes {

from {

route-filter 10.18.8.0/23 exact;

}

then accept;

}

policy-statement import_direct {

from {

protocol direct;

route-filter 10.16.0.0/24 exact;

route-filter 10.16.1.0/24 exact;

route-filter 10.16.2.0/23 exact;

route-filter 10.16.4.0/23 exact;

route-filter 10.16.10.0/23 exact;

route-filter 10.16.12.0/23 exact;

route-filter 10.16.6.0/24 exact;

route-filter 10.16.7.0/24 exact;

route-filter 10.16.16.0/24 exact;

route-filter 10.16.14.0/24 exact;

route-filter 10.16.15.0/24 exact;

route-filter 10.16.8.0/24 exact;

}

then accept;

}

policy-statement static-route {

from protocol static;

then accept;

}

}

-----------------------------

What do I need to do to create an IOS config from this?

Any help appreciated.



No comments:

Post a Comment