Académique Documents
Professionnel Documents
Culture Documents
ena
conf t
host SW1
ena secret redes2
ip domain-name redes.com
crypto key generate rsa
1024
ip ssh version 2
username javier secret redes2
line vty 0 4
password redes2
transport input ssh
login local
vlan 110
int vlan 100
ip add 172.0.63.1 255.255.255.0
int fa 0/24
sw mo trunk
exit
int fa 0/23
sw mo trunk
exit
int fa 0/22
sw mo trunk
exit
int fa 0/21
sw mo trunk
exit
..........................................
vlan 10
vlan 20
vlan 30
vlan 100
int range fa 0/1-2
sw mo acc
sw acc vlan 10
.............................................
...........................................
#####R1#######
ena
conf t
host R1
int fa 0/0.10
encapsulation dot1Q 10
ip add 172.0.0.1 255.255.224.0
int fa 0/0.20
encapsulation dot1Q 20
ip add 172.0.32.1 255.255.240.0
int fa 0/0.30
encapsulation dot1Q 30
ip add 172.0.48.1 255.255.248.0
int fa 0/0.40
encapsulation dot1Q 40
ip add 172.0.63.1 255.255.255.0
int fa0/0
no shutdown
exit
......................................................
sw5
ena
conf t
host SW2
ena secret redes2
ip domain-name redes.com
crypto key generate rsa
1024
ip ssh version 2
username javier secret redes2
line vty 0 4
password redes2
transport input ssh
login local
vlan 100
int vlan 110
ip add 172.0.64.1 255.255.255.192
int fa 0/24
sw mo trunk
exit
int fa 0/23
sw mo trunk
exit
int fa 0/22
sw mo trunk
exit
int fa 0/21
sw mo trunk
exit
..........................................................
vlan 40
vlan 50
vlan 60
vlan 110
.........................................................
#########R2##########
ena
conf t
host R2
int fa 0/0.40
encapsulation dot1Q 40
ip add 172.0.56.1 255.255.252.0
int fa 0/0.50
encapsulation dot1Q 50
ip add 172.0.60.1 255.255.254.0
int fa 0/0.60
encapsulation dot1Q 60
ip add 172.0.62.1 255.255.255.0
int fa 0/0.70
encapsulation dot1Q 40
ip add 172.0.64.1 255.255.255.192
int fa0/0
no shutdown
exit
ip default-gateway 10.5.0.1