1.6.6.2.1 Changing the Cisco 4948 Ethernet Switch Password for Serial Port Access

You can change the passwords for both serial port access and SSH access to the switch.

  1. Access the switch using telnet, ssh, or via the serial port.
    If you use the serial port for access, you will not be prompted for a user name or password, you will just get the prompt.
    my_host> ssh admin@my_switch 
    Using keyboard-interactive authentication. 
    Password:

    Note:

    • In Oracle Linux 5 update 5 or higher, telnet was removed for security reasons. You may need to install telnet client package in the compute node before you can access the switch using telnet.

    • Before using SSH to access the switch, you must enable SSH in the switch following the steps described in "Configuring SSH on Cisco Catalyst 4948 Ethernet Switch" (My Oracle Support Doc ID 1415044.1).

  2. Change to enable mode.
    Switch> enable
    
  3. Set the password.
    Switch# configure terminal
    Enter configuration commands,one per line.End with CNTL/Z.
    Switch(config)# no enable password 
    Switch(config)# enable secret new_password 
    Switch(config)# end 
    Switch# 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 ]
    
  4. Save the current configuration.
    Switch# copy running-config startup-config
    
  5. Exit from the session.
    Switch# exit