Comnde Pack Tracer - Copie

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

Configurez La Bannière MOTD (message of the day) appropriée.

///pr nommer
Sw-Floor-1# configure terminal Switch# configure terminal
Sw-Floor-1(config)# banner motd #Authorized Access Only# Switch(config)# hostname Sw-Floor-1
//////Configurez l'adressage pour tous les périphériques selon la /////pr faire mot de pass Sécurisez l'accès au mode d'exécution
table d'adressage utilisateur.
Sw-Floor-1# configure terminal Sw-Floor-1# configure terminal
Sw-Floor-1(config)# interface vlan 1 Sw-Floor-1(config)# line console 0
Sw-Floor-1(config-if)# ip address 192.168.1.20 Sw-Floor-1(config-line)# password cisco
255.255.255.0 Sw-Floor-1(config-line)# login
Sw-Floor-1(config-if)# no shutdown // activer linterface Sw-Floor-1(config-line)# end
Sw-Floor-1(config-if)# exit Sw-Floor-1#
Sw-Floor-1(config)# ip default-gateway 192.168.1.1 //Sécurisez l'accès au mode d'exécution privilégié.
Sw-Floor-1(config)#enable secret class
//Enregistrez vos configurations.
copy running-config startup-config /////Un exemple de sécurisation des lignes VTY sur un
commutateur est illustré.
show ip interface brief
Sw-Floor-1# configure terminal
Sw-Floor-1(config)# line vty 0 15
Sw-Floor-1(config-line)# password cisco
Sw-Floor-1(config-line)# login
Sw-Floor-1(config-line)# end
Sw-Floor-1#
Tp examen exec-timeout 60
enable exit
conf terminal

enable secret class12345 interface vlan 1


service password-encryption ip address 192.168.1.157 255.255.255.240
banner motd $Second Floor Switch$ no shutdown
no ip domain-lookup

ip default-gateway 192.168.1.158
line console 0 exit
password cisco12345 write
login

logging synchronous

exec-timeout 60

exit

line vty 0 15

password cisco12345

login

logging synchronous
Router exit

En

conf terminal line vty 0 4

hostname Middle password cisco12345

enable secret class12345 transport input ssh

service password-encryption login local

banner motd $This is Router$ logging synchronous

security passwords min-length 10 exec-timeout 60

login block-for 120 attempts 2 within 30 exit

no ip domain-lookup

ip domain-name ccnav6.com line aux 0

crypto key generate rsa password cisco12345

1024 login

logging synchronous

line console 0 exec-timeout 60

password cisco12345 exit

login

logging synchronous ip ssh version 2

exec-timeout 60 ip ssh time-out 120


username netadmin privilege 15 secret write
Cisco_CCNA5

copy running-config tftp:


interface g0/0
192.168.1.146
ip address 192.168.1.126 255.255.255.224

description First Floor LAN

ipv6 address 2001:DB8:ACAD:A::1/64

ipv6 address fe80::1 link-local

no shutdown

exit

interface g0/1

ip address 192.168.1.158 255.255.255.240

description Second Floor LAN

ipv6 address 2001:DB8:ACAD:B::1/64

ipv6 address fe80::1 link-local

no shutdown

exit

ipv6 unicast-routing

exit

You might also like