Switching

last person joined: 14 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX4200 BGP Configuration

    Posted 01-13-2014 19:50

    Hi Guys, I am very new to Junos. And I need help from you guys how to configure BGP . I have Cisco configuration and hope you can help convert to Junos. 

     


    ROUTER1

    router bgp 7707


    neighbor <pt-pt IP> remote-as 7707

    neighbor <pt-pt IP2> remote-as 24071

     


    ROUTER2

    router bgp 24071
    neighbor 123.123.123.123 remote-as 24095
    neighbor 123.123.123.123 soft-reconfiguration inbound
    neighbor 123.123.123.123 route-map line4 out


    neighbor <pt-pt IP>remote-as 7707


    neighbor <pt-pt IP>soft-reconfiguration inbound
    neighbor <pt-pt IP>route-map line4 out
    neighbor <pt-pt IP>route-map HIX in

     

    route-map line4

     

    match ip address prefix-list line4
    ip prefix-list line4 permit xx.xx.xx.0/24

     

    route-map HIX permit 10
    match as-path 7

     

    ip as-path access-list 7 permit ^7707_9299$

     

     

     

     

     

    Thanks Guys in advance



  • 2.  RE: EX4200 BGP Configuration
    Best Answer

    Posted 01-14-2014 04:04

    Why dont you use IOS to Junos translator (an official tool from Juniper) . Please view following KB http://kb.juniper.net/InfoCenter/index?page=content&id=KB13220&smlogin=true. This KB contains a link to IOS to Junos translator , open it (necessary login required) and paste your IOS configure and get Junos based configure

     

     

     

     

     

     

     

     

    Please mark this as accepted solution if it works for you

    A kudos is a good way of appreciation

     

    Kashif Nawaz

    JNCIP-Sec ,JNCIP-Ent

    JNCIS-Ent, JNCIS-Sec

    JNCIA-Junos



  • 3.  RE: EX4200 BGP Configuration

    Posted 01-17-2014 01:50

    Thanks, Kashif 🙂 I will try this IOS - Junos translator



  • 4.  RE: EX4200 BGP Configuration

    Posted 01-17-2014 02:57

    Hi Kashif.

     


    I tried to convert but there are lines that wasnt converted. I hope  you guys will be able to help me convert the IOS to Junos. 

     

    I am attaching Router1.txt and Router.txt which is converted to Junos with Error. Also, i am attaching BGP-comp.txt contains the working IOS configuration. 

     

    Thanks in advance. 

    Attachment(s)

    txt
    Router1.txt   1 KB 1 version
    txt
    Router2.txt   3 KB 1 version
    txt
    BGP - comp.txt   1 KB 1 version


  • 5.  RE: EX4200 BGP Configuration

    Posted 01-20-2014 20:45

    Hi Guys,

     

    I need help to verify if my configuration will work. I got few error message while converting the IOS to Junos, but I think the its there. But I need you guys confirm.

     

     

    I attached two files.

    IOS-Junos.txt  == IOS config converted to Junos in display set

    output error.txt == output error when I converted from IOS to Junos.

     

    I hope somebody will be able to verufy for me. 

     

    Thanks a lot 🙂

     

     

     

    Attachment(s)

    txt
    output error.txt   1 KB 1 version
    txt
    IOS-Junos.txt   3 KB 1 version