Tuesday, January 13, 2026

Factory Reset 3560-cx series PD


Factory Reset 3560-cx series PD and set up some other commands

With the unit powered off, hold the MODE button

Power on unit

Wait about 30 seconds, assuming you have a console cable attached, you'll see in the output

"The password-recovery mechanism is enabled."

When you see that posted (it doesn't have anything to do with your reset process) then you've held the button down long enough.


Let go of the MODE button

You'll be prompted with "SWITCH:"

flash_init

Then enter

delete flash:vlan.dat

Followed by

del flash:config.text

now enter the following to boot your switch up.

boot 

Now your switch will boot up.  You'll see 


You are now ready to configure your switch.

Set Clock

  1. Set the ClockUse the following command to set the time and date:
clock set hh:mm:ss MONTH DAY YEAR
  • For example, to set the clock to 12:15:30 on May 12, 2024, you would enter:
clock set 12:15:30 May 12 2024
  1. Set Time Zone (Optional)If you want to set the time zone, use the command:
clock timezone TIMEZONE_NAME OFFSET
  • For example, for Eastern Standard Time (EST), you would enter:
clock timezone EST -5
  1. Configure Daylight Saving Time (Optional)To set daylight saving time, use:
clock summer-time TIMEZONE_NAME START_DATE END_DATE
  • For example:
clock summer-time EDT recurring

Enable SSH to a switch

  • Enter global configuration mode by typing configure terminal.

  • Set a hostname for the switch using the command: hostname <your_hostname> Example: hostname Switch1.

  • Configure a domain name using the command: ip domain-name <your_domain> Example: ip domain-name example.com.

  • Generate an RSA key pair for encryption by typing: crypto key generate rsa When prompted, specify a key size of 2048 bits or higher for better security.

  • Enable SSH version 2 for enhanced security by typing: ip ssh version 2.

  • Create a local user account with a username and password for SSH authentication: username <username> privilege 15 secret <password> Example: username admin privilege 15 secret StrongPassword123.

  • Configure the VTY lines to allow SSH access and disable Telnet:


line vty 0 15
login local
transport input ssh
exit
  • Save the configuration 
copy running-config startup-config.

Assign an IP to a VLAN on a cisco switch
  1. Access the Switchconsole cable or SSH and enter "enable mode"
    enable

  2. Enter Configuration Mode
    configure terminal

  3. Select the VLAN InterfaceSpecify the VLAN interface you want to configure
    interface vlan 1

  4. Assign the IP AddressIP address and subnet mask 
    ip address 192.168.0.12 255.255.255.0

  5. Enable the VLAN Interface: sets VLAN interface to stay active 
    no shutdown

  6. Exit
    exit
  7. Save config
    write memory


POE POWER

Switch(config-if)#power inline ?
  auto         Automatically detect and power inline devices
  consumption  Configure the inline device consumption
  never        Never apply inline power
  police       Police the power drawn on the port
  static       High priority inline power interface

No comments:

Post a Comment

Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.