This example shows how to configure an interface on a logical system to connect to a separate router. The separate router can be a physical router or a logical system on a physical router.
PICs must be installed on the two routers.
In this example, Logical System LS1 is configured on Router R1. The Logical System LS1 has a direct connection to Router R2.
Figure 1 shows the topology used in this example.
Figure 1: Logical System Connected to a Physical Router

To quickly connect a logical system to a physical router, copy the following commands into a text file, remove any line breaks, and then paste the commands into the CLI.
Device R2
Router R1
To connect a logical system to a physical router:
On Device R2, configure the interface to Logical System LS1.
On Router R1, configure the interface.
On Router R1, configure the Logical System LS1 interface.
If you are done configuring the devices, commit the configuration.
Confirm that the configuration is working properly.
Make sure that the devices can ping each other.
user@R2> ping 10.0.45.2PING 10.0.45.2 (10.0.45.2): 56 data bytes 64 bytes from 10.0.45.2: icmp_seq=0 ttl=64 time=3.910 ms 64 bytes from 10.0.45.2: icmp_seq=1 ttl=64 time=3.559 ms 64 bytes from 10.0.45.2: icmp_seq=2 ttl=64 time=3.503 ms
user@R1> set cli logical-system LS1Logical system: LS1
user@R1:LS1> ping 10.0.45.1PING 10.0.45.1 (10.0.45.1): 56 data bytes 64 bytes from 10.0.45.1: icmp_seq=0 ttl=64 time=1.217 ms 64 bytes from 10.0.45.1: icmp_seq=1 ttl=64 time=1.183 ms 64 bytes from 10.0.45.1: icmp_seq=2 ttl=64 time=1.121 ms