Related Documentation
- ACX, EX, J, M, MX, PTX, T Series
- Displaying the Current Junos OS Configuration
- ACX, EX, J, M, MX, PTX, QFX, T Series
- Overview of Junos OS CLI Operational Mode Commands
show configuration
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
Display the configuration that currently is running on the router or switch, which is the last committed configuration.
Options
none | — | Display the entire configuration. |
statement-path | — | (Optional) Display one of the following hierarchies in a configuration. (Each statement-path option has additional suboptions not described here. See the appropriate configuration guide or EX Series switch documentation for more information.)
|
Additional Information
The portions of the configuration that you can view depend on the user class that you belong to and the corresponding permissions. If you do not have permission to view a portion of the configuration, the text ACCESS-DENIED is substituted for that portion of the configuration. If you do not have permission to view authentication keys and passwords in the configuration, because the secret permission bit is not set for your user account, the text SECRET-DATA is substituted for that portion of the configuration. If an identifier in the configuration contains a space, the identifier is displayed in quotation marks.
Likewise, when you issue the show configuration command with the | display set pipe option to view the configuration as set commands, those portions of the configuration that you do not have permissions to view are substituted with the text ACCESS-DENIED.
Required Privilege Level
view
Related Documentation
- ACX, EX, J, M, MX, PTX, T Series
- Displaying the Current Junos OS Configuration
- ACX, EX, J, M, MX, PTX, QFX, T Series
- Overview of Junos OS CLI Operational Mode Commands
List of Sample Output
show configurationshow configuration policy-options
Output Fields
This command displays information about the current running configuration.
Sample Output
show configuration
user@host> show configuration
## Last commit: 2006-10-31 14:13:00 PST by alant version "8.2I0 [builder]"; ## last changed: 2006-10-31 14:05:53 PST system { host-name nestor; domain-name east.net; backup-router 192.1.1.254; time-zone America/Los_Angeles; default-address-selection; name-server { 192.154.169.254; 192.154.169.249; 192.154.169.176; } services { telnet; } tacplus-server { 1.2.3.4 { secret /* SECRET-DATA */; ... } } } interfaces { ... } protocols { isis { export "direct routes"; } } policy-options { policy-statement "direct routes" { from protocol direct; then accept; } }
show configuration policy-options
user@host> show configuration policy-options
policy-options { policy-statement "direct routes" { from protocol direct; then accept; } }
Published: 2013-03-14
Related Documentation
- ACX, EX, J, M, MX, PTX, T Series
- Displaying the Current Junos OS Configuration
- ACX, EX, J, M, MX, PTX, QFX, T Series
- Overview of Junos OS CLI Operational Mode Commands