SRX Services Gateway
SRX Services Gateway

SRX3K translate route-map from screenOS

‎05-21-2014 07:38 AM

Hello guys,

 

i'm translating (i'm a newbie to juniper) a config from screenOS to junos (SRX3600) and i found these lines :

 

set access-list 10
set access-list 10 deny ip X.X.X.X/24 5
set access-list 10 deny ip X.X.X.X/24 10
set access-list 10 deny ip X.X.X.X/24 15
set access-list 10 deny ip X.X.X.X/24 20
set access-list 10 deny ip X.X.X.X/24 25
set access-list 10 deny ip X.X.X.X/24 26
set access-list 10 permit ip 0.0.0.0/0 50
set route-map name "routemap1" permit 5
set match ip 10

 

 

what is the utiity of this? and how can i translate it to junos SRX please?

 

thank you in advance.

 

Br,

1 REPLY 1
SRX Services Gateway
Solution
Accepted by topic author Mr.O
‎08-26-2015 01:27 AM

Re: SRX3K translate route-map from screenOS

‎05-21-2014 08:51 AM

Hi,

 

This might help you out:

 

https://migration-tools.juniper.net/

 

Giving something like the below:

 

policy-options {
    policy-statement accesslist-10 {
        term term-1 {
            from {
                route-filter 10.10.10.0/24 exact;
                route-filter 10.10.11.0/24 exact;
                route-filter 10.10.12.0/24 exact;
                route-filter 10.10.13.0/24 exact;
                route-filter 10.10.14.0/24 exact;
                route-filter 10.10.15.0/24 exact;
            }
            then reject;
        }
        term term-2 {
            from route-filter 0.0.0.0/0 exact;
            then accept;
        }
        term deny {
            then reject;
        }
    }
}

 

 

MMcD [JNCIP-SEC, JNCIS-ENT, CCNA, MCP]
____________________________________________________

[Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too]