Professional Documents
Culture Documents
Script Batiment A
Script Batiment A
en
conf t
hostname Sw-BatA
enable secret allan
login block-for 120 attempts 3 within 30
ip domain-name Rosemont.com
username Allan privilege 15 secret allan
crypto key generate rsa
2048
ip ssh version 2
banner motd #Personnel Autorise Seulement#
line console 0
password allan
login local
exec-timeout 10
line vty 0 15
password allan
login local
transport input ssh
exit
service password-encryption
interface vlan 1
description Gestion à distance
ip address 10.1.0.12 255.255.255.128
no shfddfdsfdsdfs 1
description Lien vers Sw-BatA
no sh
interface f0/2
switchport mode access
description Lien vers Rt-BatAB
no sh
(configuration routeur):
enable
conf t
hostname COM-BatimentA
enable secret rosemont
login block-for 120 attempts 3 within 30
ip domain-name Rosemont.com
username Dep privilege 15 secret rosemont
crypto key generate rsa
2048
ip ssh version 2
banner motd #Personnel Autorise Seulement#
line console 0
password rosemont
login local
exec-timeout 10
line vty 0 15
password rosemont
login local
transport input ssh
interface FastEthernet 0
ip address 10.1.0.1 255.255.255.128
no sh
interface FastEthernet 1
ip address 10.2.0.33 255.255.255.224
no sh
end
write