This document describes the command-line interface (CLI) for the NETGEAR® ProSAFE® Dual
WAN Gigabit Firewall with SSL & IPsec VPN, model FVS336Gv2.
This chapter introduces the CLI interface. It includes the following sections:
•Command Syntax and Conventions
•Four Categories of Commands
•Configuration Commands: Four Main Modes
•Configuration Commands: Save Commands
•Global Commands
•Examples of Three Basic Types of Commands
•Command Autocompletion and Command Abbreviation
•Access the CLI
1
Note: For more information about the topics covered in this manual, visit the
support website at support.netgear.com.
Note: For more information about the features that you can configure using
the CLI, see the ProSafe Dual WAN Gigabit Firewall with SSL &
IPsec VPN FVS336Gv2 Reference Manual, which you can download
from downloadcenter.netgear.com.
Note: You cannot generate and upload a certificate through the CLI. You
must access the web management interface to manage these tasks.
6
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Command Syntax and Conventions
A command is one or more words that can be followed by one or more keywords and
parameters. Keywords and parameters can be required or optional:
•A keyword is a predefined string (word) that narrows the scope of a command. A keyword
can be followed by an associated parameter or by associated keywords. In many cases,
these associated keywords are mutually exclusive, so you must select one of them. In
some cases, this manual refers to a group of words as a keyword.
ou must replace the
•A parameter is a variable for which you must type a value.
parameter name with the appropriate value, which might be a name or number. A
parameter can be associated with a command or with a keyword.
This manual lists each command by its full command name and provides a brief description
of the command. In addition, for each command, the manual provides the following
information:
•Format. Shows the command keywords and the required and optional parameters.
•Mode. Identifies the command mode that you must be in to access the command. (With
some minor exceptions, the mode is always described using lowercase letters.)
•Related show command or commands. Identifies and links to the show command or
commands that can display the configured information.
Y
For more complicated commands, in addition to the format, mode, and related show
command or commands, the following information is provided:
•Table. Explains the keywords and parameters that you can use for the command.
•Example. Shows a CLI example for the command.
Command Conventions
In this manual, the following type conventions are used:
•A command name is stated in bold type.
•A keyword name is stated in bold type.
•A parameter name is stated in italic type.
The keywords and parameters for a command might include mandatory values, optional
values, or choices.
distinguish between value types:
Table 1. Command conventions
SymbolExampleDescription
< > angle brackets <value>Indicate that you must enter a value in place of the brackets
The following table describes the conventions that this manual uses to
and text inside them. (value is the parameter.)
[ ] square brackets [
value]Indicate an optional parameter that you can enter in place of
the brackets and text inside them. (value is the parameter.)
Introduction
7
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 1. Command conventions (continued)
SymbolExampleDescription
{ } curly braces{choice1 | choice2}Indicate that you must select a keyword from the list of
choices. (choice1 and choice1 are keywords.)
| vertical barschoice1 | choice2Separate the mutually exclusive choices. (choice1 and
choice1 are keywords.)
[ { } ] braces within
square brackets
[{choice1 | choice2}] Indicate a choice within an optional element. (choice1 and
choice1 are keywords.)
Description of a Command
The following example describes the net radvd pool lan edit <row id> command:
net radvd pool lan edit is the command name.
<row id> is the required parameter for which you must enter a value after you type the
command words.
The command lets you enter the net-config [radvd-pool-lan] mode, from which you can
issue the following keywords and parameters:
-If you select 6to4_interface, you must specify the WAN interface by typing
WAN1
or WAN2, and you must issue the sla_id keyword and enter a value for
the <ID number> parameter.
-If you select Global-Local-ISATAP, you must issue the prefix_address
keyword and enter a value for the <ipv6-address> parameter, and you must
issue the
prefix_length keyword and enter a value for the
<prefix length> parameter
•prefix_life_time
is a keyword and <seconds> is the required parameter for
which you must enter a value.
The required associated keyword that you must select
.
Command example:
FVS336Gv2> net radvd pool lan edit 12
net-config[radvd-pool-lan]> prefix_type Global-Local-ISATAP
net-config[radvd-pool-lan]> prefix_address 10FA:2203:6145:4201::
net-config[radvd-pool-lan]> prefix_length 10
net-config[radvd-pool-lan]> prefix_life_time 3600
net-config[radvd-pool-lan]> save
Introduction
8
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Common Parameters
Parameter values might be names (strings) or numbers. To use spaces as part of a name
parameter, enclose the name value in double quotes. For example, the expression “System
Name with Spaces” forces the system to accept the spaces. Empty strings (“”) are not valid
user-defined strings. The following table describes common parameter values and value
formatting:
Table 2. Common parameters
ParameterDescription
ipaddr
ipv6-address
Character stringsUse double quotation marks to identify character strings, for example, “System Name with
This parameter is a valid IPv4 address. You must enter the IP address in the a.b.c.d
format, in which each octet is a number in the range from 0 to 255 (both inclusive), for
example, 10.12.140.218.
The CLI accepts decimal, hexadecimal, and octal formats through the following input
formats (where n is any valid decimal, hexadecimal, or octal number):
• 0xn (CLI assumes hexadecimal format)
• 0n (CLI assumes octal format with leading zeros)
• n (CLI assumes decimal format)
This parameter is a valid IPv6 address. You can enter the IPv6 address in one of the
following formats:
• FE80:0000:0000:0000:020F:24FF:FEBF:DBCB
• FE80:0:0:0:20F:24FF:FEBF:DBCB
• FE80::20F:24FF:FEBF:DBCB
• FE80:0:0:0:20F:24FF:128:141:49:32
For additional information, see RFC 3513.
Spaces”.
An empty string (“”) is not valid.
Four Categories of Commands
CLI commands are grouped into four categories:
•Configuration. Configuration commands with four main configuration modes. For more
information, see Configuration Commands: Four Main Modes on page 10.
Save commands also fall into this category. For more information, see Configuration
Commands: Save Commands on page 13.
•Show. Show commands that are available for the four main configuration modes. For
more information, see Chapter 7, Overview of the Show Commands and Chapter 8,
Show Commands.
•Utility. See Chapter 9, Utility Commands.
•Global. See Global Commands on page 14.
Introduction
9
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Configuration Commands: Four Main Modes
For the configuration commands, the CLI provides four main modes: net, security, system,
and vpn. Chapter 2, Overview of the Configuration Commands lists all commands in these
modes, and each of these modes is described in detail in a separate chapter (see Chapter 3
through Chapter 6).
The following table lists the main configuration modes, the configuration modes, the features
that you can configure in each configuration mode, and, for orientation, the basic web
management interface (GUI) path to the feature.
Table 3. Main configuration modes
__________________________CLI________________________ ___Web Management Interface (GUI)___
Main Mode SubmodeFeature That You Can Configure Basic Path
Network configuration commands
netddnsDynamic DNSNetwork Configuration > Dynamic DNS
dmzDMZ for IPv4
DMZ for IPv6
ethernetVLAN assignment to LAN interface Network Configuration > LAN Setup
ipv6IPv4 or IPv4/IPv6 modeNetwork Configuration > WAN Settings
ipv6_tunnelIPv6 tunnelsNetwork Configuration > WAN Settings
lanIPv4 LAN settings and VLANs
LAN groups for IPv4
Secondary IPv4 LAN addresses
Advanced IPv4 LAN settings
Fixed and reserved DHCP IPv4
addresses
LAN IPv4 traffic meter profiles
IPv6 LAN settings
Secondary IPv6 LAN addresses
IPv6 LAN DHCP address pools
IPv6 prefix delegation for the LAN
radvdIPv6 RADVD and pools for the
LAN
IPv6 RADVD and pools for the
DMZ
Network Configuration > DMZ Setup
Network Configuration > LAN Setup
Network Configuration > LAN Setup
Network Configuration > DMZ Setup
routingDynamic IPv4 routes
Static IPv4 routes
Static IPv6 routes
Introduction
Network Configuration > Routing
10
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 3. Main configuration modes (continued)
__________________________CLI________________________ ___Web Management Interface (GUI)___
Main Mode SubmodeFeature That You Can Configure Basic Path
net
(continued)
Security configuration commands
securityaddress_filterSource MAC filters
siitStateless IP/ICMP TranslationNetwork Configuration > SIIT
wanIPv4 WAN (Internet) settings
Secondary IPv4 WAN addresses
IPv6 WAN (Internet) settings
MTU, port speed, and MAC
address, failure detection method,
and upload/download settings
wan_settingsNAT or Classical Routing
Load balancing settings for IPv4
IP/MAC bindings for IPv4
IP MAC bindings for IPv6
bandwidthBandwidth profilesSecurity > Bandwidth Profile
content_filterGroup filtering
Blocked keywords
Web components
Trusted domains
firewallAll IPv4 firewall rules
All IPv6 firewall rules
Attack checks
Session limits and time-outs
SIP ALG
Network Configuration > WAN Settings
Network Configuration > WAN Settings
Security > Address Filter
Security > Content Filtering
Security > Firewall
porttriggering_rulesSecurity > Port Triggering
schedulesSecurity > Schedule
servicesCustom services
Service groups
LAN and WAN IP groups
LAN QoS profiles
upnpSecurity > UPnP
Security > Services
Introduction
11
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 3. Main configuration modes (continued)
__________________________CLI________________________ ___Web Management Interface (GUI)___
Main Mode SubmodeFeature That You Can Configure Basic Path
Administration and monitoring configuration commands
systemloggingMonitoring > Firewall Logs & E-mail
remote_managementAdministration > Remote Management
snmpAdministration > SNMP
schedule_rebootMonitoring > Diagnostics
timeAdministration > Time Zone
traffic_meterWAN traffic metersMonitoring > Traffic Meter
VPN configuration commands
vpnipsecIPSec Wizard
IKE policies
VPN policies
Mode Config records
RADIUS servers
l2tpL2TP serverVPN > L2TP Server
pptpPPTP serverVPN > PPTP Server
sslvpnSSL Wizard
SSL policies
Resources and resource objects
Portal layouts
SSL VPN clients
Client routes
Port forwarding
Domains
Groups
User accounts
User login and IP policies
VPN > IPSec VPN
VPN > SSL VPN
Users
Introduction
12
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Configuration Commands: Save Commands
The following table describes the configuration commands that let you save or cancel
configuration changes in the CLI. You can use these commands in any of the four main
configuration modes. These commands are not preceded by a period.
Table 4. Save commands
CommandDescription
save
exit
cancel
Save the configuration changes.
Save the configuration changes and exit the current configuration mode.
Roll back the configuration changes.
Commands That Require Saving
After you issue a command that includes the word configure, add, or edit, you enter a
configuration mode from which you can issue keywords and associated parameters.
These are examples of commands for which you must save your changes:
•net lan ipv4 configure <vlan id> lets you enter the net-config [lan-ipv4]
configuration mode. After you make your changes, issue save or
changes.
•security content_filter trusted_domain add lets you enter the
security-config [approved-urls] configuration mode. After you make your changes, issue
save or exit to save your changes.
•vpn sslvpn users groups add lets you enter the vpn-config [user-groups]
configuration mode. After you make your changes, issue save or
changes.
exit to save your
exit to save your
Commands That Do Not Require Saving
You do not need to save your changes after you issue a command that deletes, disables, or
enables a row ID, name, IP address, or MAC address, or that lets you make a configuration
change without entering another configuration mode.
These are examples of commands that you do not need to save:
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Global Commands
The following table describes the global commands that you can use anywhere in the CLI.
These commands must be preceded by a period.
Table 5. Global CLI commands
CommandDescription
.exit
.help
.top
.reboot
.history
Exit the current session.
Display an overview of the CLI syntax.
Return to the default command mode or root.
Reboot the system.
Display the command-line history of the current session.
Examples of Three Basic Types of Commands
You can encounter the following three basic types of commands in the CLI:
•Entry commands to enter a configuration mode. Commands that let you enter a
configuration mode from which you can configure various keywords and associated
parameters and keywords. For example, the net wan wan1 ipv4 configure
command lets you enter the net-config [wan1-ipv4] mode, from which you can configure
the IPv4 WAN settings.
This type of command is the most common in the CLI and is always indicated by two
steps in this manual, each one showing the format and mode:
Step 1Format
net wan wan ipv4 configure <wan interface>
Modenet
Step 2FormatThis section shows the keywords and associated parameters, for example:
Sometimes, you must enter a parameter to enter a configuration mode. For example,
security schedules edit<row id> requires you to enter the row ID (that is, the
row number in the table that contains all the schedules) for the schedule that you want to
modify . Then, you enter the security-config [schedules] mode, from which you can modify
various keywords and associated parameters and keywords.
•Commands with a single parameter. Commands that require you to supply one or more
parameters and that do not let you enter another configuration mode.
usually a row number or a name. For example, security firewall ipv4 delete
The parameter is
<row id> requires you to enter the row ID (that is, the row number in the table that
contains all the firewall rules) for the firewall rule that you want to delete.
Introduction
14
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
For this type of command, the manual shows the format and mode:
Format
Modesecurity
security firewall ipv4 delete <row id>
•Commands without parameters. Commands that do not require you to supply a
parameter after the command and that do not let you enter another configuration mode.
For example, util restore_factory_defaults does not require parameters.
For this type of command, the manual shows the format and mode:
Format
Modeutil
util restore_factory_defaults
Command Autocompletion and Command Abbreviation
Command autocompletion finishes spelling a command when you type enough letters of the
command to uniquely identify the command keyword. You must type all of the required
keywords and parameters before you can use autocompletion.
Press either of the following keys to let the current command autocomplete. If the command
prefix is not unique, press the key again to display possible completions.
•Enter or Return key . Autocompletes, syntax-checks, and
a syntax error occurs, the offending part of the command is highlighted and explained.
•Spacebar. Autocompletes, or if the command is already resolved, inserts a space.
then executes the command. If
The following table describes the key combinations that you can use to edit commands or
increase the speed of command entry. Access this list from the CLI by issuing .help
Table 6. CLI editing conventions
Key or Key Sequence Description
Invoking context-sensitive help
?Displays context-sensitive help. The information that displays consists either of a list of
possible command completions with summaries or of the full syntax of the current
command. When a command is resolved, a subsequent repeat of the help key displays
a detailed reference.
Autocompleting
Note: Command autocompletion finishes spelling the command when you type enough letters of a command to
uniquely identify the command keyword. However, you must type all of the required keywords and parameters
before you use autocompletion.
Enter (or Return)Autocompletes, syntax-checks, and then executes a command. If a syntax error
occurs, the of
command prefix is not unique, press the key again to display possible completions.
fending part of the command line is highlighted and explained. If the
.
Introduction
15
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 6. CLI editing conventions (continued)
Key or Key Sequence Description
SpacebarAutocompletes, or if the command is already resolved, inserts a space. If the command
prefix is not unique, press the key again to display possible completions.
Moving around
Ctrl-AGo to the beginning of the line.
Ctrl-EGo to the end of the line.
Up arrowGo to the previous line in the history buffer.
Down arrowGo to the next line in the history buffer.
Left arrowGo backward one character.
Right arrowGo forward one character.
Deleting
Ctrl-CDelete the entire line.
Ctrl-DDelete the next character.
Ctrl-KDelete all characters to the end of the line from where the cursor is located.
BackspaceDelete the previous character.
Invoking escape sequences
!!Substitute the previous line.
!NSubstitute the Nth line, in which N is the absolute line number as displayed in the
output of the history command.
!-NSubstitute the line that is located N lines before the current line, in which N is a relative
number in relation to the current lint.
Access the CLI
You can access the CLI by logging in with the same user credentials (user name and
password) that you use to access the web management interface. FVS336Gv2> is the CLI
prompt.
FVS336Gv2 login: admin
Password:
************************************************
Welcome to FVS336Gv2 Command Line Interface
************************************************
FVS336Gv2>
Introduction
16
2. Overview of the Configuration
Commands
This chapter provides an overview of all configuration commands in the four configuration
command modes. The keywords and associated parameters that are available for these
commands are explained in Chapter 3 through Chapter 6. The chapter includes the following
sections:
•Network Settings Configuration Commands
•Security Settings Configuration Commands
•System Administrative and Monitoring Settings Configuration Commands
•VPN Settings Configuration Commands
2
17
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Network Settings Configuration Commands
Enter the net ? command at the CLI prompt to display the submodes in the net mode. The
following table lists the submodes and their commands in alphabetical order:
Table 7. Net mode configuration commands
SubmodeCommand NamePurpose
ddns
dmz
ethernet
ipv6
ipv6_tunnel
net ddns configureEnable, configure, or disable DDNS service.
net dmz ipv4 configureEnable, configure, or disable the IPv4 DMZ.
net dmz ipv6 configureEnable, configure, or disable the IPv6 DMZ.
net dmz ipv6 pool configure <ipv6 address>Configure a new or existing IPv6 DMZ DHCP
address pool.
net dmz ipv6 pool delete < ipv6 address>Delete an IPv6 DMZ DHCP address pool.
net ethernet configure <interface name or
number>
net ipv6 ipmode configureConfigure the IP mode (IPv4 only or
net ipv6_tunnel isatap addConfigure a new IPv6 ISATAP tunnel.
net ipv6_tunnel isatap delete <row id>Delete an IPv6 ISATAP tunnel.
net ipv6_tunnel isatap edit <row id>Configure an existing IPv6 ISATAP tunnel.
net ipv6_tunnel six_to_four configureEnable or disable automatic (6to4) tunneling.
net lan dhcp reserved_ip configure
<mac address>
Configure a VLAN for a LAN interface.
IPv4/IPv6).
Bind a MAC address to an IP address for
DHCP reservation or change an existing
binding, and assign a LAN group.
lan
net lan dhcp reserved_ip delete
<mac address>
net lan ipv4 advanced configureConfigure advanced LAN settings such as the
net lan ipv4 configure <vlan id>Configure a new or existing VLAN.
net lan ipv4 default_vlanConfigure the default VLAN for each port.
net lan ipv4 delete <vlan id>Delete a VLAN.
net lan ipv4 disable <vlan id>Disable a VLAN.
net lan ipv4 enable <vlan id>Enable a VLAN.
net lan ipv4 multi_homing addConfigure a new secondary IPv4 address.
net lan ipv4 multi_homing delete <row id>Delete a secondary IPv4 address.
Delete the binding of a MAC address to an IP
address.
MAC address for VLANs and
ARP broadcast.
Overview of the Configuration Commands
18
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 7. Net mode configuration commands (continued)
SubmodeCommand NamePurpose
net lan ipv4 multi_homing edit <row id>Configure an existing secondary IPv4
address.
lan
(continued)
net lan ipv4 traffic_meter configure
<ip address>
net lan ipv4 traffic_meter delete <row id>Delete a traffic meter profile.
net lan ipv6 configureConfigure the IPv6 LAN address settings and
net lan ipv6 multi_homing addConfigure a new secondary IPv6 address.
net lan ipv6 multi_homing delete <row id>Delete a secondary IPv6 address.
net lan ipv6 multi_homing edit <row id>Configure an existing secondary IPv6
net lan ipv6 pool addConfigure a new IPv6 LAN DHCP address
net lan ipv6 pool delete <row id>Delete an IPv6 LAN DHCP address pool.
net lan ipv6 pool edit <row id>Configure an existing IPv6 LAN DHCP
net lan ipv6 prefix_delegation addConfigure a new prefix for IPv6 LAN prefix
net lan ipv6 prefix_delegation delete <row id> Delete a prefix for IPv6 LAN prefix delegation.
net lan ipv6 prefix_delegation edit <row id>Configure an existing prefix for IPv6 LAN
Configure a traffic meter profile for an IPv4
address.
DHCPv6.
address.
pool.
address pool.
delegation.
prefix delegation.
protocol binding
net lan lan_groups edit <row id>
<new group name>
net protocol_binding addConfigure a new protocol binding.
net protocol_binding deleteDelete a protocol binding.
net protocol_binding disableDisable a protocol binding.
net protocol_binding edit <row id>Configure an existing protocol binding.
net protocol_binding enableEnable a protocol binding.
Change an existing LAN default group name.
Overview of the Configuration Commands
19
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 7. Net mode configuration commands (continued)
SubmodeCommand NamePurpose
net qos configureConfigure the QoS mode for the WAN
interfaces.
net qos profile addConfigure a new WAN QoS profile.
qos
radvd
net qos profile delete <row id>Delete a WAN QoS profile.
net qos profile disable <row id>Disable a WAN QoS profile.
net qos profile edit <row id>Configure an existing WAN QoS profile.
net qos profile enable <row id>Enable a WAN QoS profile.
net radvd configure dmzConfigure the IPv6 RADVD for the DMZ.
net radvd configure lanConfigure the IPv6 RADVD for the LAN.
net radvd pool dmz addConfigure a new IPv6 RADVD pool for the
DMZ.
net radvd pool dmz delete <row id>Delete an IPv6 RADVD pool from the DMZ.
net radvd pool dmz edit <row id>Configure an existing IPv6 RADVD pool for
the DMZ.
net radvd pool lan addConfigure a new IPv6 RADVD pool for the
LAN.
net radvd pool lan delete <row id>Delete an IPv6 RADVD pool from the LAN.
net radvd pool lan edit <row id>Configure an existing IPv6 RADVD pool for
the LAN.
net routing dynamic configureConfigure RIP and the associated MD5 key
information.
routing
siit
wan
net routing static ipv4 configure <route name> Configure a new or existing IPv4 static route.
net routing static ipv4 delete <route name>Delete an IPv4 static route.
net routing static ipv4 delete_allDelete all IPv4 routes.
net routing static ipv6 configure <route name> Configure a new or existing IPv6 static route.
net routing static ipv6 delete <route name>Delete an IPv6 static route.
net routing static ipv6 delete_allDelete all IPv6 routes.
net siit configureConfigure Stateless IP/ICMP Translation.
net wan port_setup ipv4 configure <wan
interface>
net wan port_setup ipv6 configure <wan
interface>
Configure the failover method, MTU, port
speed, and MAC address of an IPv4 W
interface.
Configure the failure detection ping settings of
an IPv6 W
AN interface.
AN
Overview of the Configuration Commands
20
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
Table 7. Net mode configuration commands (continued)
SubmodeCommand NamePurpose
net wan wan ipv4 configure <wan interface> Configure the ISP settings of an IPv4 WAN
interface.
wan
(continued)
wan_settings
net wan wan ipv4 secondary_address add
<wan interface>
net wan wan ipv4 secondary_address delete
<row id>
net wan wan ipv6 configure <wan interface> Configure the ISP settings of an IPv6 WAN
net wan_settings load_balancing configureConfigure the load balancing settings for two
net wan_settings wanmode configure Configure the mode of IPv4 routing (NA
Configure a secondary IPv4 WAN address.
Delete a secondary IPv4 WAN address.
interface.
W
AN interfaces that are configured for IPv4.
classical routing) between the WAN interface
and LAN interfaces.
Security Settings Configuration Commands
Enter the security ? command at the CLI prompt to display the submodes in the security
mode. The following table lists the submodes and their commands in alphabetical order:
Table 8. Security mode configuration commands
SubmodeCommand NamePurpose
T or
address_filter
security address_filter ip_or_mac_binding addConfigure a new IP/MAC binding rule.
security address_filter ip_or_mac_binding
security porttriggering_rules addConfigure a new port triggering rule.
porttriggering_rules
schedules
services
security porttriggering_rules delete <row id>Delete a port triggering rule.
security porttriggering_rules edit <row id>Configure an existing port triggering rule.
security schedules edit {1 | 2 | 3}Configure one of the three security
schedules.
security services addConfigure a new custom service.
security services delete <row id>Delete a custom service.
security services edit <row id>Configure an existing custom service.
security services ip_group addConfigure a new LAN or WAN IP group.
security services ip_group add_ip_to
<group name>
security services ip_group delete <row id>Delete a LAN or WAN IP group.
security services ip_group delete_ip <row id>Remove an IP address from a LAN or
security services ip_group edit <row id>Configure an existing LAN or W
security services qos_profile addAdd a QoS profile.
security services qos_profile delete <row id>Delete a QoS profile.
Add an IP address to a LAN or WAN IP
group.
W
AN IP group.
AN IP
group.
security services qos_profile edit <row id>Configure an existing QoS profile.
security services service_group addAdd a service group.
security services service_group edit <row id>Delete a service group.
security services service_group delete <row id> Configure an existing service group.
upnpsecurity upnp configureConfigure UPnP.
Overview of the Configuration Commands
24
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
System Administrative and Monitoring Settings
Configuration Commands
Enter the system ? command at the CLI prompt to display the submodes in the system
mode. The following table lists the submodes and their commands in alphabetical order:
Table 9. System mode configuration commands
SubmodeCommand NamePurpose
system logging configureConfigure routing logs for accepted and
dropped IPv4 and IPv6 packets.
logging
system logging remote configureConfigure email logs and alerts, schedule
email logs and alerts, and configure a syslog
server
.
system remote_management https
remote_management
schedule_rebootsystem schedule_reboot configureSchedule the VPN firewall to be rebooted.
snmp
time
traffic_meter
configure
system remote_management telnet
configure
system snmp remote_snmp enableEnable or disable SNMP access from the
system snmp sys configureConfigure the SNMP system information.
system snmp trap configure <ip address> Configure an SNMP agent and community.
system snmp trap delete <ipaddress>Delete an SNMP agent.
system snmp trapevent editChange the default SNMP trap events.
system snmp v3_users editChange the default SNMPv3 users.
system time configureConfigure the system time, date, and NTP
system traffic_meter configure
<wan interface>
Configure remote management over HTTPS.
Configure remote management over T
W
AN.
servers.
Configure the W
AN traffic meter.
elnet.
Overview of the Configuration Commands
25
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
VPN Settings Configuration Commands
Enter the vpn ? command at the CLI prompt to display the submodes in the vpn mode. The
following table lists the submodes and their commands in alphabetical order:
Table 10. Configuration commands: vpn mode
SubmodeCommand NamePurpose
vpn ipsec ikepolicy configure <ike policy name>Configure a new or existing manual IPSec
IKE policy.
vpn ipsec ikepolicy delete <ike policy name>Delete an IPSec policy
vpn ipsec mode_config configure <record name>Configure a new or existing Mode Config
record.
vpn ipsec mode_config delete <record name>Delete a Mode Config record.
vpn ipsec radius configure Configure the RADIUS servers.
vpn ipsec vpnpolicy configure <vpn policy name>Configure a new or existing auto IPSec
ipsec
vpn ipsec vpnpolicy connect <vpn policy name>Establish a VPN connection.
vpn ipsec vpnpolicy delete <vpn policy name>Delete an IPSec VPN policy
vpn ipsec vpnpolicy disable <vpn policy name>Disable an IPSec VPN policy.
vpn ipsec vpnpolicy drop <vpn policy name>Terminate an IPSec VPN connection.
vpn ipsec vpnpolicy enable <vpn policy name>Enable an IPSec VPN policy.
vpn ipsec wizard configure <Gateway | VPN_Client> Configure the IPSec VPN wizard for a
l2tpvpn l2tp server configure Configure the L2TP server.
pptpvpn pptp server configure Configure the PPTP server.
VPN policy or manual IPSec VPN policy
gateway-to-gateway or gateway-to-VPN
client connection.
.
.
.
sslvpn
vpn sslvpn client ipv4Configure the SSL client IPv4 address
range.
vpn sslvpn client ipv6Configure the SSL client IPv6 address
range.
vpn sslvpn policy addConfigure a new SSL VPN policy.
vpn sslvpn policy delete <row id>Delete an SSL VPN policy.
vpn sslvpn policy edit <row id>Configure an existing SSL VPN policy.
vpn sslvpn portal_layouts add Configure a new SSL VPN portal layout.
vpn sslvpn portal_layouts delete <row id>Delete an SSL VPN portal layout.
Overview of the Configuration Commands
26
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
vpn sslvpn users groups addConfigure a new authentication group.
vpn sslvpn users groups delete <row id>Delete an authentication group.
Delete a host name for an SSL port
forwarding application.
Configure an SSL VPN resource object.
Enable or disable local authentication for
users.
domain.
vpn sslvpn users groups edit <row id>Configure an existing authentication group.
vpn sslvpn users users addAdd a new user account.
vpn sslvpn users users browser_policies <row id>Configure the client browsers from which a
user is either allowed or denied access.
vpn sslvpn users users delete <row id>Delete a user account.
vpn sslvpn users users edit <row id>Configure an existing user account.
Overview of the Configuration Commands
27
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
vpn sslvpn users users ip_policies delete <row id>Delete a source IP address for a user.
vpn sslvpn users users login_policies <row id>Configure the login policy for a user.
vpn sslvpn wizard configureConfigure the SSL VPN wizard for an SSL
Configure source IP addresses from which
a user is either allowed or denied access.
portal.
Overview of the Configuration Commands
28
3. Net Mode Configuration
Commands
This chapter explains the configuration commands, keywords, and associated parameters in the
net mode. The chapter includes the following sections:
•General WAN Commands
•IPv4 WAN Commands
•IPv6 WAN Commands
•IPv6 Tunnel Commands
•Dynamic DNS Command
•IPv4 LAN Commands
•IPv6 LAN Commands
•IPv4 DMZ Setup Command
•IPv6 DMZ Setup Commands
•WAN QoS Commands
•IPv4 Routing Commands
•IPv6 Routing Commands
3
IMPORTANT:
After you issue a command that includes the word configure,
add, or edit, you must save (or cancel) your changes. For more
information, see Configuration Commands: Save Commands on
page 13.
29
ProSAFE Dual WAN Gigabit Firewall with SSL & IPsec VPN
General WAN Commands
This section describes the following commands:
•net wan port_setup ipv4 configure <wan interface>
•net wan port_setup ipv6 configure <wan interface>
net wan port_setup ipv4 configure <wan interface>
This command configures the advanced WAN settings for an IPv4 W AN interface, that is, the
MTU, port speed, MAC address, failure detection method, and upload and download settings
of the VPN firewall. After you issue the net wan port_setup ipv4 configure
command to specify one of the two WAN interfaces (that is, WAN1 or WAN2), you enter the
net-config [port_setup_ipv4] mode and then you can configure the advanced settings for the
specified interface in the order that you prefer.