Juniper Commands

Commands on software/hardware platforms, other than ScreenOS 6.2,  may vary….

 Get “Values” Commands

get envar  get environment variable
get config  get device configuration
get system  get system information
get arp get arp cache
get route  get routing table
get alg get status of ALGs (disabled or enabled) 
get sys-cfg get default settings for the device 
get sys scale get basic system limits
get debug  get currently enabled debug level
get tcp  get system socket information 

Get “VPN” related commands

clear ike-cookie [gateway ip]  clear ike cookies
clear sa [id] clear sa
get vpn show vpns

 Get “NSRP” related commands

get nsrp cluster Show cluster info
get nsrp monitor Show list of monitored interfaces
get nsrp vsd id 0 Show VSD id 0
get counters ha Show HA interface hardware counters
exec nsrp sync global-config check-sum Allows you to see if the cluster configs are synchronized
exec nsrp sync global save Sync’s the nodes.A reboot is required to complete the update.
exec nsrp vsd-group 0 mode Fails over the cluster. Run this command on the Master node.

 Get “Statistics” related commands

get perf cpu detail  get cpu performance 
get session info get load on firewall  
get counter flow  Show flow stats (fragmentation etc)
get counter screen  Show screen stats (SYN Floods etc)
get session dst-ip <src ip> Show established sessions for a destination IP
get session src-ip <src ip> Show established sessions for a source IP
get session src-port <src ip> Show established sessions for a source port
get session dst-port <src ip> Show established sessions for a destination port