Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  how to create "Route Map" / "Routing instance" in junos?

    Posted 01-31-2015 06:52

    Hi everybody!

    I have today cisco 6513 with route map and i need to migrate the switch and install instead it QFX 5510.

    for the goal, i need to match the configuration from IOS to Junos.

    On the cisco 6513 we use Route Map with the folowing configuration:

     

    !

    route-map cc-backup permit 10
     match ip address to-cc-bu-bypass
     set ip next-hop 132.68.48.13

    !

    ip access-list extended to-cc-bu-bypass
     permit ip host 132.68.49.4 host 132.68.1.44
     permit ip host 132.68.49.4 host 132.68.1.12
     permit ip host 132.68.49.4 host 132.68.1.6
     permit ip host 132.68.49.4 host 192.168.7.1
     permit ip host 132.68.49.4 host 192.168.7.2
     permit ip host 132.68.49.4 host 192.168.7.3
     permit ip host 132.68.49.5 host 132.68.1.44
     permit ip host 132.68.49.5 host 132.68.1.12
     permit ip host 132.68.49.5 host 132.68.1.6
     permit ip host 132.68.49.5 host 192.168.7.1
     permit ip host 132.68.49.5 host 192.168.7.2

    .

    .

    .

    .

    !

    interface Vlan161
     ip policy route-map cc-backup

    !

     

    i am looking for wich video or other guide that explain how to configure Routing Instans Forwarding in junos and i dont find something that pass all over the steps i need.

     

    it will very help me if somebody can explain the steps and the parameter i need to migrate my configuration from IOS to Junos.

     

    Thanks!



  • 2.  RE: how to create "Route Map" / "Routing instance" in junos?

     
    Posted 01-31-2015 10:22


  • 3.  RE: how to create "Route Map" / "Routing instance" in junos?

    Posted 01-31-2015 19:27

    Your example is not correct. Do you understand what difference between virtual-router instance and forwarding instance ?



  • 4.  RE: how to create "Route Map" / "Routing instance" in junos?

     
    Posted 02-02-2015 01:15
    interfaces {
        vlan.161 {
            hold-time up 0 down 2000;
            unit 161 {
                proxy-arp;
                family inet {
                    filter {
                        input cc-backup-filter;
                    }
                }
            }
        }
    }
    routing-options {
        rib-groups {
            cc-backup-group {
                import-rib [ inet.0 cc-backup-10.inet.0 ];
            }
        }
        interface-routes {
            rib-group inet cc-backup-group;
        }
    }
    routing-instances {
        cc-backup-10 {
            instance-type forwarding;
            routing-options {
                static {
                    route 0.0.0.0/0 next-hop 132.68.48.13;
                }
            }
        }
    }
    firewall {
        family {
            inet {
                filter cc-backup-filter {
                    term T1 {
                        from {
                            source-address {
                                132.68.49.4/32;
                            }
                            destination-address {
                                132.68.1.44/32;
                                132.68.1.12/32;
                                132.68.1.6/32;
                                192.168.7.1/32;
                                192.168.7.2/32;
                                192.168.7.3/32;
                            }
                        }
                        then {
                            routing-instance cc-backup-10;
                        }
                    }
                    term T2 {
                        from {
                            source-address {
                                132.68.49.5/32;
                            }
                            destination-address {
                                132.68.1.44/32;
                                132.68.1.12/32;
                                132.68.1.6/32;
                                192.168.7.1/32;
                                192.168.7.2/32;
                            }
                        }
                        then {
                            routing-instance cc-backup-10;
                        }
                    }
                    term default {
                        then {
                            accept;
                        }
                    }
                }
            }
        }
    }