Knowledge Search


How to display set commands from the configuration on a Juniper J-series router?

  [KB10819] Show KB Properties

  [KB10819] Hide KB Properties

Knowledge Base ID: KB10819
Last Updated: 29 Jun 2010
Version: 3.0

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
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
set routing-options static route next-hop



Related Links:

Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.