Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Unicast Tunnels

    To configure a unicast tunnel, you configure a gr- interface (to use GRE encapsulation) and include the tunnel and family statements:

    gr-fpc/pic/port {
    unit logical-unit-number {
    destination destination-address;
    destination routing-instance-name;
    }
    source address;
    ttl number;
    }
    family family {
    address address {
    destination address;
    }
    }
    }
    }

    You can configure these statements at the [edit interfaces] hierarchy level.

    You can configure multiple logical units for each GRE interface, and you can configure only one tunnel per unit.

    You must specify the tunnel’s destination and source addresses. The remaining statements are optional.

    To set the time-to-live (TTL) field that is included in the encapsulating header, include the ttl statement. If you explicitly configure a TTL value for the tunnel, you must configure it to be one larger than the number of hops in the tunnel. For example, if the tunnel has seven hops, you must configure a TTL value of 8.

    You must configure at least one family on the logical interface.

    A configured tunnel cannot go through Network Address Translation (NAT) at any point along the way to the destination. For more information, see Examples: Configuring Unicast Tunnels and the MPLS Applications Feature Guide.