SlideShare une entreprise Scribd logo
1  sur  2
Creationde tunnel :
inttunnel 0
ipadd 10.10.10.1 255.255.255.252
tunnel source s0/0/0
tunnel destination209.165.122.2
tunnel mode gre ip
exit
R1(config)# access-list 101 permit ip 10.0.0.0 0.255.255.255 172.16.0.0
0.0.3.255
Configure the ISAKMP Phase 1 properties on R1.
R1(config)# crypto isakmp policy 101
R1(config-isakmp)# encryption aes
R1(config-isakmp)# authentication pre-share
R1(config-isakmp)# group 5
R1(config-isakmp)# exit
Generate isakmp keys for each peer of R1.
R1(config)# crypto isakmp key cisco address 64.100.13.2
R1(config)# crypto isakmp key cisco address 64.102.46.2
Configure the ISAKMP Phase 2 properties on R1.
R1(config)# crypto ipsec transform-set R1_Set esp-aes esp-sha-
hmac
R1(config)# crypto map R1_Map 101 ipsec-isakmp
R1(config-crypto-map)# set peer 64.100.13.2
R1(config-crypto-map)# set peer 64.102.46.2
R1(config-crypto-map)# set transform-set R1_Set
R1(config-crypto-map)# match address 101
R1(config-crypto-map)# exit
Étape 2 : activez le service d'horodatage de journalisation sur les commutateurs.
Configurez S1 et S2 de telle sorte que les horodatages soient envoyés avec les journaux au
serveur Syslog.
S1(config)# service timestamps log datetime msec
réglez automatiquement l'horloge du routeur.
Réglez l'horloge sur R1 à la date et l'heure du serveur NTP.
R1(config)# ntp server 64.103.224.2

Contenu connexe

Similaire à prepa ccna4.docx

EIGRP - EIGRP sur frame relay
EIGRP - EIGRP sur frame relayEIGRP - EIGRP sur frame relay
EIGRP - EIGRP sur frame relaymdyabi
 
commande 2.pdf
commande 2.pdfcommande 2.pdf
commande 2.pdfalirayss
 
Les commandes CISCO (routeur)
Les commandes CISCO (routeur)Les commandes CISCO (routeur)
Les commandes CISCO (routeur)EL AMRI El Hassan
 
Ciscomadesimple.be vrrp virtual router redundancy protocol
Ciscomadesimple.be vrrp  virtual router redundancy protocolCiscomadesimple.be vrrp  virtual router redundancy protocol
Ciscomadesimple.be vrrp virtual router redundancy protocolbasschuck2411
 
EIGRP - Configuration
EIGRP - ConfigurationEIGRP - Configuration
EIGRP - Configurationmdyabi
 
Sthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cash
Sthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cashSthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cash
Sthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cashStHack
 
configuration vpn-ipsec-routeur
 configuration vpn-ipsec-routeur configuration vpn-ipsec-routeur
configuration vpn-ipsec-routeurJULIOR MIKALA
 
Comment paramétrer une connexion adsl sur un modem
Comment paramétrer une connexion adsl sur un modemComment paramétrer une connexion adsl sur un modem
Comment paramétrer une connexion adsl sur un modemCONNECT Tunisia
 

Similaire à prepa ccna4.docx (12)

Tuto VP IPSEC Site-to-site
Tuto VP IPSEC Site-to-siteTuto VP IPSEC Site-to-site
Tuto VP IPSEC Site-to-site
 
Tout atm
Tout atmTout atm
Tout atm
 
EIGRP - EIGRP sur frame relay
EIGRP - EIGRP sur frame relayEIGRP - EIGRP sur frame relay
EIGRP - EIGRP sur frame relay
 
commande 2.pdf
commande 2.pdfcommande 2.pdf
commande 2.pdf
 
Astuces cisco
Astuces ciscoAstuces cisco
Astuces cisco
 
Les commandes CISCO (routeur)
Les commandes CISCO (routeur)Les commandes CISCO (routeur)
Les commandes CISCO (routeur)
 
Ciscomadesimple.be vrrp virtual router redundancy protocol
Ciscomadesimple.be vrrp  virtual router redundancy protocolCiscomadesimple.be vrrp  virtual router redundancy protocol
Ciscomadesimple.be vrrp virtual router redundancy protocol
 
EIGRP - Configuration
EIGRP - ConfigurationEIGRP - Configuration
EIGRP - Configuration
 
Sthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cash
Sthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cashSthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cash
Sthack 2015 - David Berard & Vincent Fargues - Attack the cache to get some cash
 
configuration vpn-ipsec-routeur
 configuration vpn-ipsec-routeur configuration vpn-ipsec-routeur
configuration vpn-ipsec-routeur
 
Cisco
Cisco Cisco
Cisco
 
Comment paramétrer une connexion adsl sur un modem
Comment paramétrer une connexion adsl sur un modemComment paramétrer une connexion adsl sur un modem
Comment paramétrer une connexion adsl sur un modem
 

prepa ccna4.docx

  • 1. Creationde tunnel : inttunnel 0 ipadd 10.10.10.1 255.255.255.252 tunnel source s0/0/0 tunnel destination209.165.122.2 tunnel mode gre ip exit R1(config)# access-list 101 permit ip 10.0.0.0 0.255.255.255 172.16.0.0 0.0.3.255 Configure the ISAKMP Phase 1 properties on R1. R1(config)# crypto isakmp policy 101 R1(config-isakmp)# encryption aes R1(config-isakmp)# authentication pre-share R1(config-isakmp)# group 5 R1(config-isakmp)# exit Generate isakmp keys for each peer of R1. R1(config)# crypto isakmp key cisco address 64.100.13.2 R1(config)# crypto isakmp key cisco address 64.102.46.2 Configure the ISAKMP Phase 2 properties on R1. R1(config)# crypto ipsec transform-set R1_Set esp-aes esp-sha- hmac R1(config)# crypto map R1_Map 101 ipsec-isakmp R1(config-crypto-map)# set peer 64.100.13.2
  • 2. R1(config-crypto-map)# set peer 64.102.46.2 R1(config-crypto-map)# set transform-set R1_Set R1(config-crypto-map)# match address 101 R1(config-crypto-map)# exit Étape 2 : activez le service d'horodatage de journalisation sur les commutateurs. Configurez S1 et S2 de telle sorte que les horodatages soient envoyés avec les journaux au serveur Syslog. S1(config)# service timestamps log datetime msec réglez automatiquement l'horloge du routeur. Réglez l'horloge sur R1 à la date et l'heure du serveur NTP. R1(config)# ntp server 64.103.224.2