Network Swiss Army Knife

Pocket

Cisco Router/Switch Reset config and Initial Configuration

for Exam.

Initial Configuration

Router

en
conf t
no service config
line console 0
exec-timeout 0 0
logging synchronous
exit
hostname R1
int fa0/1
ip addr 172.17.1.5 255.255.255.0
no shut
exit
ip route 0.0.0.0 0.0.0.0 172.17.1.254
enable secret password
line vty 0 15
exec-timeout 0 0
password password
login
end
write

Catalyst Switch

en
conf t
no service config
line console 0
exec-timeout 0 0
logging synchronous
exit
hostname SW4
int vlan 1
ip addr 172.17.1.5 255.255.255.0
no shut
exit
ip default-gateway 172.16.1.1
enable secret password
line vty 0 15
exec-timeout 0 0
password password
login
end
write

Clear Setting

Router

enable
erase startup-config
reload

Catalyst Switch

enable
erase startup-config
delete flash:vlan.dat
reload