Logging into the switch for the first time

The first time you log in to the switch you must use the default administrator account. This account has no password, so you should immediately define one to safeguard the switch.

Procedure
  1. When prompted to log in specify admin. When prompted for the password, press ENTER. (By default, no password is defined.) You are placed into the manager command context, which is identified by the prompt: switch#.
    For example:
    login as: admin
    password:
    switch#
  2. Enter the command config to change to the global configuration context switch (config)#.
    For example:
    switch# config
    switch(config)# 
  3. Define a password for the admin account with the command user admin password. The password can contain up to 32 alphanumeric characters in the range ASCII 32 to 127, which includes special characters such as asterisk (*), ampersand (&), exclamation point (!), dash (-), underscore (_), and question mark (?).
    For example:
    switch(config)# user admin password
    Changing password for user admin
    Enter password:************
    Confirm password:************