OSPFv3 Configuration Example on Cisco IOS - www.ipcisco.com : www.ipcisco.com
You can Reach Our "CCNA Lab Courses with Packet Tracer" on Udemy.!!!
cisco-packet-tracer-ccna-adventure-1- cisco-packet-tracer-ccna-adventure-2-
Content Protection by DMCA.com

OSPFv3 Configuration Example

on Cisco IOS

OSPFv3 is the IPv6 cabaple version of OSPF. The previous version of OSPF was OSPFv2. OSPFv2 is for IPv4.

Here, we will configure OSPFv3 for the below topology. As you can see, there are three areas and six routers in this topology.

ospfv3-topology-ipcisco

For OSPFv3 configuration, we will follow the below steps one by one:

1. Enabling Global IPv6 Routing
2. Enabling Interfaces for IPv6
3. IPv6 Address Configuration
4. Configuring OSPFv3 Process
5. Router ID Configuration
6. Adding Interfaces to OSPFv3 Process and Areas
7. Clear ipv6 ospf process
8. Verification

Firstly, we will enable global IPv6 Routing on each Router with “ipv6 unicast-routing” command.

Router 1 # config terminal
Router 1 (config) # ipv6 unicast-routing

Router 2 # config terminal
Router 2 (config) # ipv6 unicast-routing

Router 3 # config terminal
Router 3 (config) # ipv6 unicast-routing

Router 4 # config terminal
Router 4 (config) # ipv6 unicast-routing

Router 5 # config terminal
Router 5 (config) # ipv6 unicast-routing

Router 6 # config terminal
Router 6 (config) # ipv6 unicast-routing

Secondly, we will do the IPv6 address configurationWe will do this with “ipv6 enable” and “ipv6 address -ipv6address- eui-64“ commands. The Link-local addresses required for neighbourship, will produces with this addresses.

Router 1 (config) # interface fa0/0
Router 1 (config-if) # ipv6 enable
Router 1 (config-if) # ipv6 address 2001:1234:0:111::1/64 eui-64
Router 1 (config-if) # interface fa0/1
Router 1 (config-if) # ipv6 enable
Router 1 (config-if) # ipv6 address 2001:1234:0:222::1/64 eui-64
Router 1 (config-if) # interface fa0/1
Router 1 (config-if) # ipv6 enable
Router 1 (config-if) # ipv6 address 2001:1234:0:555::1/64 eui-64

Router 2 (config) # interface fa0/0
Router 2 (config-if) # ipv6 enable
Router 2 (config-if) # ipv6 address 2001:1234:0:111::2/64 eui-64
Router 2 (config-if) # interface fa0/1
Router 2 (config-if) # ipv6 enable
Router 2 (config-if) # ipv6 address 2001:1234:0:333::1/64 eui-64

Router 3 (config) # interface fa0/0
Router 3 (config-if) # ipv6 enable
Router 3 (config-if) # ipv6 address 2001:1234:0:444::2/64 eui-64
Router 3 (config-if) # interface fa0/1
Router 3 (config-if) # ipv6 enable
Router 3 (config-if) # ipv6 address 2001:1234:0:333::2/64 eui-64
Router 3 (config-if) # interface fa0/1
Router 3 (config-if) # ipv6 enable
Router 3 (config-if) # ipv6 address 2001:1234:0:666::1/64 eui-64

Router 4 (config) # interface fa0/0
Router 4 (config-if) # ipv6 enable
Router 4 (config-if) # ipv6 address 2001:1234:0:444::1/64 eui-64
Router 4 (config-if) # interface fa0/1
Router 4 (config-if) # ipv6 enable
Router 4 (config-if) # ipv6 address 2001:1234:0:222::2/64 eui-64

Router 5 (config) # interface fa0/0
Router 5 (config-if) # ipv6 enable
Router 5 (config-if) # ipv6 address 2001:1234:0:555::2/64 eui-64

Router 6 (config) # interface fa0/0
Router 6 (config-if) # ipv6 enable
Router 6 (config-if) # ipv6 address 2001:1234:0:666::2/64 eui-64

Now, it is time to configure OSPFv3 process under each router. We will use the process number 1 here. Beside, we will configure a router ID in IPv4 format. Because for both OSPv2 and OSPv3, Router ID is in IPv4 format.

Router 1 (config) # ipv6 router ospf 1
Router 1 (config-rtr) # router-id 1.1.1.1

Router 2 (config) # ipv6 router ospf 1
Router 2 (config-rtr) # router-id 2.2.2.2

Router 3 (config) # ipv6 router ospf 1
Router 3 (config-rtr) # router-id 1.1.1.1

Router 4 (config) # ipv6 router ospf 1
Router 4 (config-rtr) # router-id 4.4.4.4

Router 5 (config) # ipv6 router ospf 1
Router 5 (config-rtr) # router-id 5.5.5.5

Router 6 (config) # ipv6 router ospf 1
Router 6 (config-rtr) # router-id 6.6.6.6

Now, we will add the interfaces to OSPFv3 process. Like other IPv6 routing protocol configurations, in OSPFv3, we also configure the OSPFv3 process assignment under interface configuration.

Router 1 (config) # interface fa0/0
Router 1 (config-if) # ipv6 ospf 1 area 0
Router 1 (config-if) # exit
Router 1 (config) # interface fa0/1
Router 1 (config-if) # ipv6 ospf 1 area 0
Router 1 (config-if) # exit
Router 1 (config) # interface fa0/2
Router 1 (config-if) # ipv6 ospf 1 area 1
Router 1 (config-if) # exit

Router 2 (config) # interface fa0/0
Router 2 (config-if) # ipv6 ospf 1 area 0
Router 2 (config-if) # exit
Router 2 (config) # interface fa0/1
Router 2 (config-if) # ipv6 ospf 1 area 0
Router 2 (config-if) # exit

Router 3 (config) # interface fa0/0
Router 3 (config-if) # ipv6 ospf 1 area 0
Router 3 (config-if) # exit
Router 3 (config) # interface fa0/1
Router 3 (config-if) # ipv6 ospf 1 area 0
Router 3 (config-if) # exit
Router 3 (config) # interface fa0/2
Router 3 (config-if) # ipv6 ospf 1 area 2
Router 3 (config-if) # exit

Router 4 (config) # interface fa0/0
Router 4 (config-if) # ipv6 ospf 1 area 0
Router 4 (config-if) # exit
Router 4 (config) # interface fa0/1
Router 4 (config-if) # ipv6 ospf 1 area 0
Router 4 (config-if) # exit

Router 5 (config) # interface fa0/0
Router 5 (config-if) # ipv6 ospf 1 area 1
Router 5 (config-if) # exit

Router 6 (config) # interface fa0/0
Router 6 (config-if) # ipv6 ospf 1 area 2
Router 6 (config-if) # exit

After this configuration, we will use “clear ipv6 ospf process” command for the converence of the ospf process in all routers.

Router 1 # clear ipv6 ospf process
Router 2 # clear ipv6 ospf process
Router 3 # clear ipv6 ospf process
Router 4 # clear ipv6 ospf process
Router 5 # clear ipv6 ospf process
Router 6 # clear ipv6 ospf process

Lasltly, it is time for verification part of our OSPFv3 configuration example. Here, we will use the below commands for verification.You can find the result for Router 2 also.

show ipv6 ospf neighbor

show-ipv6-ospf-neighbor-ipcisco

show ipv6 ospf interface

show-ipv6-ospf-interface-ipcisco

show ipv6 ospf database

show-ipv6-ospf-database-ipcisco

show ipv6 ospf border-routers

show-ipv6-ospf-border-routers-ipcisco

In this article, we have configured OSPFv3 on Cisco routers.

IPv6 Routing Protocols…

IPv6 Routing Protocols – Part 1
IPv6 Routing Protocols – Part 2 (OSPFv3)
IPv6 Routing Protocols – Part 3 (EIGRP for IPv6)
IPv6 Routing Protocols – Part 4 (RIPng)
IPv6 Routing Protocols – Part 5 (ISIS for IPv6)

IPv6 Routing Protocols CONFIGURATIONs..!

Static/Default Route Configuration Example On Cisco IOS
OSPFv3 Configuration Example On Cisco IOS
EIGRP for IPv6 Configuration Example On Cisco IOS
RIPng Configuration Example On Cisco IOS
ISIS for IPv6 Configuration Example On Cisco IOS

You can find the other IPv6 articles below…

IPv6

IPv6 – Part 1 (IPv6 and IPv6 Addresses)
IPv6 – Part 2 (What does IPv6 bring?)
IPv6 – Part 3 (Address Types in IPv6)
IPv6 – Part 4 (Subnetting IPv6)

IPv6 Static Route Configuration Examples…

IPv6 Static Route Configuration on Cisco
IPv6 Static Route Configuration on Juniper

IPv4 and IPv6 Headers…

IPv4 and IPv6 Headers

Youn can join OUR Facebook Group with the below links!!!

You can Reach Our "CCNA Lab Courses with Packet Tracer" on Udemy.!!!
cisco-packet-tracer-ccna-adventure-1- cisco-packet-tracer-ccna-adventure-2-



About the Author
Gokhan Kosem is a telecommunation and network engineer. His ambition to IP networks and end-to-end system installation made him to prepare this web-site. By sharing his experiences about various networking protocols beside different system installation experiences and Cisco, Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for his collegues in all over the world. He is currently lives in Istanbul, Turkey.

Leave a Reply


Copy Protected by Chetan's WP-Copyprotect.