Changing the Cisco Ethernet Switch Password

There are no user accounts on the Cisco Ethernet switch. The password, which is called the "enable" password, is not specific to a user account.

To change the password for the Cisco Ethernet switch:

  1. Change to enable mode:
    Switch> enable
    
  2. Set the password:
    rasw-ip# configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    rasw-ip(config)# enable password password
    rasw-ip(config)# enable secret password
    rasw-ip(config)# end
    rasw-ip# write memory 
    *Sep 15 14:25:05.893:%SYS-5-CONFIG_I:Configured from console by console
    Building configuration...
    Compressed configuration from 2502 bytes to 1085 bytes [OK ]
    
  3. Save the current configuration:
    rasw-ip# copy running-config startup-config
    
  4. Exit from the session:
    rasw-ip# exit