Bootstrap FreeKB - Cisco IOS - Create a new user
Cisco IOS - Create a new user

Updated:   |  Cisco IOS articles

Follow these directions to assign a hostname to a Cisco router or switch in IOS.

  1. In IOS, type enable and press enter
  2. Type configure terminal and press enter
  3. Type username username password password enter (example: username User1 password bv5gh4ns2)

Note: Adding "privilege 15" gives the user administrator rights (example: username User1 privilege 15 password bv5gh4ns2)

  1. Type exit and press enter

Use the show users to verify that the user has been added.

The reload command can be used to return the router or switch to the configuration it had before any changes were made.

To ensure these changes remain saved if the router or switch is restarted, save the changes to the startup-config. Type copy running-config startup-config and press enter. This saves to NVRAM. To ensure the startup-config contains the new user, use the show startup-config command. It is also possible to save the changes to flash using the copy startup-config flash command. Then use the show flash command, and the startup-config file should be listed.

 

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 938ad7 in the box below so that we can be sure you are a human.