2 login and logout 5.3 cli commands, 1 user account, 1 add user – Asus GigaX2024B User Manual

Page 68: 2 delete user, 2 backup and restore, 1 backup start-up configuration file, 2 login and logout, 3 cli commands

Advertising
background image

56

GigaX2024B L2 Managed Switch User Manual

Note

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.
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. 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 “?” or “list” to get the available commands list and help.

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

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# user add admin 123

5.3.1.2 Delete user

Delete an existing user.

CLI Syntax: delete user user-name
Example: ASUS# user delete admin

5.3.2 Backup and Restore

5.3.2.1 Backup start-up configuration file

Backup the start-up configuration file “ startup_config” of the switch to TFTP server.

Advertising