Configuring Multi-Area OSPFv3
Configuring Multi-Area OSPFv3
Instructor Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
Topology
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 16
Lab - Configuring Multi-area OSPFv3
Addressing Table
2001:DB8:ACAD:12::1/64
S0/0/0 (DCE)
FE80::1 link-local
Lo0 2001:DB8:ACAD::1/64
R1
Lo1 2001:DB8:ACAD:1::1/64
Lo2 2001:DB8:ACAD:2::1/64
Lo3 2001:DB8:ACAD:3::1/64
2001:DB8:ACAD:12::2/64
S0/0/0
FE80::2 link-local
R2 2001:DB8:ACAD:23::2/64
S0/0/1 (DCE)
FE80::2 link-local
Lo8 2001:DB8:ACAD:8::1/64
2001:DB8:ACAD:23::3/64
S0/0/1
FE80::3 link-local
Lo4 2001:DB8:ACAD:4::1/64
R3
Lo5 2001:DB8:ACAD:5::1/64
Lo6 2001:DB8:ACAD:6::1/64
Lo7 2001:DB8:ACAD:7::1/64
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Configure Multi-area OSPFv3 Routing
Background / Scenario
Using multi-area OSPFv3 in large IPv6 network deployments can reduce router processing cycles by creating
smaller routing tables and requiring less memory overhead. In multi-area OSPFv3, all areas are connected to
the backbone area (area 0) through area border routers (ABRs).
In this lab, you will implement OSPFv3 routing for multiple areas. You will also use a number of show
commands to display and verify OSPFv3 routing information. This lab uses loopback addresses to simulate
networks in multiple OSPFv3 areas.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with
Cisco IOS Release 15.2(4)M3 (universalk9 image). Other routers and Cisco IOS versions can be used.
Depending on the model and Cisco IOS version, the commands available and output produced might vary
from what is shown in the labs. Refer to the Router Interface Summary Table at this end of this lab for the
correct interface identifiers.
Note: Make sure that the routers have been erased and have no startup configurations. If you are unsure,
contact your instructor.
Instructor Note: Refer to the Instructor Lab Manual for the procedures to initialize and reload devices.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 16
Lab - Configuring Multi-area OSPFv3
Required Resources
• 3 Routers (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
• 3 PCs (Windows with terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Serial cables as shown in the topology
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 16
Lab - Configuring Multi-area OSPFv3
d. Issue the show ipv6 ospf command to verify the router IDs on all routers.
R2# show ipv6 ospf
Routing Process "ospfv3 1" with ID 2.2.2.2
Event-log enabled, Maximum number of events: 1000, Mode: cyclic
Router is not originating router-LSAs with maximum metric
<output omitted>
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 16
Lab - Configuring Multi-area OSPFv3
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
R2(config)# interface lo8
R2(config-if)# ipv6 ospf 1 area 0
R2(config-if)# ipv6 ospf network point-to-point
R2(config-if)# interface s0/0/0
R2(config-if)# ipv6 ospf 1 area 0
R2(config-if)# interface s0/0/1
R2(config-if)# ipv6 ospf 1 area 0
d. Use the show ipv6 ospf interface brief command to view OSPFv3-enabled interfaces.
R2# show ipv6 ospf interface brief
Interface PID Area Intf ID Cost State Nbrs F/C
Lo8 1 0 13 1 P2P 0/0
Se0/0/1 1 0 7 64 P2P 1/1
Se0/0/0 1 0 6 64 P2P 1/1
e. Assign the loopback interfaces on R3 to participate in OSPFv3 area 2 and change the network type to
point-to-point. Assign the serial interface to participate in OSPFv3 area 0. Write the commands used in
the space below.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
R3(config)# interface lo4
R3(config-if)# ipv6 ospf 1 area 2
R3(config-if)# ipv6 ospf network point-to-point
R3(config-if)# interface lo5
R3(config-if)# ipv6 ospf 1 area 2
R3(config-if)# ipv6 ospf network point-to-point
R3(config-if)# interface lo6
R3(config-if)# ipv6 ospf 1 area 2
R3(config-if)# ipv6 ospf network point-to-point
R3(config-if)# interface lo7
R3(config-if)# ipv6 ospf 1 area 2
R3(config-if)# ipv6 ospf network point-to-point
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 16
Lab - Configuring Multi-area OSPFv3
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 16
Lab - Configuring Multi-area OSPFv3
b. Issue the show ipv6 route ospf command on all routers to verify that each router has learned routes to
all networks in the Addressing Table.
R1# show ipv6 route ospf
IPv6 Routing Table - default - 16 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
OI 2001:DB8:ACAD:4::/64 [110/129]
via FE80::2, Serial0/0/0
OI 2001:DB8:ACAD:5::/64 [110/129]
via FE80::2, Serial0/0/0
OI 2001:DB8:ACAD:6::/64 [110/129]
via FE80::2, Serial0/0/0
OI 2001:DB8:ACAD:7::/64 [110/129]
via FE80::2, Serial0/0/0
O 2001:DB8:ACAD:8::/64 [110/65]
via FE80::2, Serial0/0/0
O 2001:DB8:ACAD:23::/64 [110/128]
via FE80::2, Serial0/0/0
What does OI stand for? How was the OI route learned?
____________________________________________________________________________________
An OI route is an OSPF interarea route, which was learned from an OSPF neighbor participating in
another area.
c. Issue the show ipv6 ospf database command on all routers.
R1# show ipv6 ospf database
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 16
Lab - Configuring Multi-area OSPFv3
Reflection
1. Why would multi-area OSPFv3 be used?
_______________________________________________________________________________________
_______________________________________________________________________________________
Answers will vary. Multi-area OSPFv3 can be used in large network domains to improve the efficiency of the
routing process, decrease the size of routing tables, and decrease router CPU/memory processing
requirements.
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 16
Lab - Configuring Multi-area OSPFv3
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
Router R1
R1# show run
Building configuration...
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 16
Lab - Configuring Multi-area OSPFv3
ipv6 cef
!
multilink bundle-name authenticated
!
redundancy
!
interface Loopback0
no ip address
ipv6 address 2001:DB8:ACAD::1/64
ipv6 ospf 1 area 1
ipv6 ospf network point-to-point
!
interface Loopback1
no ip address
ipv6 address 2001:DB8:ACAD:1::1/64
ipv6 ospf 1 area 1
ipv6 ospf network point-to-point
!
interface Loopback2
no ip address
ipv6 address 2001:DB8:ACAD:2::1/64
ipv6 ospf 1 area 1
ipv6 ospf network point-to-point
!
interface Loopback3
no ip address
ipv6 address 2001:DB8:ACAD:3::1/64
ipv6 ospf 1 area 1
ipv6 ospf network point-to-point
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
ipv6 address FE80::1 link-local
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 10 of 16
Lab - Configuring Multi-area OSPFv3
Router R2
R2# show run
Building configuration...
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 11 of 16
Lab - Configuring Multi-area OSPFv3
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 12 of 16
Lab - Configuring Multi-area OSPFv3
interface Serial0/0/1
no ip address
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:23::2/64
ipv6 ospf 1 area 0
clock rate 2000000
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ipv6 router ospf 1
router-id 2.2.2.2
!
control-plane
!
banner motd ^CUnauthorized access is strictly prohibited.^C
!
line con 0
password cisco
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password cisco
login
transport input none
!
scheduler allocate 20000 1000
!
end
Router R3
R3# show run
Building configuration...
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 13 of 16
Lab - Configuring Multi-area OSPFv3
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
memory-size iomem 15
!
no ip domain lookup
ip cef
ipv6 unicast-routing
ipv6 cef
!
multilink bundle-name authenticated!
!
redundancy
!
interface Loopback4
no ip address
ipv6 address 2001:DB8:ACAD:4::1/64
ipv6 ospf 1 area 2
ipv6 ospf network point-to-point
!
interface Loopback5
no ip address
ipv6 address 2001:DB8:ACAD:5::1/64
ipv6 ospf 1 area 2
ipv6 ospf network point-to-point
!
interface Loopback6
no ip address
ipv6 address 2001:DB8:ACAD:6::1/64
ipv6 ospf 1 area 2
ipv6 ospf network point-to-point
!
interface Loopback7
no ip address
ipv6 address 2001:DB8:ACAD:7::1/64
ipv6 ospf 1 area 2
ipv6 ospf network point-to-point
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 14 of 16
Lab - Configuring Multi-area OSPFv3
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/0/1
no ip address
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:ACAD:23::3/64
ipv6 ospf 1 area 0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ipv6 router ospf 1
router-id 3.3.3.3
!
control-plane
!
banner motd ^CUnauthorized access is strictly prohibited.^C
!
line con 0
password cisco
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password cisco
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 15 of 16
Lab - Configuring Multi-area OSPFv3
login
transport input none
!
scheduler allocate 20000 1000
!
end
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 16 of 16