3.2. CLI Access

The cOS Stream CLI is accessible using either of the following two methods:

Confirming the CLI Connection

Once connection is made to the CLI, pressing the Enter key should get a response from cOS Stream. The response will be a normal CLI prompt if connecting directly through the local console port and a username/password combination will not be required (a password for this console can be set later).
Device:/> 
If connecting remotely through an SSH client, an administration username/password must first be entered and the initial default values for these are:

When these are accepted by cOS Stream, a normal CLI prompt will appear and CLI commands can be entered.

Changing the admin Password

It is strongly recommended to change the password of the admin user as the first task in cOS Stream setup. To do this, use the set command to change the current CLI object category (also referred to as the context) to be the LocalUserDatabase called AdminUsers.
Device:/> cc LocalUserDatabase AdminUsers
Device:/AdminUsers> 

[Tip] Tip: Using tab completion with the CLI

The tab key can be pressed at any time so that cOS Stream gives a list of possible options in a command.

Next, set a new password for the administrator. Both are case sensitive. In the example below, the the password is set to the value my_new_password.

Device:/AdminUsers> set User admin Password=my_new_password

The next step is to return back to the default CLI context:

Device:/AdminUsers> cc
Device:/> 

Setting the Date and Time

Many cOS Stream functions, such as event logging and certificate handling, rely on an accurate date and time. It is therefore important that this is set correctly using the time command. A typical usage of this command might be:
Device:/> time -set 2021-03-24 14:43:00
Notice that the date is entered in yyyy-mm-dd format and the time is stated in 24 hour hh:mm:ss format.

The Management Ethernet Interface

Network connection to the firewall is via the various Ethernet interfaces provided by the 500 Series. On first-time startup, cOS Stream scans for all Ethernet interfaces, determines which are available then allocates their names.

All Ethernet interfaces are logically equal in cOS Stream and although their physical capabilities may be different, any interface can perform any logical function. One of the interfaces will be automatically assigned as the default management interface (this management interface can be changed later). This is the G1 interface on the 500 Series.

On the 500 Series, this default management interface is enabled as an IPv4 DHCP server and will automatically assign an IPv4 address to a connecting client. The interface is also enabled to send out IPv6 router advertisements so that a connecting IPv6 client can be assigned an IPv6 address automatically.

Note that a DNS server address for clients is also usually automatically allocated. However, if the client interface is IPV6 only (not in dual-stack mode) then the DNS address will have to be manually assigned to the address object called WAN_ip6_dns.