0% found this document useful (0 votes)
13 views5 pages

Switch Configuration

The document discusses basic switch configuration, including setting the hostname, passwords, IP addresses, and enabling SSH. It also covers storage in Cisco devices, describing how to copy configurations between RAM, NVRAM, flash memory, and a TFTP server for backup purposes. Processes like reloading, erasing startup configs, and deleting files from different storage types are also outlined.

Uploaded by

1999gthg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Switch Configuration

The document discusses basic switch configuration, including setting the hostname, passwords, IP addresses, and enabling SSH. It also covers storage in Cisco devices, describing how to copy configurations between RAM, NVRAM, flash memory, and a TFTP server for backup purposes. Processes like reloading, erasing startup configs, and deleting files from different storage types are also outlined.

Uploaded by

1999gthg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Switch Basic Configuration:

hostname SW
Enable password cisco
ip default-gateway 192.168.1.10
interface Vlan1
ip address 192.168.1.100 255.255.255.0
!
!
line con 0
password sanfran
logging synchronous
login
history size 25
exec-timeout 0 0
!
line vty 0 4
password sanjose
logging synchronous
login
history size 35
Using accounts to access switch:
username admin1 password ccna1
username admin2 password ccna2
username admin3 password ccna3

hostname SW
Enable password cisco
ip default-gateway 192.168.1.10
interface Vlan1
ip address 192.168.1.100 255.255.255.0
!
!
line con 0
password sanfran
logging synchronous
login local
history size 25
exec-timeout 0 0
!
line vty 0 15
password sanjose
logging synchronous
login local
history size 35
exec-timeout 5 25
Enable SSH and Using accounts to access switch:

username admin1 password ccna1


username admin2 password ccna2
username admin3 password ccna3

hostname SW
ip domain-name nh.com
crypto key generate rsa

Enable password cisco


ip default-gateway 192.168.1.10
interface Vlan1
ip address 192.168.1.100 255.255.255.0
!
!
line vty 0 15
password sanjose
logging synchronous
login local
history size 35
exec-timeout 5 25
transport input all
Dealing with Storage in Cisco Devices:
Dealing with RAM and NVRAM
To Copy from RAM to NVRAM (Save configuration):
sh startup-config
sh running-config
Copy running-config startup-config
Wr
Copy from NVRAM to RAM
Reload
Copy startup-config running-config
To delete startup-config
Write erase
Erase startup-config
Erase nvram
Hold system button

Dealing with RAM , NVRAM and Flash


Sh flash
Copy startup-config flash
Copy running-config flash
Copy flash running-config
Copy flash startup-config
Delete flash

Dealing with RAM , NVRAM , Flash and TFTP


Copy startup-config tftp
Copy running-config tftp
Copy flash tftp
Copy tftp startup-config
Copy tftp running-config
Copy tftp flash

You might also like