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

Configuring the GRE Tunnel Interface on the PE Router

You configure the GRE tunnel as a logical interface on the PE router. To configure the GRE tunnel interface, include the unit statement:

unit logical-unit-number {
tunnel {
source source-address;
destination destination-address;
routing-instance {
destination routing-instance-name;
}
}
family inet {
address address;
}
}

You can include the unit statement at the following hierarchy levels:

As part of the GRE tunnel interface configuration, you need to include the following statements:

By default, the tunnel destination address is assumed to be in the default Internet routing table, inet.0. If the tunnel destination address is not in inet.0, you need to specify which routing table to search for the tunnel destination address by configuring the routing-instance statement. This is the case if the tunnel encapsulating interface is also configured under the routing instance.

To complete the GRE tunnel interface configuration, include the interface statement for the GRE interface under the appropriate routing instance:

interface interface-name;

You can include the interface statement at the following hierarchy levels:


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