CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies CLI Guide - WatchGuard Technologies

watchguard.com
from watchguard.com More from this publisher
25.06.2013 Views

CHAPTER 1: Using the Command Line Interface quotation marks; however, you do not need to type quotes when entering a text string. For example, we might say: set a user_profile name to “All_RAS_Users.” In this example, you could type your own user profile name (or string) in place of ALL_RAS_Users. You should enclose a string in quotes in instances where the text entry includes spaces. For example, if entering a name like “Joan Smith,” with a space between the first and last name, you should enclose this entry in quotations to preserve it as a single entity. For Example WG(config)#address -group exec_staff WG(config)#address -group "exec staff" Carriage returns Carriage returns are Enter key presses, and are represented by the or notation. Command examples may omit this notation for the sake of brevity. Letter spaces Space characters (entered by pressing the Space bar on the keyboard) are represented in a few instances in this Guide by the notation. In most cases, however, spaces are simply represented by actual spaces. For example, in: WG(config)#address -group exec_staff 4 WatchGuard Vclass 5.1

Getting started with the WatchGuard CLI There is a single space between “address” and “-group,” and “group” and “exec_staff.” Comments Comments are presented as italicized text preceded by the “#” character. # This is a sample comment. More command-specific and argument-specific conventions are detailed in “Command syntax conventions used in this guide” on page 21 Getting started with the WatchGuard CLI Connecting to an appliance The WatchGuard CLI can be used to perform pre-installation setup tasks, or to reconfigure or administer the appliance at any time. These comprise two distinct uses of the CLI, which in turn require different connections: • To use the CLI in pre-installation setup or to do direct administration of a WatchGuard appliance, you can directly connect the appliance to your workstation by connecting a cable from the Console port on the front of the appliance to a serial port on your workstation. Your Vclass package includes an adapter for this purpose. After this connection is made, you can connect directly to the appliance via a terminal application. • To use the CLI for administration after a WatchGuard appliance has been set up and configured, you can make use of existing network connections. All you need is (1) the IP address of a WatchGuard appliance data interface and (2) a currently active policy WatchGuard Command Line Interface Guide 5

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

There is a single space between<br />

“address” and “-group,” and<br />

“group” and “exec_staff.”<br />

Comments Comments are presented as<br />

italicized text preceded by the “#”<br />

character.<br />

# This is a sample comment.<br />

More command-specific and<br />

argument-specific conventions are<br />

detailed in “Command syntax<br />

conventions used in this guide” on<br />

page 21<br />

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

Connecting to an appliance<br />

The <strong>WatchGuard</strong> <strong>CLI</strong> can be used to perform pre-installation<br />

setup tasks, or to reconfigure or administer the appliance<br />

at any time. These comprise two distinct uses of the<br />

<strong>CLI</strong>, which in turn require different connections:<br />

• To use the <strong>CLI</strong> in pre-installation setup or to do direct<br />

administration of a <strong>WatchGuard</strong> appliance, you can<br />

directly connect the appliance to your workstation by<br />

connecting a cable from the Console port on the front<br />

of the appliance to a serial port on your workstation.<br />

Your Vclass package includes an adapter for this<br />

purpose. After this connection is made, you can<br />

connect directly to the appliance via a terminal<br />

application.<br />

• To use the <strong>CLI</strong> for administration after a <strong>WatchGuard</strong><br />

appliance has been set up and configured, you can<br />

make use of existing network connections. All you<br />

need is (1) the IP address of a <strong>WatchGuard</strong> appliance<br />

data interface and (2) a currently active policy<br />

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

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

Saved successfully!

Ooh no, something went wrong!