To configure a Cisco 2960 switch for basic security and remote administration, copy and paste the following commands:
BASIC CONFIGURATION:
Let's look at a basic configuration that involves setting device access passwords based on the various levels and possible access methods. Specifically, the following configuration sets the console access password to the "Enable" level, configures five simultaneous remote connections, disables Telnet access, and enables SSH only. It also activates password encryption. You can also copy and paste the list of commands below directly into your console.
For instructional purposes, I've entered "cisco" as the password for all access levels, "cisco" as the domain name, and "SW2960_001" as the hostname.
Enable
configure terminal
enable secret cisco
line console 0
password cisco
login
logging synchronous
exec-timeout 30 0
hostname SW2960_001
ip domain-name cisco (Enter)
crypto key generate rsa (Enter)
ip ssh version 2
line vty 0 4
transport input ssh
login local
username cisco
password cisco
service password-encryption
end
copy running-config startup-config (Enter)
Now let's configure the default VLAN1, which is usually assigned to the device for remote management.
We will assign the switch an IP, subnet mask, and gateway available in our network.
config terminal
interface vlan 1
ip address 192.168.1.101 255.255.255.0
no shutdown
ip default-gateway 192.168.1.1
end
copy running-config startup-config
(Enter)
(Enter)
************************************************************************************
#cisco #ciscoswitch #configciscoswitch
• https://www.michelevese.it/configurar...
• Subscribe to stay updated: / @michelevese
Console Cable
• https://amzn.to/3hjVrwG
Check out all my blog posts:
• https://michelevese.it/
Connect to my LinkedIn profile
• / michele-vese
Follow me on Instagram
• / michele.vese
Requirements:
Console cable - USB; (Insert the console cable's RJ45 plug into the switch's console port and the USB connector into a port on your PC);
Serial connection management software (TeraTerm, Putty, MRemoteNG, etc.);
Tags:
Cisco switch configuration, Cisco switch in Italy, Cisco switch, 2960 configuration, Cisco switch, Cisco in Italy, Cisco configure, configure, configure Cisco switch, configuring Cisco, configuring Cisco switch, configure 2960, Cisco router, Cisco switch configuration step by step, network switch (product category)
#ciscoswitch #cisco #resetciscoswitch