[Contents] [Prev] [Next] [Index] [Report an Error]


Example: Configure MPLS over GRE Tunnels

To configure MPLS over GRE tunnels:

1. Enable family mpls under the GRE interface configuration.

[edit interfaces]
interface gr-1/2/0 {
    unit 0 {
        tunnel {
            source 192.168.1.1;
            destination 192.168.1.2;
        }
        family inet {
            address 5.1.1.1/30;
        }
        family iso;
        family mpls;
    }
}

2. Enable RSVP and MPLS over the GRE tunnel.

[edit protocols]
rsvp { 
    interface gr-1/2/0.0;
}   
mpls {
     .....
    interface gr-1/2/0.0;
}       

3. Configure LSPs to travel through the GRE tunnel endpoint address.

[edit protocols]
mpls {
    label-switched-path gre-tunnel {
        to 5.1.1.2;
        .....
    }       
}   

Standard LSP configuration options apply. If the routing table specifies that a particular route will traverse a GRE tunnel, the RSVP packets will traverse the tunnel as well.


[Contents] [Prev] [Next] [Index] [Report an Error]