To configure MPLS over GRE tunnels:
- [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;
- }
- }
- [edit protocols]
- rsvp {
- interface gr-1/2/0.0;
- }
- mpls {
- ...
- interface gr-1/2/0.0;
- }
- [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.