0% found this document useful (0 votes)
8 views14 pages

Network Configuration Guide for Labs

This document contains configuration for multiple routers and switches. It configures basic settings like hostnames, passwords, and interfaces on the routers. It also configures VLANs, trunking, STP, security, and DHCP on the switches to segment traffic for different departments. SSH is enabled on one router for secure remote access. Routing protocols like EIGRP and static routes are used to connect the networks between the routers.

Uploaded by

william
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views14 pages

Network Configuration Guide for Labs

This document contains configuration for multiple routers and switches. It configures basic settings like hostnames, passwords, and interfaces on the routers. It also configures VLANs, trunking, STP, security, and DHCP on the switches to segment traffic for different departments. SSH is enabled on one router for secure remote access. Routing protocols like EIGRP and static routes are used to connect the networks between the routers.

Uploaded by

william
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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 [Link] [Link]
No shutdown
Interface s0/0/1
Do show controlllers s0/0/1
Ip address [Link] [Link]
No shutdown
Interface g0/0
Ip address [Link] [Link]
No shutdown
Interface g0/1
Ip address [Link] [Link]
No shutdown

Lab B-2
Interface s0/0/0
Do show controllers s0/0/0
Ip address [Link] [Link]
No shutdown
Interface s0/0/1
Do show controlllers s0/0/1
Clock rate 128000
Ip address [Link] [Link]
No shutdown
Interface s0/1/0
Do show controlllers s0/1/0
Ip address [Link] [Link]
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 [Link] [Link]
No shutdown
Interface s0/0/1
Do show controlllers s0/0/1
Ip address [Link] [Link]
No shutdown

Interface g0/1.2
Encapsulation dotlp 2
Ip address [Link] [Link]
Interface g0/1.4
Encapsulation dotlp 4
Ip address [Link] [Link]
Interface g0/1.8
Encapsulation dotlp 8
Ip address [Link] [Link]
Interface g0/1.15
Encapsulation dotlp 15
Ip address [Link] [Link]
Interface g0/1.25
Encapsulation dotlp 25
Ip address [Link] [Link]
Exit
Interface g0/1
No shutdown
Lab A-1
Configure terminal
Router eigrp 100
Do show ip route connected
Network [Link] [Link]
Network [Link] [Link]
Network [Link] [Link]
Network [Link] [Link]
No auto-summary
Passive-interface g0/0
Passive-interface g0/1
Lab B-2
Exit
Router eigrp 100
Do show ip route connected
Network [Link] [Link]
Network [Link] [Link]
No auto-summary
Passive-interface s0/1/0
Exit
Ip route [Link] [Link] s0/1/0
Router eigrp 100
Redistribute static
Dept1-A
Exit
Router eigrp 100
Do show ip route connected
Network [Link] [Link]
Network [Link] [Link]
Network [Link] [Link]
Network [Link] [Link]
Network [Link] [Link]
Network [Link] [Link]
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 [Link] [Link]
Ip summary-address eigrp 100 [Link] [Link]
Int s0/0/1
Ip summary-address eigrp 100 [Link] [Link]
Lab B-2
Conf terminal
Ip Access-list standard telnetBlock test host ipconfig
Permit host [Link]
Exit
Line vty 0 15
Access-class telnetBlock in

Lab B-2
Exit
Access-list 101 permit icmp host [Link] 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 [Link] [Link]
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 [Link] [Link]
No shutdown
Exit
Ip default-gateway [Link]
Dept2-A
Exit
Conf terminal
Int vlan 1
Ip address [Link] [Link]
No shutdown
Exit
Ip default-gateway [Link]
Dept1-B
Exit
Conf terminal
Int vlan 1
Ip address [Link] [Link]
No shutdown
Exit
Ip default-gateway [Link]
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 [Link]
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 [Link] [Link]
Ip dhcp excluded-address [Link] [Link]
Ip dhcp excluded-address [Link] [Link]
Ip dhcp pool vlan2pool
Network [Link] [Link]
Default-router [Link]
Dns-server [Link]
Ip dhcp pool vlan4pool
Network [Link] [Link]
Default-router [Link]
Dns-server [Link]
Ip dhcp pool vlan8pool
Network [Link] [Link]
Default-router [Link]
Dns-server [Link]
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
[Link]
[Link]
[Link]
[Link]
IT-B
[Link]
[Link]
[Link]
[Link]

Dept3-A
Conf terminal
Int vlan 1
No ip address
Shutdown
Int vlan 25
Ip address [Link] [Link]
No shutdown

Dept2-A
Conf terminal
Int vlan 1
No ip address
Shutdown
Int vlan 25
Ip address [Link] [Link]
No shutdown
Dept1-B
Conf terminal
Int vlan 1
No ip address
Shutdown
Int vlan 25
Ip address [Link] [Link]
No shutdown
Lab A-1
[Link]
[Link]
[Link]
[Link]
Lab B-2
[Link]
[Link]
[Link]
[Link]

You might also like