Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

when

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
when
<chassis chassis-id | member member of vc | model model | node node | peer peer | routing-engine routing-engine | time time>

Description

Display inherited data for a specified parameter that is defined as conditions under the configuration groups.

Options

chassis chassis-id

Specify the chassis type of the device.

member member of vc

Specify the name of the member of the virtual chassis.

model model

Specify the model name of the device.

node node

Specify the node of a cluster.

peer peer

Specify the peer host.

routing-engine routing-engine

Specify the type of the Routing Engine.

time time

Specify the start time or time duration. The syntax for specifying the time is: time <start-time> [to <end-time>] using the time format yyyy-mm-dd.hh:mm, hh:mm, or hh.

Required Privilege Level

view

Sample Output

show | display inheritance when

content_copy zoom_out_map
user@host# show | display inheritance when
## Last changed: 2023-01-05 03:44:28 PST
version 22.4I-20220921.0.1158;
    login {
        ##
        ## 'wheel' was inherited from group 'global'
        ##
        class wheel {
            ##
            ## 'snmp' was inherited from group 'global'
            ##
            permissions snmp;
        }
        ##

Release Information

when option introduced in Junos OS Release 11.3.

peers option added in Junos OS Release 14.2R6 for the MX Series.

peers option added in Junos OS Release 16.1R1 for the EX Series.

footer-navigation