Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

==============================

Tche 2
==============================
en
conf t
hostname S1
int f0/1
switchport mode access
switchport access vlan 99
int vlan 99
ip address 172.17.99.11 255.255.255.0
no sh
exit
ip default-gateway 172.17.99.1
end
copy r s
==============================
Tche 4
==============================
conf t
line con 0
history size 50
line vty 0 15
history size 50
end
copy r s
==============================
Tche 5
==============================
conf t
enable secret class
line console 0
password cisco
login
exec-timeout 90
line vty 0 15
password cisco
login
exec-timeout 90
exit
service password-encryption
end
copy r s
==============================
Tche 6
==============================
conf t
banner motd #Authorized Access Only#
end
copy r s
==============================
Tche 7
==============================

en
conf t
hostname R1
banner motd #Authorized Access Only#
enable secret class
service password-encryption
line cons 0
password cisco
exec-timeout 90
history size 50
login
line vty 0 4
password cisco
exec-timeout 90
history size 50
login
end
copy r s
==============================
Tche 8
==============================
show flash:
conf t
boot system flash:c2960-lanbase-mz.122-25.SEE1.bin
end
reload
==============================
Tche 9
==============================
conf t
int f0/18
duplex full
speed auto
int f0/24
duplex full
speed auto
end
copy r s
==============================
Tche 10
==============================
conf t
mac-address-table static 0001.637b.b267 vlan 99 interface f0/24
end
copy r s
==============================
Tche 11
==============================
conf t
int f0/18
switchport port-security
switchport port-security maximum 1

switchport port-security mac-address sticky


switchport port-security violation shutdown
end
copy r s
==============================
Tche 12
==============================
conf t
int range f0/2-17
sh
int rang f0/19-23
sh
int rang gig1/1-2
sh
end
copy r s

You might also like