GajShield Knowledge Base

All the documents you require to help you configure and manage GajShield firewalls.

CLI Console commands

Firmware Version Supported: 2.2 and above

To access the CLI console, Please refer the following "How to connect GajShield via SSH Console" or "
How to connect GajShield via Console Cable".

CLI console will help you in network diagnostic and basic configuration commands.

Below are the list of commands


factoryreset

Reset to default factory configuration

firewallstart

Install all firewall rules

firewallstop

Remove all firewall rules, makes the system open

fwdate

View/Change firewall date-time

help

Display list of valid commands

history

Show recenly used commands

ipconf

Configure interface IP address

livebwusage

Show live bandwidth usage

ping

Send ICMP ECHO_REQUEST to network hosts

restartnetwork

Restart the network

route

Show or manipulate the IP routing table

tcpdump

Dump traffic on a network

traceroute

Print the route packets take to network host

vpntunnel

Manage vpn tunnels

ipseclog

Show IPSec logs

siteblocklog

Show site block logs

mimeblocklog

Show mime block logs

downloadlog

Show download logs

browsinglog

Show browsing logs

usersenselog

Show user-sense logs

firewalllog

Show firewall logs

cloudlog

Show openvpn logs

smtpviruslog

Show SMTP virus logs

pop3viruslog

Show POP3 virus logs

ipslog

Show IPS logs

spamlog

Show SPAM logs

uploadlog

Show upload logs

dyndnslog

Show dynamic DNS update logs


Note :-  1. Use -f to filter logs of a particular IP/URL/User.
              2. To quit from the CLI console type exit.

E.g. :- firewalllog -f 192.168.2.236 (Firewall logs containing IP address 192.168.2.236, will only be displayed.)