| Description | Command |
|---|---|
| without more like cisco's 'terminal length 0' | > set cli screen-length 0 |
| show configuration -candidate configuration | > show configuration > show configuration | display set > show configuration | display set | no-more > show configuration | display set | match XXXX > show configuration security policies |display set # show # show | display set # show | display set |no-more # show | display set |match XXXX |
| Show configuration - Active configuration | > file show /config/juniper.conf.gz |
| > show system rollback 0 ← active configuration > show system rollback 1 ← 1 old |
|
| > file list /config > file list /var/db/config |
| Description | Command |
|---|---|
| > configure | |
| # load override terminal ← 'Ctrl D' is stop | |
| # show | compare # show | compare rollback 1 |
|
| # commit check | |
| # commit | |
| # rollback ? ← check rollback date # rollback 0 ← active configuration (If you don't commit, please rollback 0)# rollback 1 ← old configuration You must commit after rollback. |
|
| diff rollback configurations | >show system rollback NUMBER compare NUMBER >show system rollback 17 compare 16 |
| # set system max-configuration-rollbacks 49 (Max 49) |
|
| # run set cli screen-length 0 | |
| # commit confirmed ← automatically rollback if not confirmed after 10 minutes # commit confirmed 5 ← automatically rollback if not confirmed after 5 minutes you can ''commit' if you want to not rollback. |
#ssh user01@192.168.0.5 > configure <- configuration mode configuration # show | display set <- check configuration # show | compare <- diff configuration # commit check <- check configuration # commit <- commit configuration. If you want to cancel this configuration, You can use "rollback 0" command. # exit > exit
#ssh user01@192.168.0.5 > configure <- configuration mode # load set terminal (abbr) Ctrl + D # show | compare <- diff configuration # commit check <- check configuration # commit <- commit configuration. If you want to cancel this configuration, You can use "rollback 0" command. # exit > exit
#ssh user01@192.168.0.5 > configure # edit XXXXXXX <- edit is like cd of linux. # edit XXXXXXX # up # top # edit XXXXXX # show | display set # set XXXX # delete XXXX # show | compare # commit check # commit # exit <- you need 'exit' command. > exit
# edit XXXXXXX # up # top # edit XXXXXX # show | display set # set XXXX # delete XXXX # show | compare # commit check # commit # exit <- you need 'exit' command. > exit
Backup to '/cf/var/home/USER/FILENAME.conf'
> save FILENAME.conf
> show configuration | display set | save ftp://USER@192.168.0.10/test-fw_30102013.txt > show configuration | display set | save USER@192.168.0.5:/home/config/test00-fw/tes00-fw_20120714.txt > show configuration | display set | save ftp://USER:PASSWORD@192.168.0.5/tes00-fw_20120714.txt
| Operation | Command |
|---|---|
| # load replace filename | |
| # load factory-default |
Juniper Junos CLI Commands(SRX/QFX/EX)