Junos OS

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  How to view config in the file on hard disk

    Posted 11-02-2017 18:17

    Hi everyone,

    Another quick question :

    Let say we have a  configuration file under VAR/TMP folder that we never commited before and placed it there as future config

    How can I view the contents of that file ?

     

    Thanks and have a nice day!!



  • 2.  RE: How to view config in the file on hard disk
    Best Answer

     
    Posted 11-02-2017 18:23
    You can use " > file show /var/tmp/file-name"


    root@SRX > file show /config/juniper.conf.1.gz
    ## Last changed: 2017-10-30 16:12:26 UTC
    version 12.1X44-D45.2;
    system {
    host-name SRX;
    root-authentication {
    encrypted-password "$1$TvkbLmrv$ByMH9mxLM2NzhNtdXl/Bu/";
    }
    services {
    ftp;
    ssh;
    telnet;
    }
    }

    Or did I miss anything on the question?


  • 3.  RE: How to view config in the file on hard disk

    Posted 11-06-2017 08:05

    Thanks Suraj,

     

    You did not miss any thing,

     

    appreciated!!