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 mode | find and replace string within configuration |
show | compare rollback {1..5} | # configuration mode | compare the current configuration against roll back configuration file |
commit check | # configuration mode | verify the uncommitted changes |
commit comment “{TEXT}” | # configuration mode | commit changes and add a comment |
commit confirmed 10 | # configuration mode | changes are committed. If additional commit is not issued the changes are reverted |
commit full | # configuration mode | commit entire configuration |
rollback rescue | # configuration mode | rollback the configuration to rescue point |
clear system commit | > operational mode | discard uncommitted changes |
configure private | > operational mode | config mode is launched, any changes are not made global and keep only to your session |
load merge terminal | # configuration mode | merge configuration with current configuration |
load merge relative terminal | # configuration mode | merge configuration relative to the current edit point (stanza) |
load override baseline-config.cfg | # configuration mode | overide current running config with saved config |
save baseline-config.cfg | # configuration mode | save current configuration to a file |
Show Commands
show chassis routing-engine | > operational mode | show CPU, Mem and Temperature |
show security flow session summary | # configuration mode | show total session total, limit |
show security policies | > operational mode | show security policies |
show security zones | # configuration mode | show security zones |
show groups junos-defaults | # configuration mode | show junos default groups |
show system queues | > operation mode | show interface statistics |
show security flow status | > operation mode | show mode (packet/flow-based) |
monitor interface [traffic|interface] | > operation mode | show interface stats in real-time |
Process Management
show system processes extensive | # configuration mode | show processes |
restart {process} gracefully | > operational mode | restart the process one all the present tasks have been completed |
System Commands
request system reboot | > operational mode | reboot system |
request system storage cleanup | > operational mode | remove unwanted files |
Misc Commands
set security forwarding-options family mpls mode [packet-based|flow-based] | # configuration mode | configure the mode (packet/flow-based |
Latest posts by Rick Donato (see all)
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
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