cisco ios // reset & initial setup

basics | defaults | fw | init | lacp | passwords | setup | ssh

requirements

connect to serial console and power up the switch

usermod -aG dialout USER
newgrp USER

tio /dev/ttyS0 -b 9600
tio /dev/ttyUSB0 -b 9600

reset to factory defaults

–either– proceed with a hard reset (while it is powered on)

hold mode button 3-7 seconds

–or– start from scratch (erasing both running and startup configs)

write erase
!erase startup-config

write memory

reload

and eventually proceed with the wizard

!setup

Would you like to enter the initial configuration dialog? [yes/no]: y

ready to go

now is a good time for firmware upgrade

resources

passwords

no shutdown https://community.cisco.com/t5/other-network-architecture/quot-no-keepalive-quot-and-quot-no-shutdown-quot-command-on/td-p/501769

mgmt ip Assigning the Switch IP Address and Default Gateway from the Configuration Guide.

2960S - Password required, but none set https://community.cisco.com/t5/switching/2960s-password-required-but-none-set/td-p/2190151

IP route-cache https://community.cisco.com/t5/routing/ip-route-cache/td-p/880750 https://learningnetwork.cisco.com/thread/21603

Cisco 2950 Switch with crypto IOS image reporting 1MB less Total memory than Switch with non-crypto IOS https://community.cisco.com/t5/switching/cisco-2950-switch-with-crypto-ios-image-reporting-1mb-less-total/td-p/2493215

line vty 0 4 https://learningnetwork.cisco.com/thread/13484

Difference between vty lines 0 4 and 5 15 https://community.cisco.com/t5/other-network-architecture/difference-between-vty-lines-0-4-and-5-15/td-p/567906

Cisco IOS Password Encryption Facts https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/107614-64.html

Chapter: Passwords and Privileges Commands https://www.cisco.com/c/en/us/td/docs/ios/12_2/security/command/reference/fsecur_r/srfpass.html

MD5 encrypted passwords with user accounts https://community.cisco.com/t5/network-management/md5-encrypted-passwords-with-user-accounts/td-p/991910

enable secret password - different hash each time for same password ? https://community.cisco.com/t5/switching/enable-secret-password-different-hash-each-time-for-same/td-p/2681851

line console password vs privilege mode enable secret https://community.cisco.com/t5/switching/line-console-password-vs-privilege-mode-enable-secret/td-p/2632214

Cisco IOS Enable Secret Type 5 Password Cracker https://www.ifm.net.nz/cookbooks/cisco-ios-enable-secret-password-cracker.html


hard reset Resetting the Switch from the Getting Started Manual


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun