263 Lab7 Implement Multiarea Ospfv3 H2024
263 Lab7 Implement Multiarea Ospfv3 H2024
Topology
Addressing Table
Device Interface IPv4 Address IPv6 Address IPv6 Link-Local
R1
G0/0/1 10.10.0.1/30 2001:db8:acad:1001::1/64 fe80::1:1
R2 Lo0 209.165.200.225/27 2001:db8:feed:209::1/64 fe80::2:3
R2
G0/0/0 172.16.0.1/30 2001:db8:acad:a001::1/64 fe80::2:1
R2
G0/0/1 172.16.1.1/30 2001:db8:acad:a002::1/64 fe80::2:2
R3 G0/0/0 172.16.1.2/30 2001:db8:acad:a002::2/64 fe80::3:2
R3
G0/0/1 10.10.4.1/30 2001:db8:acad:2001::1/64 fe80::3:1
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
D1
G1/0/23 10.10.1.0/24 2001:db8:acad:1002::1/64 fe80::d1:1
D2 G1/0/11 10.10.4.2/30 2001:db8:acad:2001::2/64 fe80::d2:2
D2
G1/0/23 10.10.5.1/24 2001:db8:acad:2002::1/64 fe80::d2:1
Objectives
Part 1: Build the Topology and Configure Basic Device Settings and IP Addressing
Part 2: Configure Traditional OSPFv3 for IPv6 on D1
Part 3: Configure OSPFv3 for Address Families (AF) IPv4 and AF IPv6
Part 4: Verify OSPFv3 AF
Part 5: Tune OSPFv3 AF
Background / Scenario
In this lab, you will configure the network with multiarea OSPFv3 routing using the AF feature for both IPv4
and IPv6 in OSPF areas 0, 1 and 2. This lab was specifically designed to use three routers and two Layer 3
switches that support OSPFv3 using AF.
It should be noted that OSPFv3 runs on top of IPv6 and uses IPv6 link local addresses for OSPFv3 control
packets. Therefore, it is required that IPv6 be enabled on an OSPFv3 link, although the link may not be
participating in any IPv6 AFs. Additionally, OSPFv3 AF for IPv4 unicast is not backwards compatible with
OSPFv2.
Note: The routers used with CCNP hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). Other routers and Cisco IOS versions can be used. Depending on the model and Cisco
IOS version, the commands available and the output produced might vary from what is shown in the labs.
Note: The switches used with CCNP hands-on labs are Cisco Catalyst 3650s with Cisco IOS XE Release
16.9.4 (universalk9 image). Other switches 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.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 3 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 3650 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
Instructions
Part 1: Build the Network and Configure Basic Device Settings and Interface
Addressing
In Part 1, you will set up the network topology and configure basic settings and interface addressing on
routers and switches.
Router R1
hostname R1
no ip domain lookup
line con 0
logging sync
exec-time 0 0
exit
interface g0/0/0
ip add 172.16.0.2 255.255.255.252
ipv6 add 2001:db8:acad:a001::2/64
ipv6 add fe80::1:2 link-local
no shut
exit
interface GigabitEthernet0/0/1
ipv6 add 2001:db8:acad:1001::1/64
ipv6 add fe80::1:1 link-local
no shut
exit
Router R2
hostname R2
no ip domain lookup
line con 0
logging sync
exec-time 0 0
exit
interface g0/0/0
ip add 172.16.0.1 255.255.255.252
ipv6 add 2001:db8:acad:a001::1/64
ipv6 add fe80::2:1 link-local
no shut
exit
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
interface GigabitEthernet0/0/1
ip address 172.16.1.1 255.255.255.252
ipv6 add 2001:db8:acad:a002::1/64
ipv6 add fe80::2:2 link-local
no shut
exit
int lo0
ip add 209.165.200.225 255.255.255.224
ipv6 add 2001:db8:feed:209::1/64
ipv6 add fe80::2:3 link-local
exit
Router R3
hostname R3
no ip domain lookup
line con 0
logging sync
exec-time 0 0
exit
interface g0/0/0
ip add 172.16.1.2 255.255.255.252
ipv6 add 2001:db8:acad:a002::2/64
ipv6 add fe80::3:2 link-local
no shut
exit
interface GigabitEthernet0/0/1
ip address 10.10.4.1 255.255.255.252
ipv6 add 2001:db8:acad:2001::1/64
ipv6 add fe80::3:1 link-local
no shut
exit
Switch D1
hostname D1
no ip domain lookup
line con 0
exec-timeout 0 0
logging synchronous
exit
interface g1/0/11
no switchport
ipv6 add 2001:db8:acad:1001::2/64
ipv6 add fe80::d1:2 link-local
no shutdown
exit
interface g1/0/23
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
no switchport
ipv6 add 2001:db8:acad:1002::1/64
ipv6 add fe80::d1:1 link-local
no shutdown
exit
Switch D2
host D2
no ip domain lookup
line con 0
logging sync
exec-time 0 0
exit
interface gi1/0/11
no switchport
ip address 10.10.4.2 255.255.255.252
ipv6 add 2001:db8:acad:2001::2/64
ipv6 add fe80::d2:2 link-local
no shut
exit
interface gi1/0/23
no switchport
ip address 10.10.5.1 255.255.255.0
ipv6 add 2001:db8:acad:2002::1/64
ipv6 add fe80::d2:1 link-local
no shut
exit
b. Save the running configuration to startup-config.
Close configuration window
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
2001:DB8:ACAD:1002::1
<output omitted>
b. IPv6 routing is disabled by default. Enable IPv6 routing using the ipv6 unicast-routing command in
global configuration mode.
D1(config)# ipv6 unicast-routing
c. Most Cisco IOS versions have IPv6 CEF enabled by default when IPv6 routing is enabled. Use the show
ipv6 cef command to verify whether IPv6 CEF is enabled. If you need to enable IPv6 CEF, use the ipv6
cef command. If IPv6 CEF is disabled you will see the an IOS message similar to “%IPv6 CEF not
running".
D1# show ipv6 cef
::/0
no route
::/127
discard
2001:DB8:ACAD:1001::/64
attached to GigabitEthernet1/0/11
2001:DB8:ACAD:1001::2/128
receive for GigabitEthernet1/0/11
2001:DB8:ACAD:1002::/64
attached to GigabitEthernet1/0/23
2001:DB8:ACAD:1002::1/128
receive for GigabitEthernet1/0/23
FE80::/10
receive for Null0
FF00::/8
multicast
FF02::/16
receive
d. Configure the OSPFv3 process on D1. Similar to OSPFv2, the process ID does not have to match other
routers to form neighbor adjacencies, although that is considered best practice. Configure the 32-bit
OSPFv3 router ID on each router. Enable OSPFv3 directly on the interfaces using the interface ipv6 ospf
pid area area command.
D1(config)# ipv6 unicast-routing
D1(config)# ipv6 router ospf 123
D1(config-rtr)# router-id 1.1.1.2
D1(config-rtr)# exit
D1(config)# interface g1/0/11
D1(config-if)# ipv6 ospf 123 area 1
D1(config-if)# exit
D1(config)# interface g1/0/23
D1(config-if)# ipv6 ospf 123 area 1
D1(config-if)# exit
e. The show ipv6 ospf command can be used to verify the OSPF router ID. If the OSPFv3 router ID is uses
a 32-bit value other than the one specified by the router-id command, you can reset the router ID by
using the clear ipv6 ospf pid process command and re-verify using the command show ipv6 ospf.
D1# show ipv6 ospf
Routing Process "ospfv3 123" with ID 1.1.1.2
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
f. The show ipv6 protocols command can be used to verify general OSPFv3 information such as areas
and enabled interfaces.
D1# show ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "ND"
IPv6 Routing Protocol is "ospf 123"
Router ID 1.1.1.2
Number of areas: 1 normal, 0 stub, 0 nssa
Interfaces (Area 1):
GigabitEthernet1/0/23
GigabitEthernet1/0/11
Redistribution:
None
Close configuration window
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
In this section you will configure OSPFv3 with AF for the IPv4 and IPv6 address families on R1, R2, R3, D1
and D2.
b. Next, specify the AF for IPv4 and use the ? to see the available options.
R1(config-router)# address-family ipv4 ?
unicast Address Family modifier
vrf Specify parameters for a VPN Routing/Forwarding instance
<cr>
c. Enter the AF for IPv4 unicast using the command address-family ipv4 unicast. Use the ? to examine
the options in AF configuration mode. Some of the more common configuration commands are
highlighted. Use the router-id command to configure the router ID for the IPv4 AF.
R1(config-router)# address-family ipv4 unicast
R1(config-router-af)# ?
Router Address Family configuration commands:
adjacency Control adjacency formation
area OSPF area parameters
authentication Authentication parameters
auto-cost Calculate OSPF interface cost according to bandwidth
auto-cost-determination Calculate OSPF interface cost according to bandwidth
bfd BFD configuration commands
compatible Compatibility list
default Set a command to its defaults
default-information Control distribution of default information
default-metric Set metric of redistributed routes
discard-route Enable or disable discard-route installation
distance Define an administrative distance
distribute-list Filter networks in routing updates
event-log Event Logging
exit-address-family Exit from Address Family configuration mode
graceful-restart Graceful-restart options
help Description of the interactive help system
ignore Do not complain about specific event
interface-id Source of the interface ID
limit Limit a specific OSPF feature
local-rib-criteria Enable or disable usage of local RIB as route
criteria
log-adjacency-changes Log changes in adjacency state
manet Specify MANET OSPF parameters
max-lsa Maximum number of non self-generated LSAs to accept
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
D2(config)# ip routing
b. Enter the following command to enable routing for IPv6. (This may not be required on depending on
model and IOS.)
D2(config)# ipv6 unicast-routing
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
b. This same command on a router running OSPFv3 with AF would generate similar output. For example, on
R1 issue the same show ipv6 ospf neighbor command. Notice the output is only OSPFv3 for the IPv6
AF.
R1# show ipv6 ospf neighbor
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
c. Now, issue the show ospfv3 neighbor command on R1. This is a command used for routers configured
for OSPFv3 with AF. Notice the output includes neighbors for both IPv4 and IPv6 address families.
R1# show ospfv3 neighbor
Traditional OSPFv3 commands are similar to those for OSPFv2, except ipv6 is used as an argument
instead of ip, for example show ip ospf neighbor and show ipv6 ospf neighbor. OSPFv3 with AF uses
the argument ospfv3 which includes both OSPF for IPv4 and IPv6 AFs. For example, show ospfv3
neighbor.
Traditional OSPFv3 commands can be used when a router is configured for OSPFv3 with AF, but the
OSPFv3 AF router will only show OSPF for IPv6 AF information. OSPFv3 with AF commands cannot be
used on routers configured with traditional OSPFv3.
To summarize the show command arguments:
• OSPFv2: Use show ip ospf (IPv4 only)
• Traditional OSPFv3: Use show ipv6 ospf (IPv6 only)
• OSPFv3 with AF: Use show ospfv3 (IPv4 and IPv6 AF) or show ipv6 ospf (IPv6 only)
Question:
Why does the show ipv6 ospf neighbor command only display OSPFv3 neighbors in the IPv6 AF?
Type your answers here.
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
OI 2001:DB8:ACAD:A001::/64 [110/2]
via FE80::1:1, GigabitEthernet1/0/11
OI 2001:DB8:ACAD:A002::/64 [110/3]
via FE80::1:1, GigabitEthernet1/0/11
Question:
Display the routes using the show ip route ospf. Why are there no routes displayed using this
command?
Type your answers here.
b. Understanding the difference between commands associated with OSPFv2 and OSPFv3 can seem
challenging at times. The show ip route ospfv3 command is used to view OSPFv3 routes in the IPv4
routing table. The show ipv6 route ospf command is used to view OSPFv3 routes in the IPv6 routing
table. The show ipv6 route ospf command is the same command used with traditional OSPFv3 for IPv6.
R1# show ip route ospf
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 13 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
OI 2001:DB8:ACAD:2001::/64 [110/3]
via FE80::2:1, GigabitEthernet0/0/0
OI 2001:DB8:ACAD:2002::/64 [110/4]
via FE80::2:1, GigabitEthernet0/0/0
O 2001:DB8:ACAD:A002::/64 [110/2]
via FE80::2:1, GigabitEthernet0/0/0
Question:
Why doesn’t the show ip route ospf command display any routes on R1?
Type your answers here.
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 14 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
b. R1 is running OSPFv3 with AF. The show ospfv3 database command is used to display a summary of
the OSPFv3 LSDB for both the IPv4 and IPv6 AFs.
R1# show ospfv3 database
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 15 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 16 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
What would the show ipv6 route database command display on R1, if anything?
Type your answers here.
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 17 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
b. These connections can be changed to point-to-point using the ospfv3 network point-to-point interface
command. This command needs to be configured one both sides of the point to point interface.
R2(config)# interface g0/0/1
R2(config-if)# ospfv3 network point-to-point
R2(config-if)# exit
R2(config)# interface g0/0/0
R2(config-if)# ospfv3 network point-to-point
What is the effect on the state of the interface when changing a broadcast network to point-to-point?
Type your answers here.
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 18 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 19 of 20 www.netacad.com
Lab - Implement Multiarea OSPFv3
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
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.
End of document
© 2020 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 20 of 20 www.netacad.com