25.06.2013 Views

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Navigating through the <strong>CLI</strong><br />

Getting started with the <strong>WatchGuard</strong> <strong>CLI</strong><br />

WG#!49 < Recall command line #49 #This is the<br />

command.<br />

show service DNS #The next six lines are the result.<br />

Service Group:<br />

Name = DNS<br />

Description = "Domain Name Services"<br />

Protocol = UDP<br />

Server_port = 53<br />

WG#^DNS^SSH #This command substitutes SSH for DNS<br />

and show service<br />

SSH execute<br />

Service Group: #This shows the results.<br />

Name = SSH<br />

Description = "Secure Shell (Remote Login<br />

Protocol)"<br />

Protocol = TCP<br />

Server_port = 22<br />

WG#_<br />

At every command level and in all command modes, the<br />

exit command moves the <strong>CLI</strong> user “up” one level (back to<br />

the parent command level) in the command tree structure.<br />

If you issue the exit command at the top (root) level, you<br />

will log out of the system. See the following example:<br />

WG(config-system)#exit<br />

WG(config)#exit<br />

WG#exit<br />

#As a result, you are logged off the <strong>CLI</strong><br />

and the display screen is cleared.<br />

<strong>WatchGuard</strong> (OS 4.0)<br />

<strong>WatchGuard</strong> Command Line Interface <strong>Guide</strong> 13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!