This example shows how to configure logical tunnel interfaces to connect two logical systems that are configured in a single router.
On M Series and T Series routers, you can create a logical tunnel interface if you have a Tunnel Services PIC installed on an Enhanced FPC in your routing platform.
On M40e routers, you can create a logical tunnel interface if you have a Tunnel Services PIC. (An Enhanced FPC is not required.)
On an M7i router, logical tunnel interfaces can be created by using the integrated Adaptive Services Module.
On an MX Series router, the master administrator can configure logical tunnel interfaces by including the tunnel-services statement at the [edit chassis fpc slot-number pic number] hierarchy level.
To connect two logical systems, you configure a logical tunnel interface on both logical systems. Then you configure a peer relationship between the logical tunnel interfaces, thus creating a point-to-point connection. Logical tunnel interfaces behave like regular interfaces. You can configure them with Ethernet, Frame Relay, or another encapsulation type. You can also configure routing protocols across them. In effect, the logical tunnel (lt) interfaces connect two logical systems within the same router. The two logical systems do not share routing tables. This means that you can run dynamic routing protocols between different logical systems within the same router.
You must treat each interface like a point-to-point connection because you can only connect one logical tunnel interface to another at any given time. Also, you must select an interface encapsulation type, configure a corresponding protocol family, and set the logical interface unit number of the peering lt interface.
In this example, the logical tunnel interfaces are configured to behave as Ethernet interfaces with the encapsulation ethernet statement. The IS-IS Protocol is enabled on the logical tunnel interfaces with the family iso statement.
When configuring logical tunnel interfaces, note the following:
Figure 1 shows the topology used in this example.
Figure 1: Connecting Two Logical Systems

To quickly connect logical system interfaces, copy the following commands into a text file, remove any line breaks, and then paste the commands into the CLI.
To connect logical system interfaces:
user@host> show interfaces terseInterface Admin Link Proto Local Remote so-0/0/0 up down so-0/0/1 up down so-0/0/2 up down so-0/0/3 up down gr-0/1/0 up up ip-0/1/0 up up lt-0/1/0 up up ...
Configure the logical tunnel interface on Logical System LS1.
Configure the logical tunnel interface on Logical System LS2.
If you are done configuring the device, commit the configuration.
Confirm that the configuration is working properly.
Make sure that the interfaces are properly configured.
user@host> show interfaces terseInterface Admin Link Proto Local Remote
so-0/0/0 up down
so-0/0/1 up down
so-0/0/2 up down
so-0/0/3 up down
gr-0/1/0 up up
ip-0/1/0 up up
lt-0/1/0 up up
lt-0/1/0.0 up up inet 10.0.8.13/30
iso
lt-0/1/0.1 up up inet 10.0.8.14/30
iso
...Make sure that the network address appears as directly connected.
user@host> show route logical-system alllogical-system: LS1
inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.8.12/30 *[Direct/0] 00:00:34
> via lt-0/1/0.0
10.0.8.13/32 *[Local/0] 00:00:34
Local via lt-0/1/0.0
-----
logical-system: LS2
inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.8.12/30 *[Direct/0] 00:00:34
> via lt-0/1/0.1
10.0.8.14/32 *[Local/0] 00:00:34
Local via lt-0/1/0.1
...