show | display
Syntax
show | display <changed | commit-scripts |detail | inheritance | json | mark-changed | max-depth depth | max-version version | omit | set | translation-scripts | xml>
Description
Display the configuration as a series of configuration mode commands required to re-create the configuration from the top level of the hierarchy.
Options
| changed |
Tag changes with junos:changed attribute (XML only). |
| commit-scripts | Show data after commit scripts have been applied. |
| detail | Show configuration data detail. |
| inheritance | Show inherited configuration data and source group. |
| json | Show output in JSON format. |
| mark-changed | Tag changes with junos:mark-changed attribute (XML only). |
| max-depth depth | Specify the maximum value for the depth of configuration data to be displayed. |
| max-version version | Specify the maximum value for the version of the configuration data to be displayed. |
| omit | Emit configuration statements with the omit option. |
| set | Show set commands that create configuration. |
| translation-scripts | Show data after translation scripts have been applied. |
| xml | Show output as XML tags. |
Required Privilege Level
view
Sample Output
show | display max-depth
user@host# show interfaces | display max-depth 3
ge-0/0/0 {
unit 0 {
family inet {
address 10.1.12.1/24;
}
}
}user@host# show interfaces | display max-depth 2
ge-0/0/0 {
unit 0 {
family inet { ... }
}
}user@host# show interfaces | display max-depth 1
ge-0/0/0 {
unit 0 { ... }
}show configuration | display detail
user@host> show configuration | display detail
## Last commit: 2023-04-13 02:04:36 PDT by regress
##
## version: Software version information
## YANG module: junos-conf-root@2023-01-01.yang
## require: system
##
version 23.1R1.8;
##
## groups: Configuration groups
## YANG module: junos-conf-root@2023-01-01.yang
## require: configuration
##
groups {
##
## Group name
## range: 1 .. 254
##
global {
##
## system: System parameters
## YANG module: junos-conf-system@2023-01-01.yang
## require: admin system
## Daemon notify list: : sdk-vmmd
##
system {
##
## root-authentication: Authentication information for the root login
## YANG module: junos-conf-system@2023-01-01.yang
## require: admin
## Daemon notify list: : sdk-vmmd spmd
## package: junos-base
##
root-authentication {
##
## encrypted-password: Encrypted password string
## YANG module: junos-conf-system@2023-01-01.yang
## range: 1 .. 128
##
encrypted-password "$1$ZUlES4dp$OUwWo1g7cLoV/aMWpHUnC/"; ## SECRET-DATA
}
##
## login: Names, login classes, and passwords for users
## YANG module: junos-conf-system@2023-01-01.yang
## require: admin
## Daemon notify list: : fsad spmd
## package: junos-base
##
login {
##
## Login class name
## match: Must be a string of alphanumericals, dashes or underscores
## match (regex): ^[[:alnum:]_-]+$
## package: junos-base
##
class wheel {
##
## permissions: Set of permitted operation categories
## YANG module: junos-conf-system@2023-01-01.yang
##
permissions [ admin clear field floppy interface maintenance network reset routing shell snmp system trace view ];
}
##
## Login class name
## match: Must be a string of alphanumericals, dashes or underscores
## match (regex): ^[[:alnum:]_-]+$
## package: junos-base
##
class readonly {
##
## permissions: Set of permitted operation categories
## YANG module: junos-conf-system@2023-01-01.yang
##
permissions [ interface network routing system trace view ];
}
##
## User name (login)
## match: Must contain characters (alphanumerics, underscores or hyphens) beginning with an alphanumeric or an underscore character.
## match (regex): ^[[:alnum:]_]{1,}[.]{0,1}[[:alnum:]_-]{0,}[.]{0,1}[[:alnum:]_-]{0,}$
## package: junos-baseRelease Information
Command introduced before Junos OS Release 7.4.