Changing the Cisco 4948 Ethernet Switch Password
You can change the passwords for both serial port access and SSH access to the
switch.
There are two different methods to access the switch. One is through a serial port and
the other is through ssh. When using serial port access, there are no user accounts, so
the enable password is all that is required. When the switch is accessed via ssh,you
must supply a user account and password before you can change the password.
During the installation of the system, the admin user is created and you can use this
user to access the switch using ssh.
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:
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
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




