To enter the configuration mode, use the following command:
Admin@UGOS> configure
Once you enter the configuration mode, the command line will be as follows:
Admin@UGOS#
Name |
Description |
---|---|
<action> |
The following actions are available in the configuration mode:
For example, to view information about all interfaces, run the following command:
Admin@UGOS# show network interface To go to the network interface level, use the following command:
Admin@UGOS# edit network interface The current level will be displayed above the command line:
[ network interface ]
Admin@UGOS# After you go to the network interface level, use the show command to show all interfaces without specifying a level:
[ network interface ]
Admin@UGOS# show |
<level> |
Levels in the command line follow the UserGate web interface
|
<filter> |
ID of the object which is being accessed. Objects are identified by their name. If there are objects with identical names or it is more convenient to identify objects by another parameter, specify <configuration_info> in parentheses (this is discussed later in the section). This will find an object matching all the fields specified in parentheses. For example, you need to display information about the port0 interface on another cluster node. The command
Admin@UGOS# show network interface adapter port0 will display information about the interface port0 on the current UserGate node. To preview information about the port0 interface on another node (named another_node for instance), you need to explicitly specify the node name in parentheses:
Admin@UGOS# show network interface adapter ( node-name another_nodename interface port0 ) Important! Parentheses should be separated by spaces on both sides. |
<configuration_info> |
Set of parameter-argument pairs. Parameter is the name of the field for which you need to set the argument. Arguments can be single-valued or multi-valued. A single argument is a value of the parameter. If the string contains spaces, use quotation marks. For example, to create a group named VPN users:
Admin@UGOS# create users group "VPN users" Multiple arguments are used to set multiple values of a parameter; include them in square brackets and separated by spaces. For example, you want to add user1 and user2 to the "VPN users" group. Then you need to set [ user1 user2 ] as the argument for the users parameter:
Admin@UGOS# set users group "VPN users" users [ user1 user2 ] Important! Square brackets should be separated by spaces on both sides. |