[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

show configuration

Syntax

show configuration
<statement-path>

Release Information

Command introduced before JUNOS Release 7.4.

Description

Display the configuration that currently is running on the router, 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 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.

Required Privilege Level

view

List of Sample Output

show configuration
show 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;
}
}

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]