The cli, Section 2.1.4, “the cli – Amer Networks E5Web GUI User Manual
Page 39

After finishing working with the Web Interface, it is advisable to always logout to prevent other
users with access to the workstation getting unauthorized access to cOS Core. Logout is
achieved by clicking on the Logout button at the right of the menu bar.
Management Traffic Routing with VPN Tunnels
If there is a problem with the management interface when communicating alongside VPN
tunnels, check the main routing table and look for an all-nets route to the VPN tunnel.
Management traffic may be using this route.
If no specific route is set up for the management interface then all management traffic coming
from cOS Core will automatically be routed into the VPN tunnel. If this is the case then a route
should be added by the administrator to route management traffic destined for the
management network to the correct interface.
2.1.4. The CLI
cOS Core provides a Command Line Interface (CLI) for administrators who prefer or require a
command line approach to administration, or who need more granular control of system
configuration. The CLI is available either locally through the serial console port (connection to
this is described below), or remotely via an Ethernet interface using the Secure Shell (SSH)
protocol from an SSH client.
The CLI provides a comprehensive set of commands that allow the display of configuration data
as well as allowing runtime data to be displayed and allowing system maintenance tasks to be
performed.
This section only provides a summary for using the CLI. For a complete reference for all CLI
commands, see the separate Clavister CLI Reference Guide.
The most often used CLI commands are:
•
add - Adds an object such as an IP address or a rule to a cOS Core configuration.
•
set - Sets some property of an object to a value. For example, this might be used to set the
source interface on an IP rule.
•
show - Displays the current categories or display the values of a particular object.
•
delete - Deletes a specific object.
CLI Command Structure
CLI commands usually have the structure:
For example, to display an IP address object called my_address, the command would be:
Device:/> show Address IP4Address my_address
The object category in this case is Address and the type within this category is IPAddress.
When typing commands, the object category can be left out where the command's meaning is
unambiguous. For example, the show command above could have been entered as:
Device:/> show IPAddress my_address
However, tab completion will always assume the category is included. For example, tab
Chapter 2: Management and Maintenance
39