root-streaming
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 20.3R1.
Description
The root-streaming option allows the user logical systems and tenant systems to generate the logs using the root system's stream configuration. If you configure root-streaming option under user logical systems and tenant systems in stream mode, all the logs of this user logical system and tenant systems will be sent out according to root logical and tenant system’s configuration.
The root-streaming option works together with the stream mode. If user logical system is in event mode, the root-streaming option will not take effect. If user logical system is in stream mode and root logical systems is in event mode, the root-streaming option will try to get the streams in root but the logs will not be sent out. Table 1 provides a detailed behavior of user logical system logs.
Table 1: root-streaming option for root and logical systems in different mode
Logical systems mode | Root logical systems mode | Status of the root-streaming option for logical systems | Behavior of logical systems logs |
---|---|---|---|
Event mode | Enabled | Send to Routing Engine | |
Stream mode | Event mode | Enabled | Cannot send out |
Stream mode | Enabled | Send to root log server | |
Stream-event mode | Enabled | Send to root log server | |
Stream-event mode | Event mode | Enabled | Send to Routing Engine |
Stream mode | Enabled | Send to Routing Engine and root log server | |
Stream-event mode | Enabled | Send to Routing Engine and root log server | |
Event mode | Not Enabled | Send to Routing Engine | |
Stream mode | Not Enabled | Send to logical systems log server | |
Stream-event mode | Not Enabled | Send to Routing Engine and logical systems log server |
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.