Professional Documents
Culture Documents
IE195 - Labs v7
IE195 - Labs v7
IE195
Advanced Cisco
Router Configuration
Labs
IE195 Page 1
1/7/2020
Ó 2020 - 2021 PC Age Career Institute, Inc. All Rights Reserved.
Training for a High Paying IT Career from a World-class IT Institute
Table of Contents
Labs
Chapter 12
Lab1: Access Control List Basic (A)
Lab2: Access Control List Basic (B
Lab3: Access Control List (Medium)
Chapter 13
Lab1: Configuring Static NAT
Lab2: Configuring Dynamic NAT
Lab3: Configuring PAT
Chapter 14
Lab1: Configuring IPv6 Addressing
Chapter 15
Lab1: Spanning Tree Protocol (Basic)
Lab2: Spanning Tree Protocol (Medium)
Lab3: STP/VLAN/VTP (Advanced)
Lab4: EtherChannel
Lab5: EtherChannel (Advanced)
Chapter 16
Lab1: Simple Network Management Protocol (SMTP)
Lab2: Configuring Hot StandbyRouter Protocol (HSRP)
Chapter 17
Lab1: Configuring EIGRP (Basic)
Lab2: Configuring EIGRP (Advanced)
Lab3: Configuring EIGRP for IPv6
Chapters 18 and 19
Lab1: Open Shortest Path First (OSPF) Configuration Lab (Basic).
Lab2: Open Shortest Path First (OSPFv3) Configuration Lab (Basic).
Chapter 20
Lab1: PPP encapsulation with CHAP and PAP Authentication
Lab2: Enabling HDLC WAN encapsulation
Lab3: Creating a GRE Tunnel
Lab4: Using External Border Gateway Protocol (EBGP)
Lab5: Configuring FrameRelay (Basic)
Lab6: Configuring Point-to-Point FrameRelay using OSPF (Adv)
Lab7: Conf Point-to-Multipoint FrameRealy using EIGRP (Adv)
Chapter 12
Drag two Cisco 1941 routers, two 2960 switches, and a PC onto the desktop. Connect the PC0 Ethernet
and both routers G0/0 interfaces to the switch. Turn off both routers and drag a HWIC 2T serial
connection to the following port listed. Connect the Router's s0/0/0 serial connectors.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R1
R1(config)#int gi0/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R1(config-if)#int s0/0/0
R1(config-if)#ip address 20.0.0.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#router rip
R1(config-router)#network 10.0.0.0
R1(config-router)#network 20.0.0.0
R1(config-router)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
Step 3: R2 configuration
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R2
R2(config)#int g0/0
R2(config-if)#ip address 30.0.0.1 255.0.0.0
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R2(config-if)#int s0/0/0
R2(config-if)#ip address 20.0.0.2 255.0.0.0
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#router rip
R2(config-router)#network 30.0.0.0
R2(config-router)#network 20.0.0.0
R2(config-router)#exit
R2(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
R2#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
PC0 configuration
Set PC0’s IP address is 10.0.0.100 and its default gateway is 10.0.0.1. PC1’s IP address is 30.0.0.100 and
its default gateway is 30.0.0.1 Make sure you can ping 30.0.0.1 from PC0 before continuing.
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#access-list 10 deny host 10.0.0.100
R1(config)#access-list 10 permit any
R1(config)#int s0/0/0
R1(config-if)#ip access-group 10 out
R1(config-if)#
Go back to PC0 and try to ping 30.0.0.100. The access list should stop any communication from
10.0.0.100 getting out of the network.
Use two 1841 Routers with WIC-1T serial connectors, 1 2960 Switch and three PCs.
Part 2: Configuring R1
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R1(config-if)#int s0/0/0
R1(config-if)#ip address 192.168.5.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shut
Part 3: Configuring R2
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R2
R2(config)#int fa0/0
R2(config-if)#ip address 172.17.0.1 255.255.0.0
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R2(config-if)#int s0/0/0
R2(config-if)#ip address 192.168.5.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#exit
R2(config)#router eigrp 1
R2(config-router)#network 192.168.5.0 255.255.255.252
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.5.1 (Serial0/0/0) is up: new
adjacency
Using the table above, assign the correct IP addresses, subnet mask, and default gateway
addresses to the PCs.
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#access-list 110 remark Allow Host 1 web access to server
R1(config)#access-list 110 permit tcp host 192.168.1.5 host 172.17.1.1
R1(config)#access-list 110 permit tcp host 192.168.1.5 host 172.17.1.1 eq www
R1(config)#access-list 110 remark Allow Host 1 ftp access to server
R1(config)#access-list 110 permit tcp host 192.168.1.5 host 172.17.1.1 eq ftp
R1(config)#access-list 110 remark Allow Host 2 Telnet access to server
R1(config)#access-list 110 permit tcp host 192.168.1.6 host 172.17.1.1 eq telnet
R1(config)#access-list 110 remark Deny all over traffic
R1(config)#access-list 110 deny ip any any
R1(config)#int fa0/0
R1(config-if)#ip access-group 110 in
R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#sh access-lists
Extended IP access list 110
10 permit tcp host 192.168.1.5 host 172.17.1.1
20 permit tcp host 192.168.1.5 host 172.17.1.1 eq www
30 permit tcp host 192.168.1.5 host 172.17.1.1 eq ftp
40 permit tcp host 192.168.1.6 host 172.17.1.1 eq telnet
50 deny ip any any
Use three 1941 routers and six 2960 switches. Connect the router's G0/0 interface to the swtich
undereath and the G0/1 interface to the switch above. Add the HWIC-2T connectors to each router. Add
seven PCs and one Server. Connect the devices as seen above. Change the router names to Edmonton,
Red Deer, and Calgary. Connect the router's serial connectors to each other as seen above.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname Edmonton
Edmonton(config)#int g0/0
Edmonton(config-if)#ip address 172.16.10.1 255.255.255.0
Edmonton(config-if)#no shut
Edmonton(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
Edmonton(config-if)#int g0/1
Edmonton(config-if)#ip address 172.16.20.1 255.255.255.0
Edmonton(config-if)#no shut
Edmonton(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Edmonton(config-if)#int s0/0/0
Edmonton(config-if)#ip address 172.16.30.1 255.255.255.0
Edmonton(config-if)#no shut
Edmonton#
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname RedDeer
RedDeer(config)#int g0/0
RedDeer(config-if)#ip address 172.16.40.1 255.255.255.0
RedDeer(config-if)#no shut
RedDeer(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
RedDeer(config-if)#int g0/1
RedDeer(config-if)#ip address 172.16.50.1 255.255.255.0
RedDeer(config-if)#no shut
RedDeer(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
RedDeer(config-if)#int s0/0/0
RedDeer(config-if)#ip address 172.16.30.2 255.255.255.0
RedDeer(config-if)#clock rate 64000
RedDeer(config-if)#no shut
RedDeer(config-if)#int s0/1/0
RedDeer(config-if)#ip address 172.16.60.1 255.255.255.0
RedDeer(config-if)#clock rate 64000
RedDeer(config-if)#no shut
Router>en
Router#config t
Calgary(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
Calgary(config-if)#int g0/1
Calgary(config-if)#ip address 172.16.80.1 255.255.255.0
Calgary(config-if)#no shut
Calgary(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Calgary(config-if)#int s0/0/0
Calgary(config-if)#ip address 172.16.60.2 255.255.255.0
Calgary(config-if)#no shut
Calgary(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Calgary(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to
Calgary(config)#router eigrp 20
Calgary(config-router)#network 172.16.80.0 0.0.0.255
Calgary(config-router)#network 172.16.60.0 0.0.0.255
Calgary(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 20: Neighbor 172.16.60.1 (Serial0/0/0) is up: new
adjacency
Blocking the 172.16.10.0 subnet from communicating out of g0/0 on the RedDeer Router.
RedDeer>en
RedDeer#config t
Enter configuration commands, one per line. End with CNTL/Z.
RedDeer(config)#access-list 10 deny 172.16.10.0 0.0.0.255
RedDeer(config)#access-list 10 permit any
RedDeer(config)#int g0/0
RedDeer(config-if)#ip access-group 10 out
RedDeer(config-if)#
Blocking one host from reaching another host going out of Edmonton's g0/0 interface
Edmonton>en
Edmonton#config t
Enter configuration commands, one per line. End with CNTL/Z.
Edmonton(config)#access-list 115 deny ip host 172.16.10.5 host 172.16.50.7
Edmonton(config)#access-list 115 permit ip any any
Edmonton(config)#int g0/0
Edmonton(config-if)#ip access-group 115 in
Edmonton(config-if)#
Example 3: RedDeer Router
Allow one host the ability to telnet into the RedDeer Router
RedDeer>en
RedDeer#config t
Enter configuration commands, one per line. End with CNTL/Z.
RedDeer(config)#access-list 10 deny 172.16.10.0 0.0.0.255
RedDeer(config)#access-list 10 permit any
RedDeer(config)#int g0/0
RedDeer(config-if)#ip access-group 10 out
RedDeer(config-if)#access-list 20 permit host 172.16.10.5
RedDeer(config)#line vty 0 4
RedDeer(config-line)#access-class 20 in
Block a range of IP addresses from connecting the web service running on a host. All other
traffic is unaffected.
Chapter 13
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#no ip domain-lookup
ISP(config)#enable secret cisco
ISP(config)#line console 0
ISP(config-line)#login
% Login disabled on line 0, until 'password' is set
ISP(config-line)#password class
ISP(config-line)#logging synchronous
ISP(config-line)#exit
ISP(config)#int s0/0/1
ISP(config-if)#ip address 198.133.219.2 255.255.255.252
ISP(config-if)#clock rate 64000
ISP(config-if)#no shut
ISP(config-if)#int loopback 0
ISP(config-if)#ip address 192.31.7.1 255.255.255.0
ISP(config-if)#exit
ISP(config)#exit
ISP#
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname CORP
CORP(config)#no ip domain-lookup
CORP(config)#enable secret cisco
CORP(config)#line console 0
CORP(config-line)#login
% Login disabled on line 0, until 'password' is set
CORP(config-line)#password class
CORP(config-line)#logging synchronous
CORP(config-line)#exit
CORP(config)#int gi0/0
CORP(config-if)#ip address 172.16.10.1 255.255.255.0
CORP(config-if)#no shut
CORP(config-if)#int s0/0/0
CORP(config-if)#ip address 198.133.219.1 255.255.255.252
CORP(config-if)#no shut
CORP(config-if)#
You can reuse the topology above by erasing the ISP and CORP router configuration.
Router>en
ISP#erase start
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
ISP#reload
Proceed with reload? [confirm] (Router will Reboot)
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#no ip domain-lookup
ISP(config)#enable secret cisco
ISP(config)#line console 0
ISP(config-line)#login
% Login disabled on line 0, until 'password' is set
ISP(config-line)#password class
ISP(config-line)#logging synchronous
ISP(config-line)#exit
ISP(config)#int s0/0/1
ISP(config-if)#ip address 198.133.219.2 255.255.255.128
ISP(config-if)#clock rate 64000
ISP(config-if)#no shut
ISP(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
Router>en
ISP#erase start
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
ISP#reload
Proceed with reload? [confirm] (Router will Reboot)
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname CORP
CORP(config)#no ip domain-name
CORP(config)#enable secret cisco
CORP(config)#line console 0
CORP(config-line)#login
% Login disabled on line 0, until 'password' is set
CORP(config-line)#password class
CORP(config-line)#logging synchronous
CORP(config-line)#exit
CORP(config)#int gi0/0
CORP(config-if)#ip address 172.16.10.1 255.255.255.0
CORP(config-if)#no shut
CORP(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
CORP(config-if)#int s0/0/0
CORP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
CORP(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
You can reuse the topology above by erasing the ISP and CORP router configuration.
Router>en
ISP#erase start
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
ISP#reload
Proceed with reload? [confirm] (Router will Reboot)
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#no ip domain-lookup
ISP(config)#enable secret cisco
ISP(config)#line console 0
ISP(config-line)#login
% Login disabled on line 0, until 'password' is set
ISP(config-line)#password class
ISP(config-line)#logging synchronous
ISP(config-line)#exit
ISP(config-line)#int s0/0/1
ISP(config-if)#ip address 198.133.219.2 255.255.255.252
ISP(config-if)#clock rate 64000
ISP(config-if)#no shut
ISP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
ISP(config-if)#
ISP(config-if)#int loopback 0
ISP(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
Router>en
ISP#erase start
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
ISP#reload
Proceed with reload? [confirm] (Router will Reboot)
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname CORP
CORP(config)#no ip domain-lookup
CORP(config)#enable secret cisco
CORP(config)#line console 0
CORP(config-line)#login
% Login disabled on line 0, until 'password' is set
CORP(config-line)#password cisco
CORP(config-line)#logging synchronous
CORP(config-line)#exit
CORP(config)#int gi0/0
CORP(config-if)#ip address 172.16.10.1 255.255.255.0
CORP(config-if)#no shut
CORP(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
CORP(config-if)#int s0/0/0
CORP(config-if)#ip address 198.133.219.1 255.255.255.252
CORP(config-if)#no shut
CORP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
CORP(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
CORP(config-if)#exit
CORP(config)#exit
CORP#
%SYS-5-CONFIG_I: Configured from console by console
Chapter 14
Objective: This lab will teach how to assign static IPv6 address to router interfaces.
Drop two 1941 routers onto the workspace as see above. Drop a 2960 switch between the two routers.
Connect the first router’s Gi0/0 to F0/1 on the switch and the second router’s Gi0/1 to Fa0/2 on the
switch using straight cables.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#int gi0/0
R1(config-if)#ipv6 address 2001:ABAD:BEEF::1/64
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
R1#sh ipv6 int brief
GigabitEthernet0/0 [up/up]
FE80::206:2AFF:FE7E:D001
2001:ABAD:BEEF::1
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#no ip domain-lookup
R2(config-if)#int gi0/1
R2(config-if)#ipv6 address 2001:ABAD:BEEF::2/64
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
R2(config-if)#exit
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#ping 2001:ABAD:BEEF::1
R2#ping 2001:ABAD:BEEF::2
R2#
Chapter 15
Objective: The Spanning Tree Protocol (STP) is a standard used when switches are daisy-chained
together in a loop or if redundant links exist. Since STP configures itself automatically, this lab will teach
students how to alter port states, create trunk links (to daisy chain switches together), and view the STP
configuration on the switches.
Use three 2960 switches connected as seen below. Use four PCs and connect them as seen
below.
S1
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1 - 24
Switch(config-if-range)#shutdown
Switch(config-if-range)#int range gi0/1 - 2
Switch(config-if-range)#shutdown
S2
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1 - 24
Switch(config-if-range)#shutdown
Switch(config-if-range)#int range gi0/1 - 2
Switch(config-if-range)#shutdown
S3
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1 - 24
Switch(config-if-range)#shutdown
Switch(config-if-range)#int range gi0/1 - 2
Switch(config-if-range)#shutdown
S1
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#enable secret class
S1(config)#no ip domain-lookup
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#line vty 0 15
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
S2
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S2
S2(config)#enable secret class
S2(config)#no ip domain-lookup
S2(config)#line console 0
S2(config-line)#password cisco
S2(config-line)#login
S2(config-line)#line vty 0 15
S2(config-line)#password cisco
S2(config-line)#login
S2(config-line)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console
S3
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S3
S3(config)#enable secret class
S3(config)#no ip domain-lookup
S3(config)#line console 0
S3(config-line)#password cisco
S3(config-line)#login
S3(config-line)#line vty 0 15
S3(config-line)#password cisco
S3(config-line)#login
S3(config-line)#end
S3#
%SYS-5-CONFIG_I: Configured from console by console
S1
S1>en
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int fa0/3
S1(config-if)#switchport mode access
S1(config-if)#no shut
S2
S2>en
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#int range fa0/6, fa0/11, fa0/18
S2(config-if-range)#switchport mode access
S2(config-if-range)#no shutdown
S2(config-if-range)#
S1
S2
S3
S3>en
S3#config t
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#int range fa0/1, fa0/2
S3(config-if-range)#switchport mode trunk
S3(config-if-range)#no shutdown
(IMPORTANT!!! The output may vary depending on which switch is elected as the root bridge).
S1
S1#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.6371.87B2
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
S2
S2#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.6371.87B2
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
S3
S3#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.6371.87B2
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
S1
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int fa0/1
S1(config-if)#shutdown
S2
S2#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.6371.87B2
Cost 38
Port 2(FastEthernet0/2)
Objective: This lab is similar to the last lab, but introduces the creation of VLANs and the
joining of VTP domain membership to the switches.
Use three 2960 switches connected as seen below. Use three PCs and connect them as seen
below.
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname CORE
CORE(config)#no ip domain-lookup
CORE(config)#vtp mode server
Device mode already VTP SERVER.
CORE(config)#vtp domain STPPCAGE
Changing VTP domain name from NULL to STPPCAGE
CORE(config)#vlan 10
CORE(config-vlan)#name Accounting
CORE(config-vlan)#exit
CORE(config)#vlan 20
CORE(config-vlan)#name Marketing
CORE(config-vlan)#exit
CORE(config)#spanning-tree vlan 1 root primary
CORE(config)#exit
CORE#
%SYS-5-CONFIG_I: Configured from console by console
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname DISTRIBUTION1
DISTRIBUTION1(config)#no ip domain-lookup
DISTRIBUTION1(config)#vtp domain STPPCAGE
Changing VTP domain name from NULL to STPPCAGE
DISTRIBUTION1(config)#vtp mode client
Setting device to VTP CLIENT mode.
DISTRIBUTION1(config)#spanning-tree vlan 10 root primary
DISTRIBUTION1(config)#exit
DISTRIBUTION1#
%SYS-5-CONFIG_I: Configured from console by console
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname DISTRIBUTION2
DISTRIBUTION2(config)#no ip domain-lookup
DISTRIBUTION2(config)#vtp domain STPPCAGE
Changing VTP domain name from NULL to STPPCAGE
DISTRIBUTION2(config)#vtp mode client
Setting device to VTP CLIENT mode.
DISTRIBUTION2(config)#spanning-tree vlan 20 root primary
DISTRIBUTION2(config)#exit
DISTRIBUTION2#
%SYS-5-CONFIG_I: Configured from console by console
Lab3: STP/VLAN/VTP/(Advanced)
Objective: This lab will also be similar to the earlier labs, but has more redundant links thus
more than one instance of STP running in the lab. The spanning-tree priority command will be
used in this lab to force the election of the root bridge.
Use three 2960 switches connected as seen below. Use three PCs and connect them as seen
below.
S1
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1 - 24
Switch(config-if-range)#shutdown
S2
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1 - 24
Switch(config-if-range)#shutdown
Switch(config-if-range)#int range gi0/1 - 2
Switch(config-if-range)#shutdown
S3
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1 - 24
Switch(config-if-range)#shutdown
Switch(config-if-range)#int range gi0/1 - 2
Switch(config-if-range)#shutdown
S1
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#enable secret class
S1(config)#no ip domain-lookup
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#line vty 0 15
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
S2
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S2
S2(config)#enable secret class
S2(config)#no ip domain-lookup
S2(config)#line console 0
S2(config-line)#password cisco
S2(config-line)#login
S2(config-line)#line vty 0 15
S2(config-line)#password cisco
S2(config-line)#login
S2(config-line)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console
S3
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S3
S3(config)#enable secret class
S3(config)#no ip domain-lookup
S3(config)#line console 0
S3(config-line)#password cisco
S3(config-line)#login
S3(config-line)#line vty 0 15
S3(config-line)#password cisco
S3(config-line)#login
S3(config-line)#end
S3#
%SYS-5-CONFIG_I: Configured from console by console
S1
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vtp mode server
Device mode already VTP SERVER.
S1(config)#vtp domain pcage
Changing VTP domain name from NULL to pcage
S1(config)#vtp password cisco
Setting device VLAN database password to cisco
S2
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#vtp mode client
Setting device to VTP CLIENT mode.
S2(config)#vtp domain pcage
Changing VTP domain name from NULL to pcage
S2(config)#vtp password cisco
Setting device VLAN database password to cisco
S3
S3#config t
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#vtp mode client
Setting device to VTP CLIENT mode.
S3(config)#vtp domain pcage
Changing VTP domain name from NULL to pcage
S3(config)#vtp password cisco
Setting device VLAN database password to cisco
S1
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int range fa0/1 - 4
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#switchport trunk native vlan 99
S1(config-if-range)#no shutdown
S1(config-if-range)#end
S2
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#int range fa0/1 - 4
S2(config-if-range)#switchport mode trunk
S2(config-if-range)#switchport trunk native vlan 99
S2(config-if-range)#no shutdown
S2(config-if-range)#end
S3
S3#config t
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#int range fa0/1 - 4
S3(config-if-range)#switchport mode trunk
S3(config-if-range)#switchport trunk native vlan 99
S3(config-if-range)#no shutdown
S3(config-if-range)#end
S1
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 99
S1(config-vlan)#name management
S1(config-vlan)#exit
S1(config)#vlan 10
S1(config-vlan)#name faculty-staff
S1(config-vlan)#exit
S1(config)#vlan 20
S1(config-vlan)#name students
S1(config-vlan)#exit
S1(config)#vlan 30
S1(config-vlan)#name guest
S1(config-vlan)#exit
S2
S3
30 guest active
99 management active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
S1
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int vlan 99
S1(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
S1(config-if)#ip address 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown
S2
S2#config t
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#int vlan 99
S2(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
S2(config-if)#ip address 172.17.99.12 255.255.255.0
S2(config-if)#no shut
S3
S3#config t
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#int vlan 99
S3(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
S3(config-if)#ip address 172.17.99.13 255.255.255.0
S3(config-if)#no shut
802.1D STP Verification (Use the switch that has no blocked ports on it, this may vary)
S2#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0030.A32E.30CA
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 32778
Address 0030.A32E.30CA
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0020
Spanning tree enabled protocol ieee
Root ID Priority 32788
Address 0030.A32E.30CA
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0030
Spanning tree enabled protocol ieee
Root ID Priority 32798
Address 0030.A32E.30CA
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0099
Spanning tree enabled protocol ieee
Root ID Priority 32867
Address 0030.A32E.30CA
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
S3
S3#config t
Enter configuration commands, one per line. End with CNTL/Z.
S3(config)#spanning-tree vlan 99 ?
priority Set the bridge priority for the spanning tree
root Configure switch as root
<cr>
S3(config)#spanning-tree vlan 99 priority ?
<0-61440> bridge priority in increments of 4096
S1
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#spanning-tree vlan 1 priority 4096
S1(config)#spanning-tree vlan 10 priority 4096
S1(config)#spanning-tree vlan 20 priority 4096
S1(config)#spanning-tree vlan 30 priority 4096
S1(config)#
S1
S2
S3
VLAN0030 4 0 0 0 4
VLAN0099 0 0 0 4 4
Lab4: EtherChannel
Objective: EtherChannel will teach how to combine the bandwidth of multiple links connecting
the switches together (Channels) to gain faster throughput.
Use three 2960 switches connected as seen below. Use four PCs and connect them as seen
below.
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Core
Core(config)#no ip domain-lookup
Core(config)#vtp mode server
Device mode already VTP SERVER.
Core(config)#vtp domain testdomain
Domain name already set to testdomain.
Core(config)#vlan 10
Core(config-vlan)#name Accounting
Core(config-vlan)#exit
Core(config)#vlan 20
Core(config-vlan)#name Marketing
Core(config-vlan)#exit
Core(config)#int range fa0/1 - 4
Core(config-if-range)#switchport mode trunk
Core(config-if-range)#exit
Core(config)#int range fa0/1 - 2
Core(config-if-range)#channel-group 1 mode desirable
Core(config-if-range)#
Creating a port-channel interface Port-channel 1
Core(config-if-range)#exit
Core(config)#int range fa0/3 - 4
Core(config-if-range)#channel-group 2 mode desirable
Core(config-if-range)#
Creating a port-channel interface Port-channel 2
Core(config-if-range)#exit
Core(config)#exit
Core#
%SYS-5-CONFIG_I: Configured from console by console
Core#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname ALSwitch1
ALSwitch1(config)#no ip domain-lookup
ALSwitch1(config)#vtp mode client
Setting device to VTP CLIENT mode.
ALSwitch1(config)#vtp domain testdomain
Domain name already set to testdomain.
ALSwitch1(config)#int range fa0/5 - 8
ALSwitch1(config-if-range)#switchport mode access
ALSwitch1(config-if-range)#switchport access vlan 10
ALSwitch1(config-if-range)#exit
ALSwitch1(config)#int range fa0/9 - 12
ALSwitch1(config-if-range)#switchport mode access
ALSwitch1(config-if-range)#switchport access vlan 20
ALSwitch1(config-if-range)#exit
ALSwitch1(config)#int range fa0/1 - 2
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname ALSwitch2
ALSwitch2(config)#no ip domain-lookup
ALSwitch2(config)#vtp mode client
Setting device to VTP CLIENT mode.
ALSwitch2(config)#vtp domain testdomain
Domain name already set to testdomain.
ALSwitch2(config)#int range fa0/5 - 8
ALSwitch2(config-if-range)#switchport mode access
ALSwitch2(config-if-range)#switchport access vlan 10
ALSwitch2(config-if-range)#exit
ALSwitch2(config)#int range fa0/9 - 12
ALSwitch2(config-if-range)#switchport access vlan 20
ALSwitch2(config-if-range)#exit
ALSwitch2(config)#int range fa0/1 - 2
ALSwitch2(config-if-range)#switchport mode trunk
ALSwitch2(config-if-range)#channel-group 1 mode desirable
ALSwitch2(config-if-range)#
Creating a port-channel interface Port-channel 1
ALSwitch2(config-if-range)#exit
ALSwitch2(config)#exit
ALSwitch2#
%SYS-5-CONFIG_I: Configured from console by console
ALSwitch2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
ALSwitch2#
Objective: Similar to the previous lab, this lab has a more complex setup and configuration.
Use three 2960 switches and 3 PCs. Connect the devices as seen below.
switch#en
switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#hostname S1
S1(config)#vlan 10
S1(config-vlan)#name staff
S1(config-vlan)#vlan 99
S1(config-vlan)#name management
S1(config-vlan)#int fa0/6 (this is the port the PC-A is connected to)
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 10
S1(config-if)#int vlan 99
S1(config-if)#ip address 192.168.99.11 255.255.255.0
S1(config-if)#no shut
switch#en
switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#hostname S2
S2(config)#vlan 10
S2(config-vlan)#name staff
S2(config-vlan)#vlan 99
S2(config-vlan)#name management
S2(config-vlan)#int fa0/18 (this is the port the PC-B is connected to)
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 10
S2(config-if)#int vlan 99
S2(config-if)#ip address 192.168.99.12 255.255.255.0
S2(config-if)#no shut
switch#en
switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#hostname S3
S3(config)#vlan 10
S3(config-vlan)#name staff
S3(config-vlan)#vlan 99
S3(config-vlan)#name management
S3(config-vlan)#int fa0/18 (this is the port the PC-C is connected to)
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 10
S3(config-if)#int vlan 99
S3(config-if)#ip address 192.168.99.13 255.255.255.0
S3(config-if)#no shut
S1
S1(config-if-range)#no shut
S1(config-if-range)#int port-channel 1
S1(config-if)#switchport mode trunk
S1(config-if)#
S3
S3(config-if-range)#
%LINK-5-CHANGED: Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up
S3(config-if-range)#no shut
S3(config-if-range)#int port-channel 1
S3(config-if)#switchport mode trunk
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking Port-channel 1 on
VLAN0099. Port consistency restored.
S3(config-if)#
S1
S1(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
S1(config-if-range)#switchport trunk native vlan 99
S1(config-if-range)#channel-group 2 mode passive
S1(config-if-range)#
Creating a port-channel interface Port-channel 2
S1(config-if-range)#no shut
S1(config-if-range)#int port-channel 2
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan 99
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (99), with S2 FastEthernet0/1 (1).
S2
S2(config-if-range)#int port-channel 2
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
S2(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
S2(config-if-range)#no shut
S2(config-if-range)#int port-channel 3
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/3 (99), with S3 FastEthernet0/1 (1).
S3
S3(config-if-range)#no shut
S3(config-if-range)#int port-channel 3
S3(config-if)#switchport mode trunk
NK-5-CHANGED: Interface Port-channel 3, changed state to up
S1#sh run
Building configuration...
------+-------------+-----------+----------------------------------------------
1 Po1(SU) PAgP Fa0/3(P) Fa0/4(P)
2 Po2(SD) LACP Fa0/1(I) Fa0/2(I)
S2
S3
Chapter 16
Network Setup: Drag one 1841 router, one 2960 switch, and one Server-PT to the desktop.
Connect the router’s Fa0/0 interface to the Fa0/1 port on the switch. Connect the Server-PT’s
Ethernet port to the switch’s Fa0/2 port.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname Router1
Router1(config)#int fa0/0
Router1(config-if)#ip address 10.0.0.1 255.0.0.0
Router1(config-if)#no shut
Router1(config-if)#end
To be done on Server-PT
Go to the “Desktop” tab and then the “IP Configuration” option. Configure the the following
above IP address and Mask from the “Desktop” tab.
Router1#ping 10.0.0.100
Router1#config t
Router1(config)#logging on
Router1(config)#exit
Select the “Services” tab and click “SYSLOG”. Make sure the “On” radio button is selected.
Switch>en
Switch#config t
Switch(config)#int vlan 1
Switch(config-if)#ip address 10.0.0.2 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#exit
Switch(config)#snmp-server community academy ro
%SNMP-5-WARMSTART: SNMP agent on hostRouter is undergoing a warm start
Switch(config)#logging on
Switch(config)#logging host 10.0.0.100
Switch(config)#%SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 10.0.0.100 port 514
started - CLI initiated
Switch(config)#logging trap debugging
Switch(config)#logging console
Router(config)#exit
Switch#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Switch#reload
Proceed with reload? [confirm
Router1(config-if)#end
Router1#copy run start
Router1#reload
Go back to the server’s SYSLOG screen and look at the additional logged information from the
router and the switch.
Use two 2911 Routers, two 2960 switches, and two PCs. Connect the devices as seen above.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname Router0
Router0(config)#int gi0/0
Router0(config-if)#ip address 192.168.1.2 255.255.255.0
Router0(config-if)#no shut
Router0(config-if)#duplex auto
Router0(config-if)#speed auto
Router0(config-if)#standby 1 ip 192.168.1.1
Router0(config-if)#standby priority 120
Router0(config-if)#standby
%HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Speak ->
Router0(config-if)#standby 1 preempt
Router0(config-if)#int gi0/1
Router0(config-if)#ip address 192.168.2.2 255.255.255.0
Router0(config-if)#no shut
Router0(config-if)#duplex auto
Router0(config-if)#speed auto
Router0(config-if)#standby 2 ip 192.168.2.1
Router0(config-if)#standby priority 120
Router0(config-if)#
%HSRP-6-STATECHANGE: GigabitEthernet0/1 Grp 2 state Speak -> Standby
Router0(config-if)#standby 2 preempt
Router0(config-if)#
Router>en
Router#config t
Router(config)#no ip domain-lookup
Router(config)#hostname Router1
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#int gi0/0
Router1(config-if)#ip address 192.168.1.3 255.255.255.0
Router1(config-if)#no shut
Router1(config-if)#
%HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Speak -> Standby
Router1(config-if)#duplex auto
Router1(config-if)#speed auto
Router1(config-if)#standby 1 ip 192.168.1.1
Router1(config-if)#int gi0/1
%HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Speak -> Standby
Router1(config-if)#ip address 192.168.2.3 255.255.255.0
Router1(config-if)#duplex auto
Router1(config-if)#speed auto
Router1(config-if)#standby 2 ip 192.168.2.1
PC1 configuration
Notice that both PC’s default gateway is pointing to the virtual router’s internal IP address. If
the active router fails the other will become the default gateway for its group.
Router#sh standby
GigabitEthernet0/0 - Group 1 (version 2)
State is Active
11 state changes, last state change 00:48:25
Virtual IP address is 192.168.1.1
Active virtual MAC address is 0000.0C9F.F001
Local virtual MAC address is 0000.0C9F.F001 (v2 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.704 secs
Preemption enabled
Active router is local
Standby router is 192.168.1.3
Priority 100 (default 100)
Group name is hsrp-Gig0/0-1 (default)
GigabitEthernet0/1 - Group 2 (version 2)
State is Active
14 state changes, last state change 00:51:18
Virtual IP address is 192.168.2.1
Active virtual MAC address is 0000.0C9F.F002
Local virtual MAC address is 0000.0C9F.F002 (v2 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.768 secs
Preemption enabled
Active router is local
Standby router is 192.168.2.3
Priority 100 (default 100)
Group name is hsrp-Gig0/1-2 (default)
Go toRouter1
Router#sh standby
GigabitEthernet0/0 - Group 1 (version 2)
State is Standby
10 state changes, last state change 00:50:45
Virtual IP address is 192.168.1.1
Active virtual MAC address is 0000.0C9F.F001
Local virtual MAC address is 0000.0C9F.F001 (v2 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.854 secs
Preemption disabled
Active router is 192.168.1.2
Standby router is local
Priority 100 (default 100)
Group name is hsrp-Gig0/0-1 (default)
GigabitEthernet0/1 - Group 2 (version 2)
State is Standby
9 state changes, last state change 00:51:34
Router#
%HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Standby -> Active
Chapter 17
Objective: EIGRP is Cisco’s proprietary dynamic routing protocol used to build route tables
between its neighbors to route packets to different locations. Objectives will include configuring
the interfaces of the routers, computers, and enabling EIGRP on the routers to have all nodes
communicate. Students will start to learn how to use EIGRP in a basic routing environment.
Use three 1841 Routers each with two serial interfaces added. Use three 2960 switches. Use
three PCs. Connect the devices as seen below.
You can change the router’s display name on the workspace by clicking the router and selecting the
“Config” tab. Rename the routers toRouter3,Router2, andRouter1 respectivily.
Click on each computer and select the “Desktop” tab. click the “IP Configuration” button.
Type the correct IP configuration, including the default gateway address for each computer from the table
above.
Router(config-router)#^Z
Router#
Router#copy run start
Router#sh ip route
Codes: C - connected, S - static, I - IGRP,R -RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Lab2: Enhanced Interior Gateway Routing Protocol (EIGRP) Configuration Lab (Advanced)
Objective: This lab is the same as the previous one but bandwidth will be altered to change the path a
router chooses to a destination network. The lab will also disable the “auto-summarization” of routes so
every destination network will be listed as individual instead of beind combined.
Topology Diagram
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#int fa0/0
R1(config-if)#ip address 172.16.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R1(config-if)#int s0/0/0
R1(config-if)#ip address 172.16.3.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R2>en
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#hostname R2
R2(config)#no ip domain-lookup
R2(config)#int fa0/0
R2(config-if)#ip address 172.16.2.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R2(config-if)#int s0/0/0
R2(config-if)#ip address 172.16.3.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#int s0/1/0
R2(config-if)#ip address 192.168.10.9 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shut
R2(config-if)#
R2(config-if)#int loopback 0
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console
R3>en
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#hostname R3
R3(config)#no ip domain-lookup
R3(config)#int fa0/0
R3(config-if)#ip address 192.168.1.1 255.255.255.0
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R3(config-if)#int s0/0/0
R3(config-if)#ip address 192.168.10.6 255.255.255.252
R3(config-if)#clock rate 64000
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#int s0/1/0
R3(config-if)#ip address 192.168.10.10 255.255.255.252
R3(config-if)#no shut
R3(config)#int loopback 1
%LINK-5-CHANGED: Interface Loopback1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to
upR3(config-if)#ip address 192.168.2.1 255.255.255.0
R3(config-if)#interface loopback 2
%LINK-5-CHANGED: Interface Loopback2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to up
R3(config-if)#ip address 192.168.3.1 255.255.255.0
R3(config-if)#
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
R3(config-if)#exit
R3(config)#exit
R3#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R3#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
R1
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router eigrp 1
R1(config-router)#network 172.16.0.0
R1(config-router)#network 192.168.10.4 0.0.0.3
R1(config-router)#
R2
R2>en
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router eigrp 1
R2(config-router)#network 172.16.0.0
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is up: new
adjacency
R3
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router eigrp 1
R3(config-router)#network 192.168.1.0
R3(config-router)#network 192.168.10.4 0.0.0.3
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/0) is up: new
adjacency
R3(config-router)#network 192.168.10.8 0.0.0.3
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.9 (Serial0/1/0) is up: new
adjacency
R3(config-router)#
R1
R2
R3
R1
R1#sh ip protocols
R1#
R1
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R2
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R3
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R1
R1(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.2 (Serial0/0/0) is up: new
adjacency
R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
R2
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int s0/0/0
R2(config-if)#bandwidth 64
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is down: interface
down
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is up: new
adjacency
R2(config-if)#int s0/1/0
R2(config-if)#bandwidth 1024
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.10 (Serial0/1/0) is down:
interface down
R2(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.10 (Serial0/1/0) is up: new
adjacency
R3
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int s0/1/0
R3(config-if)#bandwidth 1024
R3(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.9 (Serial0/1/0) is down: interface
down
R3(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.9 (Serial0/1/0) is up: new
adjacency
R3(config-if)#
(Note: The bandwidth command only modifies the bandwidth metric used by routing protocols, not the
physical bandwidth of the link.).
(Note: Use the interface configuration command no bandwidth to return the bandwidth to its default
value).
R2
R1
R1>en
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router eigrp 1
R1(config-router)#no auto-summary
R1(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.6 (Serial0/1/0) resync: summary
configured
R2
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router eigrp 1
R2(config-router)#no auto-summary
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) resync: summary
configured
R2(config-router)#
R3
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router eigrp 1
R3(config-router)#no auto-summary
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/0) resync: summary
configured
R3(config-router)#
Part 13: View the routing table on R1 again without route summization
R3
R3#sh ip route
Objective: Just like with IPv4 networks, EIGRPv6 can be used to exchange IPv6 routes with neighbors to
reach destinations using IPv6 protocol.
Drag three 2811 routers to the desktop as seen above and one 2960-24TT switch. Connect each router’s
Fa0/0 interface to the switch with a straight cable to the switch ports as seen above.
To be done onR1
Router>en
Router#config t
Router(config)#hostnameR1
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router eigrp 1
R1(config-rtr)#eigrp router-id 10.3.3.3
R1(config-rtr)#no shutdown
R1(config-rtr)#exit
R1(config)#int fa0/0
R1(config-if)#ipv6 address 2001:db8:0:11::3/64
R1(config-if)#ipv6 eigrp 1
R1(config-if)#no shutdown
R1(config-if)#int loopback 0
R1(config-if)#ipv6 address 2001:db8:0:3::1/64
R1(config-if)#ipv6 eigrp 1
R1(config-if)#exit
R3(config)#exit
R1#copy run start
To be done onR2
Router>en
Router#config t
Router(config)#hostnameR2
R2(config)#ipv6 unicast-routing
To be done onR3
Router>en
Router#config t
Router(config)#hostnameR3
R3r(config)#ipv6 unicast-routing
R3(config)#ipv6 router eigrp 1
R3(config-rtr)#eigrp router-id 10.0.0.1
R3(config-rtr)#no shutdown
R3(config-rtr)#int fa0/0
R3(config-if)#ipv6 address 2001:db8:0:11::1/64
R3(config-if)#ipv6 eigrp 1
R3(config-if)#no shutdown
R3(config-if)#int loopback 0
%DUAL-5-NBRCHANGE: IPv6-EIGRP 1: Neighbor FE80::201:42FF:FE52:7201
(FastEthernet0/0) is up: new adjacency
%DUAL-5-NBRCHANGE: IPv6-EIGRP 1: Neighbor FE80::2D0:D3FF:FE62:5A01
(FastEthernet0/0) is up: new adjacency
R3(config-if)#ipv6 address 2001:db8:0:1::1/64
R3(config-if)#ipv6 eigrp 1
R3(config-if)#exit
R3(config)#exit
R3#copy run start
R3#sh ipv6 route
IPv6Routing Table - 7 entries
Codes: C - Connected, L - Local, S - Static,R -RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
Chapters 18 and 19
Objective: This lab will teach students how to use an open standard dynamic routing protocol to
exchange routes with neighboring routers.
Use four 1941 Routers and three 2960 switches. Turn the each router off and add the “HWIC-2T”
connectors in both empty slots. Turn the routers on. Connect the interfaces of each devices as seen above.
Use three PCs and connect them as seen above.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R0
R0(config)#no ip domain-lookup
R0(config)#int gi0/0
R0(config-if)#ip address 192.168.5.1 255.255.255.224
R0(config-if)#no shut
R0(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R0(config-if)#int s0/0/0
R0(config-if)#ip address 192.168.5.34 255.255.255.224
R0(config-if)#clock rate 64000
R0(config-if)#no shut
R0#
Part 3: Configuring Router1
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#int gi0/0
R1(config-if)#ip address 192.168.5.129 255.255.255.224
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R1(config-if)#int s0/0/0
R1(config-if)#ip address 192.168.5.33 255.255.255.224
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R1(config-if)#int s0/1/0
R1(config-if)#ip address 192.168.5.97 255.255.255.224
R1(config-if)#clock rate 64000
R1(config-if)#exit
R1(config)#exit
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#no ip domain-lookup
R2(config)#int g0/0
R2(config-if)#ip address 192.168.5.193 255.255.255.224
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R2(config-if)#int s0/0/0
R2(config-if)#ip address 192.168.5.66 255.255.255.224
R2(config-if)#no shut
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R2(config-if)#int s0/1/0
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
exit
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#
Part 5: Configuring Router3
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#no ip domain-lookup
R3(config)#int g0/1
R3(config-if)#ip address 192.168.5.130 255.255.255.224
R3(config-if)#no shut
R3(config-if)#
R3(config-if)#int g0/0
R3(config-if)#ip address 192.168.5.161 255.255.255.224
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R3(config-if)#exit
R3(config)#exit
R3#
%SYS-5-CONFIG_I: Configured from console by console
Click on each computer and select the “Desktop” tab. click the “IP Configuration” button.
Type the correct IP configuration from the table above and then close the window.
R0
R0>en
R0#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
R1
R1>en
R1#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R2
R2>en
R2#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R3
R3>en
R3#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R0#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Objective: Just like with IPv4 networks, OSPFv3 can be used to exchange IPv6 routes with neighbors to
reach destinations using IPv6 protocol.
Use four 1941 Routers that have HWIC-2T connectors attached. Use one 29160 switch. Connect
R1, R2, R3 router'sG0/0 interface to the switch. Connect routers R1 and R4 serial s0/0/0 with the
DCE side on R1.
Part 2: R3 Configuration
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R3
R3(config)#ipv6 unicast-routing
R3(config-rtr)#ipv6 router ospf 1
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#exit
R3(config)#int g0/0
R3(config-if)#ipv6 address 2001:db8:0:1::3/64
R3(config-if)#ipv6 ospf 1 area 0
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R3(config-if)#int loopback 0
R3(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
Part 3: R2 Configuration
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R2
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router ospf 1
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R2(config-if)#int loopback 0
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
Part 4: R1 Configuration
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R1
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router ospf 1
%OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id,please configure manually
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#ipv6 router ospf 1
R1(config-rtr)#exit
R1(config)#int g0/0
R1(config-if)#ipv6 address 2001:db8:0:1::1/64
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R1(config-if)#
00:49:51: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2 on GigabitEthernet0/0 from LOADING
to FULL, Loading Done
int s0/0/0
R1(config-if)#
00:49:56: %OSPFv3-5-ADJCHG: Process 1, Nbr 3.3.3.3 on GigabitEthernet0/0 from LOADING
to FULL, Loading Done
R1(config-if)#int s0/0/0
R1(config-if)#ipv6 address 2001:db8:0:7::1/64
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#clock rate 56000
R1(config-if)#no shut
Part 5: R4 Configuration
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R4
R4(config)#ipv6 unicast-routing
R4(config)#ipv6 router ospf 1
%OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id,please configure manually
R4(config-rtr)#router-id 4.4.4.4
R4(config-rtr)#ipv6 router ospf 1
R4(config-rtr)#exit
R4(config)#int s0/0/0
R4(config-if)#ipv6 address 2001:db8:0:7::2/64
R4(config-if)#ipv6 ospf 1 area 0
R4(config-if)#no shut
R4(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R4(config-if)#exit
R4(config)#exit
R4#
%SYS-5-CONFIG_I: Configured from console by console
From R4
R4#sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
O 2001:DB8:0:1::/64 [110/65]
via FE80::2E0:A3FF:FE35:4B01, Serial0/0/0, receive
O 2001:DB8:0:2::1/128 [110/65]
via FE80::2E0:A3FF:FE35:4B01, Serial0/0/0, receive
O 2001:DB8:0:3::1/128 [110/65]
via FE80::2E0:A3FF:FE35:4B01, Serial0/0/0, receive
C 2001:DB8:0:7::/64 [0/0]
via Serial0/0/0, directly connected
L 2001:DB8:0:7::2/128 [0/0]
via Serial0/0/0, receive
L FF00::/8 [0/0]
via Null0, receive
R4#
Chapter 20
Use two 2811 routers with WIC-1T serial connedctors added to all four slots. Use two 2960 switches and
two laptop PCs. Connect the devices as seen above.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname Boston
Boston(config)#username Buffalo password academy
Boston(config)#int fa0/0
Boston(config-if)#ip address 172.16.10.1 255.255.255.0
Boston(config-if)#no shut
Boston(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Boston(config-if)#int s0/0/0
Boston(config-if)#ip address 172.16.20.1 255.255.255.252
Boston(config-if)#clock rate 56000
Boston(config-if)#encapsulation ppp
Boston(config-if)#ppp authentication chap pap
Boston(config-if)#no shut
Boston(config-router)#exit
Boston(config)#exit
Boston#
%SYS-5-CONFIG_I: Configured from console by console
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname Buffalo
Buffalo(config)#username Boston password academy
Buffalo(config)#int fa0/0
Buffalo(config-if)#ip address 172.16.30.1 255.255.255.0
Buffalo(config-if)#no shut
Buffalo(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Buffalo(config-if)#int s0/1/0
Buffalo(config-if)#ip address 172.16.20.2 255.255.255.252
Buffalo(config-if)#encapsulation ppp
Buffalo(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
Buffalo(config-if)#no shut
Buffalo(config-if)#exit
Buffalo(config-router)#router eigrp 10
Buffalo(config-router)#network 172.16.30.0 0.0.0.255
Buffalo(config-router)#network 172.16.20.0 0.0.0.3
Buffalo(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 10: Neighbor 172.16.20.1 (Serial0/1/0) is up: new
adjacency
Buffalo(config-router)#exit
Buffalo(config)#exit
Buffalo#
%SYS-5-CONFIG_I: Configured from console by console
Use two 2811 routers with WIC-1T serial connedctors added to all four slots. Use two 2960 switches and
two laptop PCs. Connect the devices as seen above.
Go back to the Boston Router and press (CTNL + Z) keys. Type undebug all even if the degugging is
populating the screen. Tip: Dont look at the screen when you type undebug all.
Buffalo>en
Buffalo#config t
Enter configuration commands, one per line. End with CNTL/Z.
Buffalo(config)#int s0/1/0
Buffalo(config-if)#encapsulation hdlc
Buffalo(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
Buffalo(config-if)#
Use two 2901 Routers and two 2960 switches. Add the HWIC-2T connectors to the routers as
seen below. Connect the two routers using the s0/0/0 interfaces.
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname CORP
CORP(config)#int g0/0
CORP(config-if)#ip address 192.168.1.1 255.255.255.0
CORP(config-if)#no shut
CORP(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
CORP(config-if)#int s0/0/0
CORP(config-if)#ip address 63.1.1.1 255.255.255.252
CORP(config-if)#
%LINK-5-CHANGED: Interface Tunnel0, changed state to up
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname SF
SF(config)#int g0/0
SF(config-if)#ip address 192.168.2.1 255.255.255.0
SF(config-if)#no shut
SF(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
SF(config-if)#int s0/0/0
SF(config-if)#ip address 63.1.1.2 255.255.255.252
SF(config-if)#no shut
SF(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
SF(config-if)#int t0
SF(config-if)#
%LINK-5-CHANGED: Interface Tunnel0, changed state to up
SF(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
ISP Router
Router#config t
Router(config)#int loopback 0
Router(config-if)#
Router(config-if)#ip address 10.0.0.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#int s0/0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#int s0/0/1
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#router eigrp 1
Router(config-router)#network 10.0.0.0 255.255.255.0
Router(config-router)#network 192.168.1.0 255.255.255.0
Router(config-router)#network 192.168.2.0 255.255.255.0
R1 Router
Router#config t
Router(config)#int loopback 0
Router(config-if)#ip address 10.0.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#int s0/0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#no shut
Router(config)#router eigrp 100
Router(config-router)#network 10.0.1.0 255.255.255.0
Router(config-router)#network 192.168.1.0 255.255.255.0
R2 Router
Router#config t
Router(config)#int loopback 0
Router(config-if)#ip address 10.0.2.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#int s0/0/1
Router(config-if)#ip address 192.168.2.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#router eigrp 200
Router(config-router)#network 10.0.2.0 255.255.255.0
Router(config-router)#network 192.168.2.0 255.255.255.0
R1 ROUTER BGP
Router#config t
Router(config)#router bgp 100
Router(config-router)#neighbor 192.168.1.1 remote-as 1
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.1.1 Up
Router(config-router)#network 10.0.1.0 mask 255.255.255.0
R2 ROUTER BGP
Router#config t
Router(config)#router bgp 200
Router(config-router)#neighbor 192.168.2.1 remote-as 1
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.2.1 Up
Router(config-router)#network 10.0.2.0 mask 255.255.255.0
Verifying EBGP
192.168.2.2 4 200 5 4 4 0 0
Router#sh ip bgp
BGP table version is 4, local router ID is 10.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
InQ depth is 0
OutQ depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 2 1
Keepalives: 6 6
Route Refresh: 0 0
Total: 9 8
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Drag and Drop two 2800 routers, two2960 switches, and one FrameRelay cloud-PT on the desktop.
Assign the router on the left 10.0.0.1 255.0.0.0 on its Ethernet side. Assign the router on the right 30.0.0.1
255.0.0.0 on its Ethernet side. Connect both routers’ Ethernet side to the switch with straight cables. Add
the WIC-IT serial connector to each of the routers open interfaces. Connect the serial side of the router
on the left to their serial0 on the frame relay cloud using a serial DCE connection. Make sure you select
the router first when creating this connection. The clock icon must be on the router’s serial side.
Connect the serial side of the router on the right to their serial1 on the frame relay cloud using a serial
DCE connection. Make sure you select the router first when creating this connection. The clock icon
must be on the router’s serial side.
Router>en
Router#config t
Router(config)#int fa0/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config)#int s0/3/0
Router(config-if)#int s0/3/0
Router(config-if)#encapsulation frame-relay
Router(config-if)#ip address 20.0.0.1 255.0.0.0
Router(config-if)#frame-relay lmi-type ansi
Router(config-if)#frame-relay interface-dlci 101
Router(config-if)clock rate 64000
Router(config-if)no shut
Router(config-if)#^Z
Router>en
Router#config t
Router(config)#int fa0/0
Router(config-if)#ip address 30.0.0.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#int s0/3/0
Router(config-if)#encapsulation frame-relay
Router(config-if)#ip address 20.0.0.2 255.0.0.0
Router(config-if)#frame-relay lmi-type ansi
Router(config-if)#frame-relay interface-dlci 102
Router(config-if)clock rate 64000
Router(config-if)#no shut
Wait some time. From the router on the left, see if you can ping 20.0.0.2
Objective: In this lab a frame relay network will be setup to link four locations thru the cloud. The
connections will be point to point using OSPF as the routing protocol to exchange routes. Each
connection will use a sub-interface, ip address, and DLCI number.
Nework Setup: Drag four 1841 routers to the workspace as seen above. Place the Clould-PT in the center
of the routers. Add the WIC-1T connector to each router (S0/0/0 located closest to the power switch).
Connect Houston to the Se0 interface on the cloud. Connect Austin to the Se1 interface on the cloud.
Connect Galveston to the Se2 interface on the cloud. Connect Laredo to the Se3 interface on the cloud.
Router>en
Router#config t
Router(config)#hostname Houston
Houston(config)#interface s0/0/0
Houston(config-if)#encapsulation frame-relay
Houston(config-if)#clock rate 64000
Houston(config-if)#no shutdown
Houston(config-if)#int s0/0/0.50 point-to-point
Houston(config-subif)#description Link to Austin
Houston(config-subif)#ip address 172.16.2.1 255.255.255.0
Houston(config-subif)#frame-relay interface-dlci 50
Houston(config-subif)#exit
Houston(config)#int s0/0/0.51 point-to-point
Houston(config-subif)#description Link to Galveston
Houston(config-subif)#ip address 172.16.3.1 255.255.255.0
Houston(config-subif)#frame-relay interface-dlci 51
Houston(config-subif)#exit
Houston(config)#int s0/0/0.52 point-to-point
Houston(config-subif)#description Link to Laredo
Houston(config-subif)#ip address 172.16.4.1 255.255.255.0
Houston(config-subif)#frame-relay interface-dlci 52
Houston(config-subif)#exit
Houston(config)#router ospf 1
Houston(config-router)#network 172.16.0.0 0.0.255.255 area 0
Houston(config-router)#exit
Houston(config)#exit
Houston#copy run start
Router>en
Router#config t
Router(config)#hostname Austin
Austin(config)#int s0/0/0
Austin(config-if)#encapsulation frame-relay
Austin(conrfig-if)#clock rate 64000
Austin(config-if)#no shutdown
Austin(config-if)#int s0/0/0.150 point-to-point
Router>en
Router#config t
Router(config)#hostname Galveston
Galveston(config)#int s0/0/0
Galveston(config-if)#encapsulation frame-relay
Galveston(config-if)#clock rate 64000
Galveston(config-if)#no shutdown
Galveston(config-if)#int s0/0/0.151 point-to-point
Galveston(config-subif)#description Link to Houston
Galveston(config-subif)#ip address 172.16.3.2 255.255.255.0
Galveston(config-subif)#frame-relay interface-dlci 151
Galveston(config-subif)#exit
Galveston(config)#router ospf 1
Galveston(config-router)#network 172.16.0.0 0.0.255.255 area 0
Galveston(config-router)#exit
Galveston(config)#exit
Galveston#copy run start
Router>en
Router#config t
Router(config)#hostname Laredo
Laredo(config)#int s0/0/0
Laredo(config-if)#encapsulation frame-relay
Laredo(config-if)#clock rate 64000
Laredo(config-if)#no shutdown
Laredo(config-if)#int s0/0/0.152 point-to-point
Laredo(config-subif)#description Link to Houston
Laredo(config-subif)#ip address 172.16.4.2 255.255.255.0
Laredo(config-subif)#frame-relay interface-dlci 152
Laredo(config-subif)#exit
Laredo(config)#router ospf 1
To be done from the PT-Cloud Serial 0, which is the HustonRouter frame relay connection.
(Add all three DLCI numbers associated with the Houston router.
Type each DLCI number in the “DLCI” box and the “Name” as listed above and click the
“Add” button.
Go to each other serial connector (1,2,3) and add the 15# DLCI number and description.
Serial 1
Serial 2
Serial 3
From the FrameRelay settings under “Connections”, add the following Serial0 from Huston
to the appropriate Serial1/2/3
Galveston#sh ip route
Notice how the Galveston learned the 172.16.2.0 and 172.16.4.0 networks via OSPF. Galveston
is not directly connected to these networks.
Galveston#ping 172.16.2.2
Objective: In this lab a frame relay network will be setup to link three locations thru the cloud. The
connections will be point to multipoint using EIGRP as the routing protocol to exchange routes.
Network Setup: Drag three 1841 routers to the desktop as seen above. Drag three 2960 switches to the
desktop as seen above. Place a Cloud-PT between the routers. Connect each router’s Fa0/0 interface to
each respective switches Fa0/1 port. Add the WIC-1T connector toR1’s S0/1/0 interface slot. Add a WIC-
1T connector toR2 andR3 S0/0/0 interface slot. ConnectR1’s serial s0/1/0 to the cloud’s Se0.
ConnectR2’s serial 0/0/0 to the cloud’s Se1. ConnectR3’s S0/0/0 interface to the cloud’s Se2 interface.
To be done onR1
Router>en
Router#config t
Router(config)#hostnameR1
R1(config)#int fa0/0
R1(config-if)#ip address 172.16.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#int s0/1/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#no ip address
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config)#int s0/1/0.1 multipoint
R1(config-subif)#ip address 192.168.1.101 255.255.255.0
R1(config-subif)#frame-relay map ip 192.168.1.101 101
R1(config-subif)#frame-relay map ip 192.168.1.102 102 cisco broadcast
R1(config-subif)#frame-relay map ip 192.168.1.103 103 cisco broadcast
R1(config-subif)#exit
R1(config)#router eigrp 100
R1(config-router)#network 172.16.1.0 0.0.0.255
R1(config-router)#network 192.168.1.0
R1(config-router)#exit
R1(config)#exit
R1#copy run start
To be done onR2
Router>en
Router#config t
Router(config)#hostnameR2
R2(config)#int fa0/0
R2(config-if)#ip address 172.18.2.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#int s0/0/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#ip address 192.168.1.102 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut
R2(config-if)#
R2(config-if)#frame-relay map ip 192.168.1.102 102
R2(config-if)#frame-relay map ip 192.168.1.101 201 cisco broadcast
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#router eigrp 100
R2(config-router)#network 172.17.2.0 0.0.0.255
R2(config-router)#network 192.168.1.0
R2(config-router)#exit
R2(config)#exit
R2#copy run start
To be done onR3
Router>en
Router#config t
Router(config)#hostnameR3
R3(config)#int fa0/0
R3(config-if)#ip address 172.18.3.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#int s0/0/0
R3(config-if)#encapsulation frame-relay
R3(config-if)#ip address 192.168.1.103 255.255.255.0
R3(config-if)#clock rate 64000
R3(config-if)#frame-relay map ip 192.168.1.103 103
R3(config-if)#frame-relay map ip 192.168.1.101 301 broadcast
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#router eigrp 100
R3(config-router)#network 172.18.3.0 0.0.0.255
R3(config-router)#network 192.168.1.0
R3(config-router)#exit
R3(config)#exit
R3#copy run start
Select the Serial 0 under Interfaces located on the left hand side. Add the following DLCI numbers:
Select the Serial 1 under Interfaces located on the left hand side. Add the following DLCI numbers:
Select the Serial 2 under Interfaces located on the left hand side. Add the following DLCI numbers:
Select the “FrameRelay” under Connections located on the left hand side.
To be done onR1
R1#sh ip route
Codes: C - connected, S - static, I - IGRP,R -RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
LMI Statistics for interface Serial0/0/0 (FrameRelay DTE) LMI TYPE = CISCO
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy CallRef 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 InvalidReport IE Len 0
InvalidReportRequest 0 Invalid Keep IE Len 0
Num Status Enq. Sent 78 Num Status msgsRcvd 77
Num Update StatusRcvd 0 Num Status Timeouts 16
LMI Statistics for interface Serial0/0/0.1 (FrameRelay DTE) LMI TYPE = CISCO
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy CallRef 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 InvalidReport IE Len 0
InvalidReportRequest 0 Invalid Keep IE Len 0
Num Status Enq. Sent 0 Num Status msgsRcvd 0
Num Update StatusRcvd 0 Num Status Timeouts 16
Serial0/0/0.1 (up): ip 192.168.1.101 dlci 101, static, CISCO, status defined, active
Serial0/0/0.1 (up): ip 192.168.1.102 dlci 102, static, broadcast, CISCO, status defined, active
Serial0/0/0.1 (up): ip 192.168.1.103 dlci 103, static, broadcast, CISCO, status defined, active