Models 2603, 2621, and 2635 Getting Started Guide

E • Command Line Interface (CLI) Operation

 

 

ip interface ip1 list secondaryipaddresses <enter>

 

Secondary IP addresses for interface: ip1

 

ID IP Address

 

----------------------

 

-----------------------

 

In this example there was not a secondary IP address. Now save the entire configuration in nonvolatile FLASH mem- ory with the following command.

system config save

Wait for the message that says “Configuration Saved”, then reboot the modem with this command.

system restart

Administering user accounts

As admin user you can administer user accounts. This section summarizes the CLI commands which can be used to administer user accounts.

Adding new users

To add a new user username, use the command: system add user < username > <“Comment”>

system add login user < username > <“Comment”>

The first command creates a user who can access the system via a dialin connection using PPP for example. The second command creates a user who can login to the system.

For example, the commands:

system add user fred “user with dialin access”

system add login joe “user with login access”

creates two new users called fred and joe. The accounts are created with no passwords. To view details about the new users, enter:

system list users

The following information is returned:

Users:

 

 

 

 

May May Access

 

 

 

 

ID Name

Conf.

Dialin

Level

Comment

-------------

----------

----------

-----------

-------------------------

1

fred

disabled

ENABLED

default

user with dialin access

2

joe

ENABLED

disabled default

user with login access

3

admin

ENABLED

disabled superuser Default admin user

--------------------------------------------------------------------------

Setting user passwords

To change the password for the user you are currently logged in as, use the command:

user password

Enter the new password twice as prompted:

Enter new password: ***

Again to verify: ***

Administering user accounts

132

Page 132
Image 132
Patton electronic 2603, 2621, 2635 manual Administering user accounts, Adding new users, Setting user passwords