We feature technical articles across the entire IT spectrum - Networking, security, operating systems, cloud, and programming.

Juniper Netscreen Commands

Interface get counter statistics Show interface statistics (CRC errors etc) get interface trust port phy Show physical ports for a certain zone get driver phy Show all link states of interfaces get counter statistics interface ethernet3 Show hardware stats on interface set interface [interface] no-subnet-conflict-check Allows you to configure multiple interfaces in the same IP … Read more

VI shortcuts

General Shortcuts dd delete a line x delete a character a append after cursor A append after line Useful for script editing :![command] allows you to run a command while still in VI :!! repeats previous command :! [command] % allows you to run a command, with % = current file name Motion h Move … Read more

Bourne – Different ways to execute a script

1. The following 2 types of syntax are both ways to execute a script. Using these methods a second shell will be opened and once the script has finished the variables will not persist. chmod +x [script] sh [script] 2. Below shows you a way in which you can run your script using the current … Read more

Bourne – Special Characters

& run command in the background * wildcard ? single wildcard < input redirect > input redirect | pipe outpt to one command from another # remark symbol, ignores characters after  It is best to avoid using these special characters when naming files. To pass these charaters to another program, you will need to prefix … Read more

IPSO – Turn off Console Logging

To enable debugging (which will write an event to the messages file and console upon a critical device failure) run the following syntax, ipso[admin]# ipsctl -w net:log:partner:status:debug 1 To turn off the console output, enter the following, ipso[admin]# ipsctl -w net:log:sink:console 0

A Look into Tcpdump

Tcpdump is a packet capture for the Linux command line. This is by no means a full guide but a quick overview of some of the main commands. The syntax below will capture all traffic with IP address of 172.16.1.1 and and IP in the network 172.16.1.0/24 with a port of udp/53. This will write … Read more

UNIX – Tcpdump

Tcpdump is a packet capture for the Linux command line. This is by no means a full guide but a quick overview of some of the main commands. The syntax below will capture all traffic with IP address of 172.16.1.1 and and IP in the network 172.16.1.0/24 with a port of udp/53. This will write … Read more

ASA – Upgrading a ASA

Below shows you how to upgrade your ASA to verson 8.04. 1. Enable scopy on your ASA  firewall(config)#ssh scopy enable 2. Copy the image from your PC to the ASA, the command below is done on your PC via “Start / Run / CMD”. Download pscp here. pscp [image].bin [user]@[asa_ip]:[image].bin 3 .Change the boot order, … Read more

IPSO – Commands

Below are the common IPSO commands that can be used, IPSO commands newimage Installs IPSO OS from the local machine newpkg -m localhost Check Point package Install clish IPSO OS CLI ipsctl -a displays all of the IPSO Settings and Values ipsctl -a ifphys:eth-s5p1:errors|more display errors on eth-s5p1 ipsctl -w net:ip:tcp:default_mss 1460 Change MSS to … Read more

IPSO – How to preform a Factory Reset via the CLI

Below shows you how to factory reset a Nokia IPSO,  Nokia[admin]# ls bin     cdrom   dev     image   proc    tmp     var bootmgr config  etc     opt     sbin    usr     web Nokia[admin]# cd config Nokia[admin]# ls active  db Nokia[admin]# rm active Nokia[admin]# ls db Nokia[admin]# reboot On reboot select bootmgr to start the wizard,  Verifying DMI Pool Data …….. 1   … Read more