Deleting a username

About this task

Note

Note

DEMO FEATURE - Multiple CLI Users Per Role is a demonstration feature on some products. Demonstration features are provided for testing purposes. Demonstration features are for lab use only and are not for use in a production environment. For more information on feature support, see VOSS Feature Support Matrix.

Use this task to delete a username. Default ro, rw, and rwa users cannot be deleted.

Before you begin

You must use an account with read-write-all privileges to delete a user.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Delete the username:

    no username <WORD 1–20>

Example

Delete a user:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#no username smith
The specified username will be deleted! Contiune (y/n) ? Y
Switch:1(config)#show cli username smith
Username does not exit

Variable Definitions

The following table defines parameters for the no username command.

Variable

Value

WORD <1–20>

Specifies the username to delete.

enable

Disables the username.