Vous êtes sur la page 1sur 14

Lab A-1

Hostname Bldg-1
No ip domain-lookup
Enable secret class
Banner motd #Be Careful#
Service password-encryption
Line console 0
Password cisco
Login
Logging synchronous
Line vty 0 15
Password cisco
Logging synchronous
Login
Exit
Interface s0/0/0
Do show controlllers s0/0/0
Clock rate 128000
Ip address 192.168.100.21 255.255.255.252
No shutdown
Interface s0/0/1
Do show controlllers s0/0/1
Ip address 192.168.100.30 255.255.255.252
No shutdown
Interface g0/0
Ip address 192.168.8.1 255.255.255.0
No shutdown
Interface g0/1
Ip address 192.168.9.1 255.255.255.0
No shutdown

Lab B-2
Interface s0/0/0
Do show controllers s0/0/0
Ip address 192.168.100.22 255.255.255.252
No shutdown
Interface s0/0/1
Do show controlllers s0/0/1
Clock rate 128000
Ip address 192.168.100.37 255.255.255.252
No shutdown
Interface s0/1/0
Do show controlllers s0/1/0
Ip address 203.0.113.18 255.255.255.248
No shutdown
Interface s0/1/0
Description connection to ISP
Interface s0/0/1
Description connection to Bldg-2
Interface s0/0/0
Description connection to Bldg-1

Dept1-A
Interface s0/0/0
Do show controllers s0/0/0
Clock rate 128000
Ip address 192.168.100.29 255.255.255.252
No shutdown
Interface s0/0/1
Do show controlllers s0/0/1
Ip address 192.168.100.38 255.255.255.252
No shutdown

Interface g0/1.2
Encapsulation dotlp 2
Ip address 10.10.2.1 255.255.255.0
Interface g0/1.4
Encapsulation dotlp 4
Ip address 10.10.4.1 255.255.255.0
Interface g0/1.8
Encapsulation dotlp 8
Ip address 10.10.8.1 255.255.255.0
Interface g0/1.15
Encapsulation dotlp 15
Ip address 10.10.15.1 255.255.255.0
Interface g0/1.25
Encapsulation dotlp 25
Ip address 10.10.25.1 255.255.255.0
Exit
Interface g0/1
No shutdown
Lab A-1
Configure terminal
Router eigrp 100
Do show ip route connected
Network 192.168.8.0 0.0.0.255
Network 192.168.9.0 0.0.0.255
Network 192.168.100.20 0.0.0.3
Network 192.168.100.28 0.0.0.3
No auto-summary
Passive-interface g0/0
Passive-interface g0/1
Lab B-2
Exit
Router eigrp 100
Do show ip route connected
Network 192.168.100.20 0.0.0.3
Network 192.168.100.36 0.0.0.3
No auto-summary
Passive-interface s0/1/0
Exit
Ip route 0.0.0.0 0.0.0.0 s0/1/0
Router eigrp 100
Redistribute static
Dept1-A
Exit
Router eigrp 100
Do show ip route connected
Network 10.10.2.0 0.0.0.255
Network 10.10.4.0 0.0.0.255
Network 10.10.8.0 0.0.0.255
Network 10.10.15.0 0.0.0.255
Network 192.168.100.28 0.0.0.3
Network 192.168.100.36 0.0.0.3
No auto-summary
Passive-interface g0/1.2
Passive-interface g0/1.4
Passive-interface g0/1.8
Passive-interface g0/1.15
Lab A-1
Exit
Int s0/0/0
Bandwidth 128
Lab B-2
Exit
Int s0/0/0
Bandwidth 128
Dept1-A
Exit
Int s0/0/0
Ip summary-address eigrp 100 10.10.0.0 255.255.240.0
Ip summary-address eigrp 100 10.10.0.0 255.255.240.0
Int s0/0/1
Ip summary-address eigrp 100 10.10.0.0 255.255.240.0
Lab B-2
Conf terminal
Ip Access-list standard telnetBlock test host ipconfig
Permit host 198.51.100.5
Exit
Line vty 0 15
Access-class telnetBlock in

Lab B-2
Exit
Access-list 101 permit icmp host 198.51.100.5 any echo
Access-list 101 deny icmp any any echo
Access-list 101 permit ip any any
Int s0/1/0
Ip Access-group 101 in
Dept1-A
Conf terminal
Access-list 1 permit 10.10.15.0 0.0.0.255
Exit
Conf terminal
Interface g0/1.25
Ip Access-group 1 out

Dept2-A
Enable
Sh run
Conf terminal
vlan 2
name dept1
vlan 4
name dept2
vlan 8
name dept3
vlan 15
name IT
vlan 25
name manage
vlan 99
name safe
Dept3-A
Enable
Conf terminal
vlan 2
name dept1
vlan 4
name dept2
vlan 8
name dept3
vlan 15
name IT
vlan 25
name manage
vlan 99
name safe

Dept1-B
Enable
Conf terminal
vlan 2
name dept1
vlan 4
name dept2
vlan 8
name dept3
vlan 15
name IT
vlan 25
name manage
vlan 99
name safe
Dept3-A
Enable
Conf terminal
Int fa0/5
Switchport mode Access
Switchport Access vlan 2
Int fa0/10
Switchport mode Access
Switchport Access vlan 4
Int fa0/15
Switchport mode Access
Switchport Access vlan 8
Int fa0/24
Switchport mode Access
Switchport Access vlan 15

Dept1-B
End
Sh run
Conf terminal
Int fa0/7
Switchport mode Access
Switchport Access vlan 2
No shut
Int fa0/10
Switchport mode Access
Switchport Access vlan 4
Int fa0/15
Switchport mode Access
Switchport Access vlan 8
Int fa0/24
Switchport mode Access
Switchport Access vlan 15
Dept3-A
Conf terminal
Interface vlan 1
Ip address 10.10.25.254 255.255.255.0
No shutdown
Exit
Ip default-gateway 10.10.25.1
Dept2-A
Exit
Conf terminal
Int vlan 1
Ip address 10.10.25.253 255.255.255.0
No shutdown
Exit
Ip default-gateway 10.10.25.1
Dept1-B
Exit
Conf terminal
Int vlan 1
Ip address 10.10.25.252 255.255.255.0
No shutdown
Exit
Ip default-gateway 10.10.25.1
Dept3-A
Confi terminal
Int range fa0/1-2
Switchport mode trunk
Channel-group 1 mode active
Int port-channel 1
Switchport mode trunk
End
Sh run
Conf terminal
Int range fa0/3-4
Switchport mode trunk
Channel-group 2 mode active
Int port-channel 2
Switchport mode trunk
Dept1-B
Conf terminal
Int range fa0/1-2
Switchport mode trunk
Channel-group 1 mode active
No shutdown
Int port-channel 1
Switchport mode trunk
Dept2-A
Conf terminal
Int range fa0/3-4
Switchport mode trunk
Channel-group 2 mode active
No shutdown
Int port-channel 2
Switchport mode trunk
Dept2-A
(config-if)# Int range fa0/5-6
Switchport mode trunk
Channel-group 3 mode active
Int port-channel 3
Switchport mode trunk
Dept1-B
(config-if)# Int range fa0/5-6
Switchport mode trunk
Channel-group 3 mode passive
Int port-channel 3
Switchport mode trunk
Int range fa0/5-6
No shutdown
Dept1-B
(config-if-range)# int range fa0/10,fa0/15, f0/24
No shutdown
Dept2-A
(config-if)# int g0/1
Switchport mode trunk
Dept3-A
(config)# spannig-tree mode rapid-pvst
spannig-tree vlan 2,4 root primary
spannig-tree vlan 8,15 root secondary
Dept1-B
(config)# spannig-tree mode rapid-pvst
spannig-tree vlan 8,15 root primary
spannig-tree vlan 2,4 root secondary
end
sh run
conf terminal
int range fa0/7,fa0/10,fa0/15, f0/24
spannig-tree portfast
spannig-tree bpduguard enable
Dept2-A
(config)# spannig-tree mode rapid-pvst ?????????????????????????????
Dept3-A
Exit
Sh run
Conf terminal
int range fa0/6-9,fa0/11-14,fa0/16-23,g0/1-2
shutdown
Switchport mode Access
Switchport Access vlan 99
int range fa0/5,fa0/10,fa0/15,fa0/24
Switchport port-security
Switchport port-security mximum 2
Switchport port-security mc-address sticky
Switchport port-security violation restrict

Dept2-A
Ip domain-name ccnaPTSA.com
Crypto key generate rsa
Hostname FL-B
Crypto key generate rsa
: 1024
Ip ssh versin 2
Line vty 0 15
Transport input ssh
Exit
Username netadmin secret SSHsecret9
Line vty 0 15
Login local
Dept1-A
Confi terminal
Ip dhcp excluded-address 10.10.2.1 10.10.2.5
Ip dhcp excluded-address 10.10.4.1 10.10.4.5
Ip dhcp excluded-address 10.10.8.1 10.10.8.5
Ip dhcp pool vlan2pool
Network 10.10.2.0 255.255.255.0
Default-router 10.10.2.1
Dns-server 192.168.200.225
Ip dhcp pool vlan4pool
Network 10.10.4.0 255.255.255.0
Default-router 10.10.4.1
Dns-server 192.168.200.225
Ip dhcp pool vlan8pool
Network 10.10.8.0 255.255.255.0
Default-router 10.10.8.1
Dns-server 192.168.200.225
Dept1-A
DHCP
Dept2-A
DHCP
Dept3-A
DHCP
Dept1-B
DHCP
Dept2-B
DHCP
Dept3-B
DHCP
Dept1-A
End
Sh run
IT-A
10.10.15.2
255.255.255.0
10.10.15.1
192.168.200.225
IT-B
10.10.15.3
255.255.255.0
10.10.15.1
192.168.200.225

Dept3-A
Conf terminal
Int vlan 1
No ip address
Shutdown
Int vlan 25
Ip address 10.10.25.254 255.255.255.0
No shutdown

Dept2-A
Conf terminal
Int vlan 1
No ip address
Shutdown
Int vlan 25
Ip address 10.10.25.253 255.255.255.0
No shutdown
Dept1-B
Conf terminal
Int vlan 1
No ip address
Shutdown
Int vlan 25
Ip address 10.10.25.252 255.255.255.0
No shutdown
Lab A-1
192.168.8.2
255.255.255.0
192.168.8.1
192.168.200.225
Lab B-2
192.168.9.2
255.255.255.0
192.168.9.1
192.168.200.225

Vous aimerez peut-être aussi