beautypg.com

2 login and logout, 3 cli commands, Chapter 5 - command line interface – Asus GigaX2124 User Manual

Page 83: 1 user account

background image

71

Chapter 5 - Command Line Interface

5.2 Login and logout

To enter the CLI mode, you have to give a valid user name and password.

As the first time login, you can enter “admin” as the user name (without

password). For security reason, please change the user name and

password after login. Once you forget the use name and password, you

may contact ASUS support team or restore the default user account in the

Boot ROM Command mode – “pwd”. If you take the second choice, the

default user “admin” will be restored.
You type “exit” to leave the CLI mode safely. This action allows you to

secure the CLI mode. The next user has to do login again with authorized

user name and password.

5.3 CLI commands

The switch provides CLI commands for all managed functions. The

command uses are listed in the categories as the WEB management

interface. This way, you can follow the instructions and set up the switch

correctly as easily as using WEB interface to configure the switch.

Always use “?” to get the available commands list and help.

Always use “end” to get back to the root directory (enable mode).

Note

5.3.1 User account

5.3.1.1 Add user

Add a new user or modify an existing user’s password.

CLI Syntax: add user user-name password

Example: ASUS# configure terminal

ASUS(config)# user add admin 123

5.3.1.2 Delete user

Delete an existing user.

CLI Syntax: delete user user-name

Example: ASUS# configure terminal

ASUS(config)# user delete admin