Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Monitoring the Current Configuration of the System in Auto Commit Mode

    Purpose

    Display the current configuration of the system, a specified virtual router, a specified interface, or a specified category of router settings. You can create a configuration script from the output by saving it as a file with the .scr extension. You can use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See Unresolved xref, for details.

    Note:

    • This command was formerly documented as show config; that abbreviation is still supported.
    • This command provides configuration information based on the privilege level of the session (user). The output does not display any configuration data for commands that have privilege levels higher than that of the session. For example, if the session is enabled at level 5, issuing the show configuration command displays only output for commands at level 5 and below. For more information, see Unresolved xref.

    Action

    To display the current configuration of the system:

    host1# show configuration
    ! Configuration script being generated on TUE JAN 29 200X 00:31:12 UTC! Juniper Networks Edge Routing Switch ERX700
    ! Version: x.y.z (January 18, 200X 15:01)
    ! Copyright (c) 1999-200X Juniper Networks, Inc. All rights reserved.
    Commands displayed are limited to those available at privilege level 10
    ! Juniper Networks Edge Routing Switch ERX700
    boot config running-configuration
    boot system erx_x-y-z.rel
    no boot backup
    no boot subsystem
    no boot backup subsystem
    no boot force-backup
    !
    ! Note:  The following commands are here to ensure that all virtual routers and
    ! vrfs are created before other commands that may need to reference them.
    ! These commands will be repeated further on as each virtual router and vrf
    ! has its configuration presented.
    !
    virtual-router default
    virtual-router boston
    !
    ip vrf vpna
    virtual-router vrA
    !
    hostname host1
    exception protocol ftp anonymous null
    !
    controller t1 6/0
     channel-group 2 timeslots 1,3-8,10 speed 64
    .
    .
    . 
    !
    virtual-router vrA
    aaa authentication ppp default radius
    aaa accounting ppp default radius
    !
    ip address-pool local
    interface null 0
    ip bgp-community new-format
    no ip source-route
    !
    snmp-server
    !
    ! End of generated configuration script.
    

    To display the current configuration of a specified interface:

    host1# show configuration interface serial 4/0
    interface atm 4/0
     atm vc-per-vp 1024
     atm uni-version 3.0
    !
    interface atm 4/0.1 point-to-point
     profile pppoe myProfile
     qos-profile myQosProfile
    !
    interface atm 4/0.2 point-to-point
     qos-profile myQosProfile
     ip description TestIP
    !
    interface atm 4/0.3 point-to-point
    

    To display the current configuration of a specified category of router settings:

    host1# show configuration category system file-system
    boot config running-configuration
    boot system m.rel
    no boot backup
    no boot subsystem
    no boot backup subsystem
    

    Published: 2014-08-12