Juniper SRX Commands

Below shows some of the main Juniper SRX commands available. All commands are provided with the necessary mode in which they should be run from.

Configuration Commands

replace pattern expr1 with expr# configuration modefind and replace string within configuration
show | compare rollback {1..5}# configuration modecompare the current configuration against roll back configuration file
commit check# configuration modeverify the uncommitted changes
commit comment “{TEXT}”# configuration modecommit changes and add a comment
commit confirmed 10# configuration modechanges are committed. If additional commit is not issued the changes are reverted
commit full# configuration modecommit entire configuration
rollback rescue# configuration moderollback the configuration to rescue point
clear system commit> operational modediscard uncommitted changes
configure private> operational modeconfig mode is launched, any changes are not made global and keep only to your session
load merge terminal# configuration modemerge configuration with current configuration
load merge relative terminal# configuration modemerge configuration relative to the current edit point (stanza)
load override baseline-config.cfg# configuration modeoveride current running config with saved config
save baseline-config.cfg# configuration modesave current configuration to a file

Show Commands

show chassis routing-engine> operational modeshow CPU, Mem and Temperature
show security flow session summary# configuration modeshow total session total, limit
show security policies> operational modeshow security policies
show security zones# configuration modeshow security zones
show groups junos-defaults# configuration modeshow junos default groups
show system queues> operation modeshow interface statistics
show security flow status> operation modeshow mode (packet/flow-based)
monitor  interface [traffic|interface]> operation modeshow interface stats in real-time

Process Management

show system processes extensive# configuration modeshow processes
restart {process} gracefully> operational moderestart the process one all the present tasks have been completed

System Commands

request system reboot> operational modereboot system
request system storage cleanup> operational moderemove unwanted files

Misc Commands

set security forwarding-options family mpls mode [packet-based|flow-based]# configuration modeconfigure the mode (packet/flow-based



Rick Donato

Want to become an IT Security expert?

Here is our hand-picked selection of the best courses you can find online:
Internet Security Deep Dive course
Complete Cyber Security Course – Hackers Exposed
CompTIA Security+ (SY0-601) Certification Complete course
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial