Logical system administrators are confined to the context of the logical systems to which they are assigned. Any global configuration statements are restricted from them, and command output is restricted to the context to which the logical system administrators are assigned.
For JUNOS software Release 9.1 and later, when a physical interface is specified within a logical system context, the show interfaces command output only displays information about the logical interfaces assigned to that logical system.
From within the context of a logical system (which you can select from the main router context by using the set cli logical-systems logical-system-name command), the show interfaces command output is limited to the resources assigned to the logical system:
At the main router level (to which you can return from the logical system context by using the clear cli logical system command), the show interfaces command output displays statistics for all interfaces configured on the router:
Consider a main router for which you have configured the physical interface at-0/0/0 with ATM-specific physical interface properties and configured the physical interface with a logical interface at logical unit 0. You have also configured logical system ls1 and assigned a logical system administrator for this logical system. The logical system administrator has assigned the logical interface at-0/0/0.0 to logical system ls1. The configuration is as follows:
- logical-systems {
-
- ls1 {
-
- interfaces {
-
- at-0/0/0 {
-
- unit 0 {
- encapsulation atm-ccc-cell-relay;
- vpi 0;
- }
- }
- }
-
- protocols {
-
- mpls {
-
- label-switched-path base_config_r4r1_lsp {
- to 10.255.65.65;
- }
- interface all;
- }
-
- connections {
-
- remote-interface-switch base_config_vp_mode_connection
{
- interface at-0/0/0.0;
- transmit-lsp base_config_r1r4_lsp;
- receive-lsp base_config_r4r1_lsp;
- }
- }
- }
- }
- }
- chassis {
-
- fpc 0 {
-
- pic 0 {
-
- atm-l2circuit-mode {
- cell;
- }
- }
- }
- }
- interfaces {
-
- at-0/0/0 {
-
- atm-options {
- pic-type atm2;
-
- promiscuous-mode {
- vpi 0;
- }
- }
-
- inactive: unit 0 {
- encapsulation atm-ccc-cell-relay;
- vpi 0;
- }
- }
- }
- protocols {
-
- mpls {
- interface all;
- }
-
- isis {
- disable;
-
- interface all {
- level 1 disable;
- level 2 metric 10;
- }
-
- interface fxp0.0 {
- disable;
- }
- }
-
- ospf {
- reference-bandwidth 4g;
-
- area 0.0.0.0 {
- interface all;
-
- interface fxp0.0 {
- disable;
- }
- }
- }
- }
Within the context of a logical system, logical system administration is confined to the resources assigned to that logical system.
user@host> show interfaces terse at-0/0/0
Interface Admin Link Proto Local Remote at-0/0/0 up up at-0/0/0.0 up up ccc at-0/0/0.32767 up up
The physical interface name at-0/0/0 is reported, followed by all requested information (in the case of the show interfaces terse command, the Admin and Link states) about the physical interface.
The logical interface name at-0/0/0.0 is reported, followed by all requested information.
The output also displays all requested information about the special, system-generated logical interface at-0/0/0.32767, which the JUNOS software uses for handling traffic that is not part of the interface. In the case of the ATM interface at-0/0/0, which is configured for cell-relay promiscuous virtual path identifier (VPI) mode, the system-generated logical interface at-0/0/0.32767 is used to track statistics associated with system-generated traffic, such as Operation, Administration, and Management (OAM) F4 cell flows.
![]() |
Note: The show interfaces extensive command output displays the individual channel statistics associated with the special .32767 logical interface, but only when the command is issued from the context of the main router. |
user@host> set cli logical-system ls1
Logical system: ls1
user@host:lst1>
user@host:ls1> show interfaces terse
at-0/0/0
Interface Admin Link Proto Local Remote at-0/0/0 at-0/0/0.0 up up ccc
The physical interface name at-0/0/0 is reported, but any additional details about the physical interface (in the case of the show interfaces terse command, the Admin and Link states) are not displayed. The system-generated logical interface at-0/0/0.32767 is not reported at all.
user@host:ls1> clear cli logical-system
Cleared default logical system
user@host>
For more logical system configuration examples, including verification of proper operation and verification performed by logical system administrators, see the JUNOS Feature Guide.