B – Command Line Interface | |||
User Command |
| ||
|
|
| |
|
|
| |
User Command |
|
| |
| Administers or displays user accounts. | ||
Authority | Admin. The List keyword is available with User authority. | ||
Syntax | user |
|
|
| accounts |
|
|
| add |
|
|
| delete [account_name] | ||
| list |
|
|
Keywords | accounts |
|
|
| Displays all user accounts that exist on the switch. | ||
| add |
|
|
| Add a user account to the switch. After this command is executed, the | ||
| administrator will be prompted for the information needed to establish the user | ||
| account. A switch can have a maximum of 15 user accounts. Account names are | ||
| limited to 15 characters; passwords are limited to 31 characters. | ||
| delete [account_name] | ||
| Deletes the account name given by [account_name] from the switch. | ||
| list |
|
|
| Displays the list of users currently logged in and their session numbers. Provides | ||
| the same function as the Show Users command. This keyword is valid for User | ||
| authority and does not require an admin session. | ||
Examples | The following is an example of the User Accounts command: | ||
| |||
| Current list of user accounts | ||
|
| ||
| admin | (admin authority = True) | |
| user1 | (admin authority = False) | |
| user2 | (admin authority = False) | |
| user3 | (admin authority = True) |