10.2.1 Packet Tracer - Configure Multiarea OSPFv3 (Answers)

10.2.1 Packet Tracer - Configure Multiarea OSPFv3 (Answers)

Topology

10.2.1 Packet Tracer - Configure Multiarea OSPFv3

10.2.1 Packet Tracer - Configure Multiarea OSPFv3

Addressing Table

Device Interface IPv6 Address OSPF Area
RA G0/0 2001:DB8:1:A1::1/64 1
G0/1 2001:DB8:1:A2::1/64 1
S0/0/0 2001:DB8:1:AB::2/64 0
Link-Local FE80::A N/A
RB G0/0 2001:DB8:1:B1::1/64 0
S0/0/0 2001:DB8:1:AB::1/64 0
S0/0/1 2001:DB8:1:BC::1/64 0
Link-Local FE80::B N/A
RC G0/0 2001:DB8:1:C1::1/64 2
G0/1 2001:DB8:1:C2::1/64 2
S0/0/1 2001:DB8:1:BC::2/64 0
Link-Local FE80::C N/A

Objectives

  • Part 1: Configure OSPFv3
  • Part 2: Verify Multiarea OSPFv3 Operations

Background / Scenario

In this activity, you will configure multiarea OSPFv3. The network is already connected and interfaces are configured with IPv6 addressing. Your job is to enable multiarea OSPFv3, verify connectivity and examine the operation of multiarea OSPFv3.

Instructions

Part 1: Configure OSPFv3

Step 1: Enable IPv6 routing and configure OSPFv3 on RA.

a. Enable IPv6 routing.

RA(config)# ipv6 unicast-routing

b. Configure OSPFv3 on RA with a process ID of 1 and a router ID of 1.1.1.1.

RA(config)# ipv6 router ospf 1
RA(config-rtr)# router-id 1.1.1.1
Step 2: Advertise each directly connected network in OSPFv3 on RA.

Configure each active IPv6 interface with OSPFv3 assigning each to the area listed in the Addressing Table.

RA(config)# interface gigabitethernet 0/0
RA(config-if)# ipv6 ospf 1 area 1
RA(config-if)# interface gigabitethernet 0/1
RA(config-if)# ipv6 ospf 1 area 1
RA(config-if)# interface serial 0/0/0
RA(config-if)# ipv6 ospf 1 area 0
Step 3: Configure OSPFv3 on RB and RC.

Repeat Steps 1 and 2 for RB and RC. The router ID for RB should be 2.2.2.2 and the router ID for RC should be 3.3.3.3.

RB(config)# ipv6 unicast-routing
RB(config)# ipv6 router ospf 1
RB(config-rtr)# router-id 2.2.2.2
RB(config-rtr)# interface gigabitethernet 0/0
RB(config-if)# ipv6 ospf 1 area 0
RB(config-if)# interface serial 0/0/0
RB(config-if)# ipv6 ospf 1 area 0
RB(config-if)# interface serial 0/0/1
RB(config-if)# ipv6 ospf 1 area 0
RC(config)# ipv6 unicast-routing
RC(config)# ipv6 router ospf 1
RC(config-rtr)# router-id 3.3.3.3
RC(config-rtr)# interface gigabitethernet 0/0
RC(config-if)# ipv6 ospf 1 area 2
RC(config-if)# interface gigabitethernet 0/1
RC(config-if)# ipv6 ospf 1 area 2
RC(config-if)# interface serial 0/0/1
RC(config-if)# ipv6 ospf 1 area 0

Part 2: Verify Multiarea OSPFv3 Operations

Step 1: Verify connectivity to each of the OSPFv3 areas.

From RA, ping each of the remote devices in area 0 and area 2:

  • 2001:DB8:1:B1::2
  • 2001:DB8:1:A1::2
  • 2001:DB8:1:A2::2
  • 2001:DB8:1:C1::2
  • 2001:DB8:1:C2::2
RA# ping 2001:db8:1:b1::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:1:b1::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/11/16 ms

RA# ping 2001:db8:1:a1::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:1:a1::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

RA# ping 2001:db8:1:a2::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:1:a2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms

RA# ping 2001:db8:1:c1::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:1:c1::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/22/31 ms

RA# ping 2001:db8:1:c2::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:1:c2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 23/24/29 ms

All pings should be successful.

Step 2: Use show commands to examine OSPFv3 operation.

Use the following commands to gather information about your OSPFv3 multiarea implementation.

RA# show ipv6 ospf
 Routing Process "ospfv3 1" with ID 1.1.1.1
 SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
 Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 0. Checksum Sum 0x000000
 Number of areas in this router is 2. 2 normal 0 stub 0 nssa
 Reference bandwidth unit is 100 mbps
    Area 1
        Number of interfaces in this area is 2
        SPF algorithm executed 9 times
        Number of LSA 14. Checksum Sum 0x071f22
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0
    Area BACKBONE(0)
        Number of interfaces in this area is 1
        SPF algorithm executed 10 times
        Number of LSA 14. Checksum Sum 0x04cb05
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0
RA# show ipv6 route
IPv6 Routing Table - 12 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
       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
       D - EIGRP, EX - EIGRP external
C   2001:DB8:1:A1::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   2001:DB8:1:A1::1/128 [0/0]
     via GigabitEthernet0/0, receive
C   2001:DB8:1:A2::/64 [0/0]
     via GigabitEthernet0/1, directly connected
L   2001:DB8:1:A2::1/128 [0/0]
     via GigabitEthernet0/1, receive
C   2001:DB8:1:AB::/64 [0/0]
     via Serial0/0/0, directly connected
L   2001:DB8:1:AB::2/128 [0/0]
     via Serial0/0/0, receive
O   2001:DB8:1:B1::/64 [110/65]
     via FE80::B, Serial0/0/0
O   2001:DB8:1:BC::/64 [110/128]
     via FE80::B, Serial0/0/0
OI  2001:DB8:1:C1::/64 [110/129]
     via FE80::B, Serial0/0/0
OI  2001:DB8:1:C2::/64 [110/129]
     via FE80::B, Serial0/0/0
O   2001:DB8:A0::/64 [110/65]
     via FE80::B, Serial0/0/0
L   FF00::/8 [0/0]
     via Null0, receive
RA# show ipv6 ospf database
            OSPF Router with ID (1.1.1.1) (Process ID 1)

                Router Link States (Area 1)

ADV Router      Age         Seq#       Fragment ID  Link count Bits
1.1.1.1         457         0x80000007 0            2          B
11.11.11.11     458         0x80000005 0            1
12.12.12.12     458         0x80000005 0            1

                Net Link States (Area 1)
ADV Router      Age         Seq#       Link ID (DR)   Rtr count
11.11.11.11     458         0x80000004 1              2
12.12.12.12     458         0x80000004 1              2

                Inter Area Prefix Link States (Area 1)
ADV Router      Age         Seq#       Metric Prefix
1.1.1.1         453         0x80000013 64     2001:DB8:1:AB::/64
1.1.1.1         792         0x80000011 65     2001:DB8:1:B1::/64
1.1.1.1         792         0x80000012 128    2001:DB8:1:BC::/64
1.1.1.1         431         0x80000014 129    2001:DB8:1:C2::/64
1.1.1.1         431         0x80000015 129    2001:DB8:1:C1::/64
1.1.1.1         103         0x80000016 65     2001:DB8:A0::/64

                Link (Type-8) Link States (Area 1)
ADV Router      Age         Seq#       Link ID    Interface
1.1.1.1         457         0x80000009 1          Gi0/0
1.1.1.1         457         0x8000000a 2          Gi0/1
11.11.11.11     463         0x80000005 1          Gi0/0
12.12.12.12     463         0x80000005 1          Gi0/1

                Intra Area Prefix Link States (Area 1)
ADV Router      Age         Seq#       Link ID    Ref-lstype  Ref-LSID
1.1.1.1         462         0x80000005 2          0x2001      0
11.11.11.11     458         0x80000007 1          0x2002      1
12.12.12.12     458         0x80000007 1          0x2002      1
            OSPF Router with ID (1.1.1.1) (Process ID 1)

                Router Link States (Area 0)

ADV Router      Age         Seq#       Fragment ID  Link count Bits
1.1.1.1         802         0x80000006 0            1          B
2.2.2.2         1253        0x80000016 0            3          B
3.3.3.3         1193        0x80000009 0            1          B
21.21.21.21     358         0x80000007 0            1

                Net Link States (Area 0)
ADV Router      Age         Seq#       Link ID (DR)   Rtr count
21.21.21.21     801         0x80000003 1              2

                Inter Area Prefix Link States (Area 0)
ADV Router      Age         Seq#       Metric Prefix
1.1.1.1         457         0x80000007 1      2001:DB8:1:A1::/64
1.1.1.1         457         0x80000008 1      2001:DB8:1:A2::/64
3.3.3.3         687         0x80000006 1      2001:DB8:1:C2::/64
3.3.3.3         677         0x80000007 1      2001:DB8:1:C1::/64

                Link (Type-8) Link States (Area 0)
ADV Router      Age         Seq#       Link ID    Interface
1.1.1.1         445         0x80000005 4          Se0/0/0
2.2.2.2         127         0x80000013 4          Se0/0/0

                Intra Area Prefix Link States (Area 0)
ADV Router      Age         Seq#       Link ID    Ref-lstype  Ref-LSID
1.1.1.1         461         0x80000004 2          0x2001      0
2.2.2.2         806         0x80000007 2          0x2001      0
21.21.21.21     801         0x80000009 1          0x2002      1
RA# show ipv6 ospf interface
GigabitEthernet0/0 is up, line protocol is up
  Link Local Address FE80::A, Interface ID 1
  Area 1, Process ID 1, Instance ID 0, Router ID 1.1.1.1
  Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State BDR, Priority 1
  Designated Router (ID) 11.11.11.11, local address FE80::A
  Backup Designated Router (ID) 1.1.1.1, local address FE80::A
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Index 1/1, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 11.11.11.11  (Designated Router)
  Suppress hello for 0 neighbor(s)
GigabitEthernet0/1 is up, line protocol is up
  Link Local Address FE80::A, Interface ID 2
  Area 1, Process ID 1, Instance ID 0, Router ID 1.1.1.1
  Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State BDR, Priority 1
  Designated Router (ID) 12.12.12.12, local address FE80::A
  Backup Designated Router (ID) 1.1.1.1, local address FE80::A
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 12.12.12.12  (Designated Router)
  Suppress hello for 0 neighbor(s)
Serial0/0/0 is up, line protocol is up
  Link Local Address FE80::A, Interface ID 4
  Area 0, Process ID 1, Instance ID 0, Router ID 1.1.1.1
  Network Type POINT-TO-POINT, Cost: 64
  Transmit Delay is 1 sec, State POINT-TO-POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Index 3/3, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1 , Adjacent neighbor count is 1
    Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)
RA# show ipv6 ospf neighbor

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
11.11.11.11       1   FULL/DR         00:00:33    1               GigabitEthernet0/0
12.12.12.12       1   FULL/DR         00:00:33    1               GigabitEthernet0/1
2.2.2.2           0   FULL/  -        00:00:34    4               Serial0/0/0

Note: Packet Tracer output for show ipv6 protocols is currently not aligned with IOS 15 output. Refer to the physical equipment labs for correct show command output.

Device Configs - Final

ROUTER RA

! ==============================================================
!--- 10.2.1 Packet Tracer - Configure Multiarea OSPFv3
!--- ANSWER SCRIPT FOR ROUTER RA (Area Border Router: Area 1 <-> Area 0)
!--- Usage: copy this whole file and paste it into the RA terminal (start at the RA> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
!--- Scope: IPv6 interface addressing is already configured on all
!--- three routers per the activity's own Background note - this script
!--- only enables IPv6 routing and multiarea OSPFv3.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Part 1, Step 1: Enable IPv6 routing and start OSPFv3 process 1.
! --------------------------------------------------------------

!--- Required before any IPv6 routing protocol will forward traffic -
!--- IPv6 forwarding is off by default even with interfaces addressed.
ipv6 unicast-routing

ipv6 router ospf 1

!--- Explicit router ID, as required.
 router-id 1.1.1.1
 exit

! --------------------------------------------------------------
!--- Part 1, Step 2: Enable OSPFv3 on each active interface and assign
!--- its area. Unlike OSPFv2, there is no "network" command - OSPFv3 is
!--- enabled per interface directly.
! --------------------------------------------------------------

!--- LAN interfaces G0/0 and G0/1 both belong to Area 1.
interface gigabitethernet 0/0
 ipv6 ospf 1 area 1
 exit
interface gigabitethernet 0/1
 ipv6 ospf 1 area 1
 exit

!--- Serial link to RB belongs to the Area 0 backbone - this is what
!--- makes RA an Area Border Router (ABR).
interface serial 0/0/0
 ipv6 ospf 1 area 0
 exit

end

! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config


! ==============================================================
!--- Verification:
!---   show ipv6 ospf neighbor    -> FULL with 11.11.11.11 (Gi0/0), 12.12.12.12 (Gi0/1) and RB 2.2.2.2 (Se0/0/0)
!---   show ipv6 route ospf       -> O routes to 2001:db8:1:b1::/64, bc::/64, 2001:db8:a0::/64; OI routes to c1::/64, c2::/64
!---   show ipv6 ospf interface brief  -> Gi0/0 and Gi0/1 in Area 1, Se0/0/0 in Area 0
!---   ping 2001:db8:1:b1::2 / ping 2001:db8:1:c1::2 / ping 2001:db8:1:c2::2  -> RB's LAN and RC's LAN
!--- Note: the original Cisco lab listed RC's G0/1 as 2001:db8:1:d2::1/64
!--- (a typo); the correct prefix is 2001:db8:1:c2::/64, as shown in the
!--- Addressing Table above and confirmed by Part 2's ping to c2::2.
!--- This doesn't affect this script (OSPFv3 is enabled per-interface,
!--- not by network address).
!--- Note: if pings to another area fail even though every router shows
!--- the expected OI routes, the OSPFv3 database may hold stale entries.
!--- Run "clear ipv6 ospf process" (answer "yes") on the affected router,
!--- then check "show ipv6 route" again.
! ==============================================================

ROUTER RB

! ==============================================================
!--- 10.2.1 Packet Tracer - Configure Multiarea OSPFv3
!--- ANSWER SCRIPT FOR ROUTER RB (internal backbone router, Area 0 only)
!--- Usage: copy this whole file and paste it into the RB terminal (start at the RB> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
!--- Scope: IPv6 interface addressing is already configured on all
!--- three routers per the activity's own Background note - this script
!--- only enables IPv6 routing and multiarea OSPFv3.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Part 1, Step 3: Enable IPv6 routing and start OSPFv3 process 1.
! --------------------------------------------------------------

ipv6 unicast-routing

ipv6 router ospf 1

!--- Explicit router ID, as required.
 router-id 2.2.2.2
 exit

! --------------------------------------------------------------
!--- Part 1, Step 3: Enable OSPFv3 on each active interface. RB has no
!--- interface outside Area 0 - it's a purely internal backbone router,
!--- not an ABR.
! --------------------------------------------------------------

!--- LAN interface, and both serial links to RA and RC - all Area 0.
interface gigabitethernet 0/0
 ipv6 ospf 1 area 0
 exit
interface serial 0/0/0
 ipv6 ospf 1 area 0
 exit
interface serial 0/0/1
 ipv6 ospf 1 area 0
 exit

end

! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config


! ==============================================================
!--- Verification:
!---   show ipv6 ospf neighbor    -> FULL with RA 1.1.1.1 (Se0/0/0), RC 3.3.3.3 (Se0/0/1) and 21.21.21.21 (Gi0/0)
!---   show ipv6 route ospf       -> OI routes to 2001:db8:1:a1::/64, a2::/64 via fe80::a, Se0/0/0
!---                                 and to c1::/64, c2::/64 via fe80::c, Se0/0/1; O route to 2001:db8:a0::/64
!---   show ipv6 ospf interface brief  -> Gi0/0, Se0/0/0, Se0/0/1 all in Area 0
!--- Note: if pings to another area fail even though every router shows
!--- the expected OI routes, the OSPFv3 database may hold stale entries.
!--- Run "clear ipv6 ospf process" (answer "yes") on the affected router,
!--- then check "show ipv6 route" again.
! ==============================================================

ROUTER RC

! ==============================================================
!--- 10.2.1 Packet Tracer - Configure Multiarea OSPFv3
!--- ANSWER SCRIPT FOR ROUTER RC (Area Border Router: Area 2 <-> Area 0)
!--- Usage: copy this whole file and paste it into the RC terminal (start at the RC> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.
!--- Scope: IPv6 interface addressing is already configured on all
!--- three routers per the activity's own Background note - this script
!--- only enables IPv6 routing and multiarea OSPFv3.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Part 1, Step 3: Enable IPv6 routing and start OSPFv3 process 1.
! --------------------------------------------------------------

ipv6 unicast-routing

ipv6 router ospf 1

!--- Explicit router ID, as required.
 router-id 3.3.3.3
 exit

! --------------------------------------------------------------
!--- Part 1, Step 3: Enable OSPFv3 on each active interface and assign
!--- its area.
! --------------------------------------------------------------

!--- LAN interfaces G0/0 and G0/1 both belong to Area 2.
interface gigabitethernet 0/0
 ipv6 ospf 1 area 2
 exit
interface gigabitethernet 0/1
 ipv6 ospf 1 area 2
 exit

!--- Serial link to RB belongs to the Area 0 backbone - this is what
!--- makes RC an Area Border Router (ABR).
interface serial 0/0/1
 ipv6 ospf 1 area 0
 exit

end

! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config


! ==============================================================
!--- Verification:
!---   show ipv6 ospf neighbor    -> FULL with 31.31.31.31 (Gi0/0), 32.32.32.32 (Gi0/1) and RB 2.2.2.2 (Se0/0/1)
!---   show ipv6 route ospf       -> O routes to 2001:db8:1:ab::/64, b1::/64, 2001:db8:a0::/64; OI routes to a1::/64, a2::/64
!---   show ipv6 ospf interface brief  -> Gi0/0 and Gi0/1 in Area 2, Se0/0/1 in Area 0
!--- Note: the original Cisco lab listed G0/1 as 2001:db8:1:d2::1/64
!--- (a typo); the correct address is 2001:db8:1:c2::1/64, as shown in
!--- the Addressing Table above and confirmed by Part 2's ping to c2::2.
!--- Note: if pings to another area fail even though every router shows
!--- the expected OI routes, the OSPFv3 database may hold stale entries.
!--- Run "clear ipv6 ospf process" (answer "yes") on the affected router,
!--- then check "show ipv6 route" again.
! ==============================================================

Download 10.2.1 Packet Tracer - Configure Multiarea OSPFv3 .PKA file:

Subscribe
Notify of
guest

0 Corrections & Clarifications