Logical systems (LS) and tenant systems (TS) are features of Junos-based SRX devices that allow for advanced network segmentation and multi-tenancy. These tools enable a single physical SRX device to support multiple isolated virtual environments.
Logical systems are like virtual routers within a single SRX device. They operate independently, with separate configurations, management access, and resources.
Tenant systems build on logical systems to support multi-tenancy. They are specifically designed to facilitate shared usage while maintaining strict separation of resources and privileges.
Logical systems require defining and assigning resources, such as interfaces and routes.
Assign Interfaces to Logical Systems:
Allocate specific interfaces to a logical system:
set logical-systems ls1 interfaces ge-0/0/1
Set Static Routes for Logical Systems:
Define static routes to enable traffic forwarding:
set logical-systems ls1 routing-options static route 0.0.0.0/0 next-hop 192.168.1.1
Access a Logical System:
Use the following command to enter a logical system:
start shell user root logical-system ls1
Tenant systems require configuration for creating tenants and assigning resources.
Create a Tenant System:
Assign resources to a tenant:
set tenant-system tenant1 interfaces ge-0/0/2
Assign Policies:
Define security policies specific to the tenant:
set tenant-system tenant1 policies policy-set-1
If a logical system does not function as expected, the first step is to verify the interface assignments.
Command:
show configuration logical-systems
What to Check:
Logical systems require independent routing tables. Misconfigured routes can lead to connectivity problems.
Command:
show route logical-system ls1
What to Check:
Tenant systems rely on allocated resources (interfaces, policies, bandwidth, etc.). If resources are insufficient, tenant systems may not function correctly.
Command:
show tenant-system resources
What to Check:
Sub-tenants have limited privileges. Ensure that administrators have the correct permissions for their operations.
In Junos OS, every device includes a default root logical system, also known as the primary system.
All user-defined logical systems (LS) are created under this root.
By default, any configuration applied outside a logical system context only affects the root system.
To configure a specific logical system, you must explicitly enter its context using configuration mode.
Important Note:
All logical systems exist under the root system. Configuration changes outside a logical system context affect only the root unless explicitly directed to a specific LS.
Logical systems provide full separation of resources, meaning no configuration state is shared between LS instances.
Examples of Fully Isolated Resource Objects:
Routing instances – Each LS maintains independent routing tables.
Firewall filters – Filters are unique and scoped per logical system.
Address books – Address objects are not visible across LS boundaries.
NAT rules – Source/destination NAT rules are independently defined.
Security zones and policies – Policies are not shared; each LS handles its own.
System login and authentication – Each LS can have unique usernames, access levels, and remote authentication servers.
Exam Tip:
You may be asked to identify which resources are isolated and which are shared. In general, resources like interface physical properties or hardware counters may be globally visible, but logical configuration is strictly isolated.
While logical systems handle resource segmentation, tenant systems are designed to provide governance and hierarchical control over logical systems.
Key Distinction:
Logical Systems (LS) segment configurations and resources.
Tenant Systems (TS) manage those LSs in a structured, role-based way for multi-tenant environments.
Core Concepts:
A Tenant System is a container for one or more logical systems.
Tenants provide administrative boundaries, allowing operators to delegate control without full root access.
Each tenant must include at least one logical system (usually one named after the tenant).
Resource allocation and visibility are managed at the tenant level, but enforced at the logical system level.
Exam-Focused Clarification:
A tenant system is not a standalone routing or security domain.
Instead, it groups and governs logical systems under a defined tenant hierarchy.
For real-world operations and exam prep, it’s important to know the correct command structure for managing logical and tenant systems.
| Scenario | Command | Description |
|---|---|---|
| View all configured logical systems | show logical-systems |
Lists all LS defined under the root system |
| Enter a specific LS configuration | configure logical-system <logical-system-name> |
Used to enter the configuration mode for a logical system |
| Enter shell for a logical system | start shell user root logical-system <name> |
Grants shell access inside a specific logical system |
| View tenant-system status | show tenant-system tenant1 |
Displays TS configuration and bound resources |
| View interfaces per tenant | show tenant-system tenant1 interfaces |
Shows interfaces assigned to that tenant |
| View policies per tenant | show tenant-system tenant1 policies |
Lists active or defined policies inside the tenant scope |
Is every logical system part of a tenant system?
→ No. Logical systems exist independently. Tenant systems are used for hierarchical grouping.
Is the root system a logical system?
→ Yes. It is the default logical system under which all others are created.
Can address books be shared across logical systems?
→ No. Address books are logically scoped and isolated per logical system.
What’s the difference between entering shell vs configuration mode in LS?
→ start shell gives OS-level access; configure logical-system <name> enters Junos configuration mode.
What is the purpose of logical systems on Juniper devices?
Logical systems allow a single device to be partitioned into multiple independent virtual devices.
Logical systems create isolated environments within a physical device, each with its own configuration, interfaces, routing tables, and policies. This capability is useful for service providers or organizations that need to support multiple tenants on the same hardware while maintaining administrative separation.
Demand Score: 80
Exam Relevance Score: 92
How do logical systems differ from routing instances?
Logical systems virtualize the entire device, while routing instances only separate routing tables.
Routing instances create multiple routing tables within the same device but still share the same system configuration and policies. Logical systems provide deeper isolation by allowing separate interface assignments, routing processes, and security configurations.
Demand Score: 79
Exam Relevance Score: 90
Why are logical systems commonly used in multi-tenant environments?
They allow multiple organizations to operate independently on the same hardware.
Each tenant can manage its own configuration without affecting other tenants on the device. This isolation simplifies administration and increases security in shared infrastructure environments.
Demand Score: 75
Exam Relevance Score: 88
What is a key operational benefit of tenant systems in Juniper environments?
Tenant systems provide administrative isolation and resource segmentation.
Tenant systems enable different administrative domains to operate within the same physical infrastructure while maintaining control over their configurations and policies. This capability is useful in service provider and cloud environments where multiple customers share the same network devices.
Demand Score: 72
Exam Relevance Score: 87