CCNA Lab Network Configuration Guide

Telechargé par Mamadou Mbengue
hostname SW-1
vlan 2
name Velos
vlan 3
name Trikes
vlan 4
name Gestion
vlan 5
name Parking
vlan 6
name Natif
exit
hostname SW-1
vlan 2
name Velos
vlan 3
name Trikes
vlan 4
name Gestion
vlan 5
name Parking
vlan 6
name Natif
exit
SUR SW-1
en
conf t
hostname S1
ip domain-name ccna-lab.com
enable secret ciscoenpass
username admin privilege 15 secret admin1pass
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
line console 0
password ciscoconpass
login local
exit
line vty 0 15
password Ciscoconpass
login local
transport input ssh
exec-timeout 5 30
exit
service password-encryption
banner motd #
========================================
ATTENTION: ACCÈS AUTORISÉ UNIQUEMENT
PERSONNEL AUTORISÉ SEULEMENT
ACCÈS NON AUTORISÉ INTERDIT
========================================
#
end
copy running-config startup-config
SUR switch2
en
conf t
hostname S1
ip domain-name ccna-lab.com
enable secret ciscoenpass
username admin privilege 15 secret admin1pass
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
line console 0
password ciscoconpass
login local
exit
line vty 0 15
password Ciscoconpass
login local
transport input ssh
exec-timeout 5 30
exit
service password-encryption
banner motd #
========================================
ATTENTION: ACCÈS AUTORISÉ UNIQUEMENT
PERSONNEL AUTORISÉ SEULEMENT
ACCÈS NON AUTORISÉ INTERDIT
========================================
#
end
copy running-config startup-config
CONFIGURATION COMPLÈTE R1 :
en
conf t
! Configuration de base
hostname R1
ip domain-name ccna-lab.com
no ip domain-lookup
! Sécurité
enable secret ciscoenpass
username admin privilege 15 secret admin1pass
! Console
line console 0
password ciscoconpass
login
exit
! SSH
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
! VTY lines
line vty 0 4
password Ciscoconpass
login local
transport input ssh
exec-timeout 5 30
exit
ipv6 unicast-routing
service password-encryption
banner motd #ACCES RESTREINT - SYSTEME TELEACAD#
end
copy running-config startup-config
! VLAN 2
interface GigabitEthernet0/0/1.2
description VLAN-2-VLAAN
encapsulation dot1Q 2
ip address 10.19.8.1 255.255.255.192
ipv6 address 2001:db8:acad:a::1/64
ipv6 enable
exit
! VLAN 3
interface GigabitEthernet0/0/1.3
description VLAN-3-Triken
encapsulation dot1Q 3
ip address 10.19.8.65 255.255.255.224
ipv6 address 2001:db8:acad:b::1/64
ipv6 enable
exit
! VLAN 4
interface GigabitEthernet0/0/1.4
description VLAN-4-Gestion
encapsulation dot1Q 4
ip address 10.19.8.97 255.255.255.248
ipv6 address 2001:db8:acad:c::1/64
ipv6 enable
exit
! VLAN -
interface GigabitEthernet0/0/1.6
description VLAN-5-Parking
encapsulation dot1Q 6
ip address 192.168.5.1 255.255.255.0
ipv6 address 2001:db8:acad:::1/64
ipv6 enable
exit
! VLAN 6
interface GigabitEthernet0/0/1.6
description VLAN-6-Nafti
encapsulation dot1Q 6
ip address 10. 255.255.255.0
ipv6 address 2001:DB8:CAFE:6::1/64
ipv6 enable
exit
! VLAN 7 (Passerelle)
interface GigabitEthernet0/0/1.7
description VLAN-7-Passerelle
encapsulation dot1Q 7
ip address 192.168.7.1 255.255.255.0
ipv6 address 2001:DB8:CAFE:7::1/64
ipv6 enable
exit
interface loopback 0
ip address 209.165.201.1 255.255.255.224
ipv6 address 2001:db8:acad:1::1/64
ipv6 enable
! La loopback est toujours active
no shutdown
int gi0/1
switchport mode trunk
switchport trunk native vlan 6
switchport trunk allowed vlan 2,3,5,6,4
exit
Pour S1
interface range FastEthernet0/1-2
channel-group 1 mode active
interface Port-channel 1
switchport mode trunk
switchport trunk native vlan 6
switchport trunk allowed vlan 2,3,5,6
Pour S2 :
c
interface range FastEthernet0/1-2
channel-group 1 mode passive
interface Port-channel 1
switchport mode trunk
switchport trunk native vlan 6
switchport trunk allowed vlan 2,3,5,6
1 / 4 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans l'interface ou les textes ? Ou savez-vous comment améliorer l'interface utilisateur de StudyLib ? N'hésitez pas à envoyer vos suggestions. C'est très important pour nous!