when
Syntax
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
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.