CLI Guide - WatchGuard Technologies
CLI Guide - WatchGuard Technologies CLI Guide - WatchGuard Technologies
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
- Page 1 and 2: WatchGuard ® Command Line Interfac
- Page 3 and 4: WatchGuard Technologies, Inc. Fireb
- Page 5 and 6: 4. Limited Warranty. WATCHGUARD mak
- Page 7 and 8: 6. Export Controls. You agree not t
- Page 9 and 10: Contents Contents .................
- Page 11 and 12: CHAPTER 3 Configuration Mode Comman
- Page 13 and 14: CHAPTER 5 Other Commands ..........
- Page 15 and 16: CHAPTER 1 Using the Command Line In
- Page 17: CLI limitations CLI Guide text conv
- Page 21 and 22: Getting started with the WatchGuard
- Page 23 and 24: Case sensitivity Getting started wi
- Page 25 and 26: Getting started with the WatchGuard
- Page 27 and 28: Navigating through the CLI Getting
- Page 29 and 30: Arguments None. Example WG(admin)#e
- Page 31 and 32: Getting started with the WatchGuard
- Page 33 and 34: Installing and configuring a WatchG
- Page 35 and 36: Command Description Installing and
- Page 37 and 38: Installing and configuring a WatchG
- Page 39 and 40: CHAPTER 2 Administration Mode Comma
- Page 41 and 42: Administration mode commands plete
- Page 43 and 44: Administration mode commands 4 Clic
- Page 45 and 46: Administration mode commands #ex: e
- Page 47 and 48: crl command Administration mode com
- Page 49 and 50: Administration mode commands Merge
- Page 51 and 52: Administration mode commands Proces
- Page 53 and 54: Administration mode commands Shuts
- Page 55 and 56: CHAPTER 3 Configuration Mode Comman
- Page 57 and 58: abort command Top-level configurati
- Page 59 and 60: certificate command Top-level confi
- Page 61 and 62: Top-level configuration mode comman
- Page 63 and 64: interface command Top-level configu
- Page 65 and 66: Arguments None Example WG#config WG
- Page 67 and 68: [no] traffic command (log level) WG
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