How to display the configuration commands that would generate the current router configuration?
Problem or Goal:
Is there a way to display the router's configuration in other than the default programming-like structured format?
You can use the command show | display set in configuration mode at the appropriate hierarchy prompt.
 user@Router# show | display set set version 8.4R2.4 set system host-name Router set system root-authentication encrypted-password "$1$CRPN8km3$iw4nXb.CL7UdcZ2Z3V/0U." set system services ssh set system services web-management http interface ge-0/0/0.0 set system syslog user * any emergency set system syslog file messages any any set system syslog file messages authorization info set system syslog file interactive-commands interactive-commands any set interfaces ge-0/0/0 unit 0 family inet address 192.168.100.1/24 set interfaces ge-0/0/3 speed 100m set interfaces ge-0/0/3 link-mode full-duplex set interfaces ge-0/0/3 gigether-options no-auto-negotiation set interfaces ge-0/0/3 unit 0 family inet address 172.16.21.162/23 set routing-options static route 0.0.0.0/0 next-hop 172.16.21.170