25.06.2013 Views

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Case sensitivity<br />

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

Commands, command arguments and keywords in the<br />

<strong>WatchGuard</strong> <strong>CLI</strong> are not case sensitive. For example, show<br />

policy is equivalent to SHow POLicy.<br />

NOTE<br />

Object name strings are case sensitive. Typing the address<br />

group name (string) “EveryBody_on_NET_A” is not the<br />

same as typing “everybody_on_net_a”! This covers all text<br />

strings, whether enclosed in quotes or not.<br />

Extending command lines<br />

Long command lines can be continued onto the next line of<br />

a terminal display by typing the backslash character (\) at<br />

the end of the command line, similar to the use of the backslash<br />

character in C programming syntax. This permits you<br />

to type more information (parameters) without breaking<br />

the continuity of the entire command.<br />

In the following example of a progression of four commands,<br />

the backslash character typed (\) right before the<br />

in the last command line enables the administrator<br />

to continue the contents of that command line onto the<br />

next line:<br />

WG#<br />

WG#configure<br />

WG(config)#cert<br />

WG(config-cert)#req cert –com <strong>WatchGuard</strong> –<br />

cou US \<br />

<br />

-dns rs101.<strong>WatchGuard</strong>.com –key {rsa 1024<br />

both}<br />

Typing arguments in a command<br />

Be sure to type a "-" (hyphen) before any arguments, or the<br />

<strong>CLI</strong> will ignore and omit that argument’s condition.<br />

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

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

Saved successfully!

Ooh no, something went wrong!