Cisco
De Linuxmemo.
(Différences entre les versions)
(→Sécurisation) |
(→Sécurisation) |
||
Ligne 28 : | Ligne 28 : | ||
Ottawa(config-line)# transport input ssh | Ottawa(config-line)# transport input ssh | ||
- | |||
- | |||
// configuration de l’authentification locale et VTY | // configuration de l’authentification locale et VTY | ||
Ottawa(config-line)# login local | Ottawa(config-line)# login local | ||
Ottawa(config)# ip ssh time-out 10 // configuration des délais d’attente ssh | Ottawa(config)# ip ssh time-out 10 // configuration des délais d’attente ssh | ||
Ottawa(config)# ip ssh authentication-retries 3 // configuration des délais d'essai à nouveau ssh | Ottawa(config)# ip ssh authentication-retries 3 // configuration des délais d'essai à nouveau ssh | ||
+ | |||
+ | R1(config)# no service finger // exemple du service finger | ||
==Virtualisation== | ==Virtualisation== |
Version du 25 novembre 2014 à 10:06
Dynamips
Sécurisation
// Ligne auxiliaire R1(config)# line aux 0 R1(config-line)# no password R1(config-line)# login R1(config-line)# exit // Lignes virtuelle R1(config)# line vty 0 4 R1(config-line)# exec-timeout 5 R1(config-line)# no password R1(config-line)# login R1(config-line)# exit R1(config)# service tcp-keepalives-in
R1(config)# line vty 0 4 R1(config-line)# no transport input R1(config-line)# transport input ssh R1(config-line)# exit
R1(config)# hostname Ottawa // définition du nom d’hôte) Ottawa(config)# ip domain-name cisco.com // définition du nom de domaine) Ottawa(config)# crypto key generate rsa // génération des clés asymétriques Ottawa(config)# username emabo secret cisco123 Ottawa(config)# line vty 0 4 Ottawa(config-line)# transport input ssh
// configuration de l’authentification locale et VTY Ottawa(config-line)# login local Ottawa(config)# ip ssh time-out 10 // configuration des délais d’attente ssh Ottawa(config)# ip ssh authentication-retries 3 // configuration des délais d'essai à nouveau ssh
R1(config)# no service finger // exemple du service finger
Virtualisation
This is the main component that provides the Cisco IOS emulator as well as PEMU wrapper
Dynagen
This is the interface to the dynamips software, it provides a simplified ini type configuration, frame-relay, built in switch, bridge as well as a management CLI.
gns3