Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show | display set

Syntax

Description

Display the configuration as a series of configuration mode commands required to re-create the configuration from the top level of the hierarchy as set commands.

Options

explicit

Display explicitly, as a series of set commands, all the configuration statements that the system internally creates when you configure certain statements from the top level of the hierarchy.

For example, assume you issue the set interfaces ge-0/0/0.0 family inet configuration mode command. You then show the resulting configuration with the show interfaces ge-0/0/0 | display set command. The output displays the same set command you entered. If you include the explicit argument, the output also shows the configuration statements needed to create the hierarchy where the family inet statement is specified. Specifically for this example, the output therefore includes the set interfaces ge-0/0/0 unit 0 statement in addition to the set interfaces ge-0/0/0.0 family inet statement.

relative

Display a series of set commands relative to the current edit path.

For example, assume you issue the set interfaces ge-0/0/0.0 family inet configuration mode command. If you include the relative argument with the show interfaces ge-0/0/0 | display set command, the output shows the configuration statements relative to the interfaces path. Specifically for this example, the output displays the set unit 0 family inet statement and set unit 0 family inet address 10.0.1.254/24 statement in the output.

Required Privilege Level

view

Sample Output

Sample output for the show | display set and show | display set <explicit> commands:

Release Information

Command introduced before Junos OS Release 7.4.

Option explicit command introduced in Junos OS Release 20.1R1.