Wednesday, February 9, 2011

Converting ACL from Cisco IOS to JUNOS


This article show you how to convert the ACL configration in Cisco IOS to JUNOS.

Cisco's IOS:

access-list 101 permit tcp 192.168.1.0 0.0.0.255 any eq ftp
access-list 101 permit tcp 192.168.1.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 192.168.1.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 192.168.1.0 0.0.0.255 any eq ssh
access-list 101 permit tcp 128.29.31.0 0 0.0.0.255 any eq ftp
access-list 101 permit tcp 128.29.31.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 128.29.31.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 128.29.31.0 0.0.0.255 any eq ssh
access-list 101 permit tcp 207.46.150.0 0.0.0.255 any eq ftp
access-list 101 permit tcp 207.46.150.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 207.46.150.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 207.46.150.0 0.0.0.255 any eq ssh
access-list 101 permit tcp 206.132.25.0 0.0.0.255 any eq ftp
access-list 101 permit tcp 206.132.25.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 206.132.25.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 206.132.25.0 0.0.0.255 any eq ssh
access-list 101 permit tcp 208.48.26.0 0.0.0.255 any eq ftp
access-list 101 permit tcp 208.48.26.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 208.48.26.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 208.48.26.0 0.0.0.255 any eq ssh
access-list 101 permit tcp 207.159.55.0 0.0.0.255 any eq ftp
access-list 101 permit tcp 207.159.55.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 207.159.55.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 207.159.55.0 0.0.0.255 any eq ssh
access-list 101 permit tcp 167.216.192.0 0.0.0.255 any eq ftp
access-list 101 permit tcp 167.216.192.0 0.0.0.255 any eq ftp-data
access-list 101 permit tcp 167.216.192.0 0.0.0.255 any eq telnet
access-list 101 permit tcp 167.216.192.0 0.0.0.255 any eq ssh
access-list 101 deny any log


Juniper's JUNOS:

filter trusted-prefixes {
   term controlled-access {
     from {
        address {
                     192.168.1.0/24;
                     128.29.31.0/24;
                     207.46.150.0/24;
                     206.132.25.0/24;
                     208.48.26.0/24;
                     207.159.55.0/24;
                    167.216.192.0/24;
                    }
      protocol tcp;
      port [ ftp ftp-data telnet ssh ];
      }
  then accept;
  }
term access-denied {
    then {
           log;
          reject;
          }
     }
}

8 comments:

  1. Was is the algorithm for conversion?

    ReplyDelete

  2. This is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
    iphone app training course
    iphone training classes in bangalore
    iphone training

    ReplyDelete
  3. Anyone has an algorithm or IOS to junos command translator?

    ReplyDelete
  4. This blog helps to understand more about Juniper Router. Visit https://www.sancuro.com/services/juniper-router-dhcp-configuration to get the best price for Remote Juniper Router DHCP Configuration from Sancuro IT support team.

    ReplyDelete
  5. Network Enhancers - "Delivering Beyond Boundaries": Converting Acl From Cisco Ios To Junos >>>>> Download Now

    >>>>> Download Full

    Network Enhancers - "Delivering Beyond Boundaries": Converting Acl From Cisco Ios To Junos >>>>> Download LINK

    >>>>> Download Now

    Network Enhancers - "Delivering Beyond Boundaries": Converting Acl From Cisco Ios To Junos >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  6. Network Enhancers - "Delivering Beyond Boundaries": Converting Acl From Cisco Ios To Junos >>>>> Download Now

    >>>>> Download Full

    Network Enhancers - "Delivering Beyond Boundaries": Converting Acl From Cisco Ios To Junos >>>>> Download LINK

    >>>>> Download Now

    Network Enhancers - "Delivering Beyond Boundaries": Converting Acl From Cisco Ios To Junos >>>>> Download Full

    >>>>> Download LINK nU

    ReplyDelete
  7. Respect and that i have a swell provide: How Long Do House Renovations Take kitchen remodel companies near me

    ReplyDelete