Routing

last person joined: 3 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.  MPLS (RSVP) in lab environment

    Posted 07-26-2012 09:05

    I've set up 5 routers on my machine (emulated) and I'm trying to run basic MPLS with RSVP. Unfortunately, I am unable to establish connection between the edge routers, could anyone let me know what am I doing wrong?

    The configuration of all routers is pretty much identical with the exception of R1 and R5 which have defined destinations. I have full IP connectivity, and OSPF routes propagated throughout the area.

     

    Sample config from R5:

    interfaces {

        em0 {

            unit 0 {

                family inet {

                    address 192.168.45.5/24;

                }

                family mpls;

            }

        }

        em1 {

            unit 0 {

                family inet {

                    address 192.168.56.5/24;

                }

                family mpls;

            }

        }

        lo0 {

            unit 0 {

                family inet {

                    address 192.168.5.1/32;

                }

            }

        }

    protocols {

        rsvp {

            interface all;

            interface lo0.0 {

                disable;

            }

        }

        mpls {

            label-switched-path R5-to-R1 {

                to 192.168.1.1;

            }

            interface all;

            interface lo0.0 {

                disable;

            }

        }

        ospf {

            area 0.0.0.0 {

                interface all;

            }

        }

    }

     

    Output of show mpls lsp extensive:

    root@R5> show mpls lsp extensive

    Ingress LSP: 1 sessions
    192.168.1.1

      From: 0.0.0.0, State: Dn, ActiveRoute: 0, LSPname: R5-to-R1

      ActivePath: (none)

      LSPtype: Static Configured

      LoadBalance: Random

      Encoding type: Packet, Switching type: Packet, GPID: IPv4

      Primary                    State: Dn

        Priorities: 7 0

        SmartOptimizeTimer: 180

            No computed ERO.

      Created: Thu Jul 26 16:09:49 2012

    Total 1 displayed, Up 0, Down 1
    Egress LSP: 0 sessions

    Total 0 displayed, Up 0, Down 0
    Transit LSP: 0 sessions

    Total 0 displayed, Up 0, Down 0

     



  • 2.  RE: MPLS (RSVP) in lab environment
    Best Answer

     
    Posted 07-26-2012 09:59

    Hi Cristo,

     

    You are missing "traffic-engineering" under ospf protocol.

     

    set protocols ospf traffic-engineering

    Regards

    Surya



  • 3.  RE: MPLS (RSVP) in lab environment

    Posted 07-26-2012 13:50

    Brilliant! Thanks, Surya.



  • 4.  RE: MPLS (RSVP) in lab environment

    Posted 07-26-2012 19:00

    or you can turn off cspf