You can configure a variety of additional statements in conjunction with a logical system:
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, specify a DLCI number or VLAN identifier, configure a corresponding protocol family, and set the logical interface unit number of the peering lt interface. To configure, include the dlci, encapsulation, family, peer-unit,and vlan-id statements at the following hierarchy levels:
- [edit]
- logical-systems logical-system-name {
-
- interfaces {
-
- lt-fpc/pic/0 {
-
- unit unit-number {
- encapsulation (ethernet | ethernet-ccc | ethernet-vpls
| frame-relay |
frame-relay-ccc | vlan | vlan-ccc
| vlan-vpls);
- peer-unit number; # The logical unit number of the peering lt interface.
- dlci dlci-number;
- vlan-id vlan-number;
- family (ccc | inet | inet6 | iso | mpls | tcc);
- }
- }
- }
- }
![]() |
Note: When you configure IPv6 addresses on a logical tunnel interface, you must configure unique IPv6 link local addresses for any logical interfaces that peer with one another. To configure a link local address, you must be the master administrator. To configure, include a second IPv6 address with the address statement at the [edit interfaces lt-fpc/pic/port unit unit-number family inet6] hierarchy level. Link local addresses typically begin with the numbers fe80 (such as fe80::1111:1/64). |
When you enter logical system context mode and enter an operational mode command, the output of the command displays information related to the logical system only. For example, when you issue the show route command, the output shows only the routes that are assigned to the logical system.
- user@P0> set cli logical-system ls1
- Logical system: ls1
-
user@P0:ls1># Note that the
user is now restricted to a logical system context.
To clear the logical system context and return to a full router (master router) context, issue the clear cli logical-system command.
- user@P0:ls1> clear cli logical-system
- Cleared default logical system
-
user@P0># Note that the user
can now view the entire router again.
To achieve the same effect when using a JUNOScript client application, include the <set-logical-system> tag:
- <rpc>
- <set-logical-system>
- <logical-system>ls1</logical-system>
- </set-logical-system>
- </rpc>
For more information about JUNOScript, see the JUNOScript API Guide.
In addition, you can configure only Frame Relay interface encapsulation on a logical tunnel interface when it is configured with an IPv6 address.