The traditional approach to OSPFv3 configuration involves creating an OSPF routing process, going into the interfaces that you want to participate in the OSPF process, and instructing those interfaces to be part of that process.
The steps required to configure OSPFv3 using the traditional approach are as follows:
Step 1: Enable IPv6 unicast routing on the router (if it is not already enabled). This can be accomplished with the
ipv6 unicast-routing global configuration mode command. Although not required, a best practice is to also enable Cisco Express Forwarding (CEF) for IPv6, using the
ipv6 cef command, because CEF enables the router to make more efficient route lookups.
Step 2: Start the OSPF process with the
ipv6 router ospf <process-id> command, issued in global configuration mode.
Step 3: (Optional) Configure a router ID for the OSPF process with the
router-id <rid> command, where the
rid is a 32-bit value, in router configuration mode. This router ID is commonly an IPv4 address of one of the router’s interfaces. If you do not statically configure a router ID, the router attempts to dynamically determine a router ID to use based on currently active IPv4 addresses on the router. However, if you do not set a router ID, and no active IPv4 addresses exist on the router, the OSPF process will fail to start.
Step 4: Instruct one or more interfaces to participate in the OSPF routing process by entering the
ipv6 ospf <process-id> area <area_number> command in interface configuration mode.
Here's a nice
link comparing OSPFv2 and OSPFv3 routing protocol.
R1#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R1(config)#interface
loop 0
R1(config-if)#
*Jun 30
08:01:55.435: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0,
changed state to up
R1(config-if)#ip
address 192.168.1.1 255.255.255.0
R1(config-if)#ipv6
address 2001:db8:cafe:1::1/64
R1(config-if)#
R1(config-if)#interface
serial 2/0
R1(config-if)#ip
address 192.168.2.1 255.255.255.252
R1(config-if)#ipv6
address 2001:db8:cafe:2::1/64
R1(config-if)#no
shut
R1(config-if)#
*Jun 30
08:03:21.803: %LINK-3-UPDOWN: Interface Serial2/0, changed state to up
R1(config-if)#
*Jun 30
08:03:22.815: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,
changed state to up
R1(config-if)#end
R1#
R2#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R2(config)#interface
loop 0
R2(config-if)#
*Jun 30
08:05:12.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0,
changed state to up
R2(config-if)#ip
address 192.168.3.1 255.255.255.0
R2(config-if)#ipv6
address 2001:db8:cafe:3::1/64
R2(config-if)#
R2(config-if)#interface
serial 2/0
R2(config-if)#ip
address 192.168.2.2 255.255.255.252
R2(config-if)#ipv6
address 2001:db8:cafe:2::2/64
R2(config-if)#no
shut
R2(config-if)#
*Jun 30
08:06:18.031: %LINK-3-UPDOWN: Interface Serial2/0, changed state to up
R2(config-if)#
*Jun 30
08:06:19.043: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,
changed state to up
R2(config-if)#do
ping 192.168.2.1
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 12/19/24 ms
R2(config-if)#do
ping 2001:db8:cafe:2::1
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 2001:DB8:CAFE:2::1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 8/13/20 ms
R2(config-if)#
R2(config-if)#interface
serial 2/1
R2(config-if)#ip
address 192.168.4.1 255.255.255.252
R2(config-if)#ipv6
address 2001:db8:cafe:4::1/64
R2(config-if)#no
shut
R2(config-if)#
*Jun 30
08:07:27.279: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R2(config-if)#
*Jun 30
08:07:28.291: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1,
changed state to up
R2(config-if)#end
R2#
R3#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R3(config)#interface
loop 0
R3(config-if)#
*Jun 30
08:08:12.387: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0,
changed state to up
R3(config-if)#ip
address 192.168.5.1 255.255.255.0
R3(config-if)#ipv6
address 2001:db8:cafe:5::1/64
R3(config-if)#
R3(config-if)#interface
serial 2/1
R3(config-if)#ip
address 192.168.4.2 255.255.255.252
R3(config-if)#ipv6
address 2001:db8:cafe:4::2/64
R3(config-if)#no
shut
R3(config-if)#
*Jun 30
08:09:13.667: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R3(config-if)#
*Jun 30
08:09:14.679: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1,
changed state to up
R3(config-if)#do
ping 192.168.4.1
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 192.168.4.1, timeout is 2 seconds:
.!!!!
Success
rate is 80 percent (4/5), round-trip min/avg/max = 16/41/84 ms
R3(config-if)#
R3(config-if)#do
ping 2001:db8:cafe:4::1
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 2001:DB8:CAFE:4::1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 16/17/24 ms
R3(config-if)#
R3(config-if)#interface
serial 2/2
R3(config-if)#ip
address 192.168.77.2 255.255.255.0
R3(config-if)#ipv6
address 2001:db8:feed:77::2/64
R3(config-if)#no
shut
R3(config-if)#
*Jun 30
08:10:30.327: %LINK-3-UPDOWN: Interface Serial2/2, changed state to up
R3(config-if)#
*Jun 30
08:10:31.339: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2,
changed state to up
R3(config-if)#end
R3#
R4#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R4(config)#interface
loop 0
R4(config-if)#
*Jun 30
08:11:28.283: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0,
changed state to up
R4(config-if)#ip
address 192.168.99.1 255.255.255.0
R4(config-if)#ipv6
address 2001:db8:99::1/64
R4(config-if)#
R4(config-if)#interface
serial 2/2
R4(config-if)#ip
address 192.168.77.1 255.255.255.0
R4(config-if)#ipv6
address 2001:db8:feed:77::1/64
R4(config-if)#no
shut
R4(config-if)#
*Jun 30
08:12:55.455: %LINK-3-UPDOWN: Interface Serial2/2, changed state to up
R4(config-if)#
*Jun 30
08:12:56.467: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2,
changed state to up
R4(config-if)#
R4(config-if)#do
ping 192.168.77.2
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 192.168.77.2, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 12/25/48 ms
R4(config-if)#
R4(config-if)#do
ping 2001:db8:feed:77::2
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 2001:DB8:FEED:77::2, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 16/19/24 ms
R4(config-if)#
R4(config-if)#ipv6
unicast-routing
R4(config)#ipv6
route 2001:db8:cafe::/48 2001:db8:feed:77::2
R4(config)#ip
route 0.0.0.0 0.0.0.0 192.168.77.2
R4(config)#end
R4#
R1#show
ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset
administratively down down
FastEthernet1/0 unassigned YES unset
administratively down down
FastEthernet1/1 unassigned YES unset
administratively down down
Serial2/0 192.168.2.1 YES manual up up
Serial2/1 unassigned YES unset
administratively down down
Serial2/2 unassigned YES unset
administratively down down
Serial2/3 unassigned YES unset
administratively down down
Loopback0 192.168.1.1 YES manual up up
R1#
R1#show
ipv6 interface brief
FastEthernet0/0 [administratively down/down]
unassigned
FastEthernet1/0 [administratively down/down]
unassigned
FastEthernet1/1 [administratively down/down]
unassigned
Serial2/0 [up/up]
FE80::C801:15FF:FEB0:0
2001:DB8:CAFE:2::1
Serial2/1 [administratively down/down]
unassigned
Serial2/2 [administratively down/down]
unassigned
Serial2/3 [administratively down/down]
unassigned
Loopback0 [up/up]
FE80::C801:15FF:FEB0:0
2001:DB8:CAFE:1::1
R2#show
ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset
administratively down down
FastEthernet1/0 unassigned YES unset
administratively down down
FastEthernet1/1 unassigned YES unset
administratively down down
Serial2/0 192.168.2.2 YES manual up up
Serial2/1 192.168.4.1 YES manual up up
Serial2/2 unassigned YES unset
administratively down down
Serial2/3 unassigned YES unset
administratively down down
Loopback0 192.168.3.1 YES manual up up
R2#
R2#show
ipv6 interface brief
FastEthernet0/0 [administratively down/down]
unassigned
FastEthernet1/0 [administratively down/down]
unassigned
FastEthernet1/1 [administratively down/down]
unassigned
Serial2/0 [up/up]
FE80::C802:16FF:FECC:0
2001:DB8:CAFE:2::2
Serial2/1 [up/up]
FE80::C802:16FF:FECC:0
2001:DB8:CAFE:4::1
Serial2/2 [administratively down/down]
unassigned
Serial2/3 [administratively down/down]
unassigned
Loopback0 [up/up]
FE80::C802:16FF:FECC:0
2001:DB8:CAFE:3::1
R3#show
ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset
administratively down down
FastEthernet1/0 unassigned YES unset
administratively down down
FastEthernet1/1 unassigned YES unset
administratively down down
Serial2/0 unassigned YES unset
administratively down down
Serial2/1 192.168.4.2 YES manual up up
Serial2/2 192.168.77.2 YES manual up up
Serial2/3 unassigned YES unset
administratively down down
Loopback0 192.168.5.1 YES manual up up
R3#
R3#show
ipv6 interface brief
FastEthernet0/0 [administratively down/down]
unassigned
FastEthernet1/0 [administratively down/down]
unassigned
FastEthernet1/1 [administratively down/down]
unassigned
Serial2/0 [administratively down/down]
unassigned
Serial2/1 [up/up]
FE80::C803:1BFF:FE10:0
2001:DB8:CAFE:4::2
Serial2/2 [up/up]
FE80::C803:1BFF:FE10:0
2001:DB8:FEED:77::2
Serial2/3 [administratively down/down]
unassigned
Loopback0 [up/up]
FE80::C803:1BFF:FE10:0
2001:DB8:CAFE:5::1
R4#show
ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset
administratively down down
FastEthernet1/0 unassigned YES unset
administratively down down
FastEthernet1/1 unassigned YES unset
administratively down down
Serial2/0 unassigned YES unset
administratively down down
Serial2/1 unassigned YES unset
administratively down down
Serial2/2 192.168.77.1 YES manual up up
Serial2/3 unassigned YES unset
administratively down down
Loopback0 192.168.99.1 YES manual up up
R4#
R4#show
ipv6 interface brief
FastEthernet0/0 [administratively down/down]
unassigned
FastEthernet1/0 [administratively down/down]
unassigned
FastEthernet1/1 [administratively down/down]
unassigned
Serial2/0 [administratively down/down]
unassigned
Serial2/1 [administratively down/down]
unassigned
Serial2/2 [up/up]
FE80::C804:10FF:FE70:0
2001:DB8:FEED:77::1
Serial2/3 [administratively down/down]
unassigned
Loopback0 [up/up]
FE80::C804:10FF:FE70:0
2001:DB8:99::1
R3#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R3(config)#ipv6
unicast-routing
R3(config)#router
o?
odr ospf
ospfv3
R3(config)#router
ospfv3 ?
<1-65535> Process ID
R3(config)#router
ospfv3 1 // OSPFv3 UNIFIES IPv4 AND IPv6 CONFIG USING ADDRESS FAMILY INSTANCES
R3(config-router)#?
Router
configuration commands:
address-family Enter Address Family command mode
area OSPF area parameters
auto-cost Calculate OSPF interface cost
according to bandwidth
bfd BFD configuration commands
compatible Compatibility list
default Set a command to its defaults
event-log Event Logging
exit Exit from routing protocol
configuration mode
graceful-restart Graceful-restart options
help Description of the
interactive help system
interface-id Source of the interface ID
log-adjacency-changes Log changes in adjacency state
manet Specify MANET OSPF parameters
max-lsa Maximum number of non
self-generated LSAs to accept
max-metric Set maximum metric
no Negate a command or set
its defaults
passive-interface Suppress routing updates on an interface
queue-depth Hello/Router process queue depth
router-id router-id for this OSPF process
timers Adjust routing timers
R3(config-router)#address-family
?
ipv4
Address family
ipv6
Address family
R3(config-router)#address-family
ipv4 ?
unicast
Address Family modifier
R3(config-router)#address-family
ipv4 unicast // IPv4 ADDRESS-FAMILY
R3(config-router-af)#?
Router
Address Family configuration commands:
area OSPF area parameters
auto-cost 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
interface-id Source of the interface ID
log-adjacency-changes Log changes in adjacency state
manet Specify MANET OSPF parameters
max-lsa Maximum number of non
self-generated LSAs to accept
max-metric Set maximum metric
maximum-paths Forward packets over multiple paths
no Negate a command or set
its defaults
passive-interface Suppress routing updates on an interface
queue-depth Hello/Router process queue depth
redistribute Redistribute information from
another routing protocol
router-id router-id for this OSPF process
snmp Modify snmp parameters
summary-prefix Configure IP address summaries
timers Adjust routing timers
R3(config-router-af)#router-id
3.3.3.3
R3(config-router-af)#passive-interface
loop 0
R3(config-router-af)#exit-address-family
R3(config-router)#address-family
ipv6 unicast // IPv6 ADDRESS-FAMILY
R3(config-router-af)#?
Router
Address Family configuration commands:
area OSPF area parameters
auto-cost Calculate OSPF interface cost
according to bandwidth
bfd BFD configuration commands
compatible Compatibility list
default Set a command to its defaults
default-information Distribution of default information
default-metric Set metric of redistributed routes
discard-route Enable or disable discard-route
installation
distance 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
interface-id Source of the interface ID
log-adjacency-changes Log changes in adjacency state
manet Specify MANET OSPF parameters
max-lsa Maximum number of non
self-generated LSAs to accept
max-metric Set maximum metric
maximum-paths Forward packets over multiple paths
no Negate a command or set
its defaults
passive-interface Suppress routing updates on an interface
queue-depth Hello/Router process queue depth
redistribute Redistribute IPv6 prefixes from
another routing
protocol
router-id router-id for this OSPF process
snmp Modify snmp parameters
summary-prefix Configure IPv6 summary prefix
table-map Map external entry attributes
into routing table
timers Adjust routing timers
R3(config-router-af)#router-id
3.3.3.6 // ROUTER-ID FOR IPv6 AF DON'T HAVE TO MATCH IPv4
R3(config-router-af)#passive-interface
loop 0
R3(config-router-af)#exit
R3(config-router)#exit
R3(config)#interface
loop 0
R3(config-if)#o?
ospfv3
R3(config-if)#ospfv3
?
<1-65535> Process ID
authentication Enable authentication
cost Route cost of this interface
database-filter Filter OSPF LSA during synchronization
and flooding
dead-interval Interval after which a neighbor is
declared dead
demand-circuit OSPF demand circuit
encryption Enable encryption
flood-reduction OSPF Flood Reduction
hello-interval Time between HELLO packets
manet Mobile Adhoc Networking options
mtu-ignore Ignores the MTU in DBD packets
neighbor OSPF neighbor
network Network type
priority Router priority
retransmit-interval Time between retransmitting lost link state
advertisements
transmit-delay Link state transmit delay
R3(config-if)#ospfv3
1 ?
cost Route cost of this interface
database-filter Filter OSPF LSA during synchronization
and flooding
dead-interval Interval after which a neighbor is
declared dead
demand-circuit OSPF demand circuit
flood-reduction OSPF Flood Reduction
hello-interval Time between HELLO packets
ipv4 Specify parameters for IPv4
ipv6 Specify parameters for IPv6
manet Mobile Adhoc Networking options
mtu-ignore Ignores the MTU in DBD packets
neighbor OSPF neighbor
network Network type
priority Router priority
retransmit-interval Time between retransmitting lost link state
advertisements
transmit-delay Link state transmit delay
R3(config-if)#ospfv3
1 ipv4 ?
area Set the OSPF area ID
cost Route cost of this interface
database-filter Filter OSPF LSA during synchronization
and flooding
dead-interval Interval after which a neighbor is
declared dead
demand-circuit OSPF demand circuit
flood-reduction OSPF Flood Reduction
hello-interval Time between HELLO packets
manet Mobile Adhoc Networking options
mtu-ignore Ignores the MTU in DBD packets
neighbor OSPF neighbor
network Network type
priority Router priority
retransmit-interval Time between retransmitting lost link state
advertisements
transmit-delay Link state transmit delay
R3(config-if)#ospfv3
1 ipv4 area ?
<0-4294967295> OSPF area ID as a decimal value
A.B.C.D OSPF area ID in IP address format
R3(config-if)#ospfv3
1 ipv4 area 0
R3(config-if)#ospfv3
1 ipv6 area 0
R3(config-if)#
R3(config-if)#interface
serial 2/1
R3(config-if)#ospfv3
1 ipv4 area 0
R3(config-if)#ospfv3
1 ipv6 area 0
R3(config-if)#end
R3#
*Jun 30 08:25:28.063:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 2.2.2.2 on Serial2/1 from LOADING to
FULL, Loading Done
R3#
*Jun 30 08:25:29.823:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 2.2.2.6 on Serial2/1 from LOADING to
FULL, Loading Done
R2#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R2(config)#ipv6
unicast
R2(config)#router
ospfv3 1
R2(config-router)#address-family
ipv4 unicast
R2(config-router-af)#router-id
2.2.2.2
R2(config-router-af)#passive-interface
loop 0
R2(config-router-af)#exit
R2(config-router)#address-family
ipv6 unicast
R2(config-router-af)#router-id
2.2.2.6
R2(config-router-af)#passive-interface
loop 0
R2(config-router-af)#exit
R2(config-router)#exit
R2(config)#interface
loop 0
R2(config-if)#ospfv3
1 ipv4 area 0
R2(config-if)#ospfv3
1 ipv6 area 0
R2(config-if)#
R2(config-if)#interface
serial 2/1
R2(config-if)#ospfv3
1 ipv4 area 0
R2(config-if)#ospfv3
1 ipv6 area 0
R2(config-if)#
*Jun 30 08:25:27.799:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 3.3.3.3 on Serial2/1 from LOADING to
FULL, Loading Done
R2(config-if)#
*Jun 30 08:25:29.567:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 3.3.3.6 on Serial2/1 from LOADING to
FULL, Loading Done
R2(config-if)#
R2(config-if)#interface
serial 2/0
R2(config-if)#ospfv3
1 ipv4 area 51
R2(config-if)#ospfv3
1 ipv6 area 51
R2(config-if)#end
R2#
*Jun 30 08:29:20.603:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 1.1.1.1 on Serial2/0 from LOADING to
FULL, Loading Done
R2#
*Jun 30 08:29:30.227:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 1.1.1.6 on Serial2/0 from LOADING to
FULL, Loading Done
R1#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R1(config)#ipv6
unicast
R1(config)#router
ospfv3 11
R1(config-router)#exit
R1(config)#no
router ospfv3 11
R1(config)#router
ospfv3 1
R1(config-router)#address-family
ipv4 unicast
R1(config-router-af)#router-id
1.1.1.1
R1(config-router-af)#passive-interface
loop 0
R1(config-router-af)#exit
R1(config-router)#address-family
ipv6 unicast
R1(config-router-af)#router-id
1.1.1.6
R1(config-router-af)#passive-interface
loop 0
R1(config-router-af)#exit
R1(config-router)#interface
loop 0
R1(config-if)#ospfv3
1 ipv4 area 51
R1(config-if)#ospfv3
1 ipv6 area 51
R1(config-if)#
R1(config-if)#interface
serial 2/0
R1(config-if)#ospfv3
1 ipv4 area 51
R1(config-if)#
*Jun 30 08:28:10.399:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 2.2.2.2 on Serial2/0 from LOADING to
FULL, Loading Done
R1(config-if)#
R1(config-if)#ospfv3
1 ipv6 area 51
R1(config-if)#
*Jun 30 08:28:20.027:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 2.2.2.6 on Serial2/0 from LOADING to
FULL, Loading Done
R1(config-if)#end
R1#
R2#show
ip ospf neighbor
R2#
R2#show
ipv6 ospf neighbor
OSPFv3 Router with ID (2.2.2.6)
(Process ID 1)
Neighbor
ID Pri State Dead Time Interface ID Interface
3.3.3.6 0
FULL/ - 00:00:31 7 Serial2/1
1.1.1.6 0
FULL/ - 00:00:31 6 Serial2/0
R2#show
ospfv3 ?
<1-65535> Process ID number
bad-checksum Packets received with a bad checksum
border-routers Border and Boundary Router Information
database Database summary
events Event log
flood-list Link state flood list
graceful-restart Graceful restart information
interface Interface information
ipv4 Address family
ipv6 Address family
max-metric Max-metric origination information
neighbor Neighbor list
promiscuous Promiscuously learned/cached
information
request-list Link state request list
retransmission-list Link state retransmission list
rib Routing Information Base
(RIB)
sham-links Sham link information
statistic Statistics
summary-prefix Summary-prefix redistribution
Information
timers Timer lists
traffic Traffic statistics
virtual-links Virtual link information
vrf VPN Routing/Forwarding
instance
| Output modifiers
<cr>
R2#show
ospfv3 neighbor // CORRECT COMMAND TO VERIFY OSPFv3 NEIGHBOR ADJACENCY
OSPFv3 1 address-family ipv4 (router-id 2.2.2.2)
Neighbor
ID Pri State Dead Time Interface ID Interface
3.3.3.3 0
FULL/ - 00:00:39 7 Serial2/1
1.1.1.1 0
FULL/ - 00:00:37 6 Serial2/0
OSPFv3 1 address-family ipv6 (router-id 2.2.2.6)
Neighbor
ID Pri State Dead Time Interface ID Interface
3.3.3.6 0
FULL/ - 00:00:36 7 Serial2/1
1.1.1.6 0
FULL/ - 00:00:36 6 Serial2/0
R3#show
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is not set
192.168.1.0/32 is subnetted, 1 subnets
O IA 192.168.1.1 [110/128] via 192.168.4.1,
00:04:01, Serial2/1
192.168.2.0/30 is subnetted, 1 subnets
O IA 192.168.2.0 [110/128] via 192.168.4.1,
00:07:24, Serial2/1
192.168.3.0/32 is subnetted, 1 subnets
O 192.168.3.1 [110/64] via 192.168.4.1,
00:07:28, Serial2/1
192.168.4.0/24 is variably subnetted, 2
subnets, 2 masks
C 192.168.4.0/30 is directly connected,
Serial2/1
L 192.168.4.2/32 is directly connected,
Serial2/1
192.168.5.0/24 is variably subnetted, 2
subnets, 2 masks
C 192.168.5.0/24 is directly connected,
Loopback0
L 192.168.5.1/32 is directly connected,
Loopback0
192.168.77.0/24 is variably subnetted, 2
subnets, 2 masks
C 192.168.77.0/24 is directly connected,
Serial2/2
L 192.168.77.2/32 is directly connected,
Serial2/2
R3#show
ipv6 route
IPv6
Routing Table - default - 10 entries
Codes: C
- Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile
Router, 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, l - LISP
OI 2001:DB8:CAFE:1::1/128 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/1
OI 2001:DB8:CAFE:2::/64 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/1
O 2001:DB8:CAFE:3::1/128 [110/64]
via FE80::C802:16FF:FECC:0, Serial2/1
C 2001:DB8:CAFE:4::/64 [0/0]
via Serial2/1, directly connected
L 2001:DB8:CAFE:4::2/128 [0/0]
via Serial2/1, receive
C 2001:DB8:CAFE:5::/64 [0/0]
via Loopback0, directly connected
L 2001:DB8:CAFE:5::1/128 [0/0]
via Loopback0, receive
C 2001:DB8:FEED:77::/64 [0/0]
via Serial2/2, directly connected
L 2001:DB8:FEED:77::2/128 [0/0]
via Serial2/2, receive
L FF00::/8 [0/0]
via Null0, receive
R3#show
ip route ospf
R3#
R3#show
ip route o?
Hostname
or A.B.C.D odr ospf
ospfv3
R3#show
ip route ospfv3 // COMMAND TO VIEW IPv4 ROUTING TABLE
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is not set
192.168.1.0/32 is subnetted, 1 subnets
O IA 192.168.1.1 [110/128] via 192.168.4.1,
00:05:49, Serial2/1
192.168.2.0/30 is subnetted, 1 subnets
O IA 192.168.2.0 [110/128] via 192.168.4.1,
00:09:12, Serial2/1
192.168.3.0/32 is subnetted, 1 subnets
O 192.168.3.1 [110/64] via 192.168.4.1,
00:09:16, Serial2/1
R3#show
ipv6 route ospf
IPv6
Routing Table - default - 10 entries
Codes: C
- Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile
Router, 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, l - LISP
OI 2001:DB8:CAFE:1::1/128 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/1
OI 2001:DB8:CAFE:2::/64 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/1
O 2001:DB8:CAFE:3::1/128 [110/64]
via FE80::C802:16FF:FECC:0, Serial2/1
R3#conf t // PROPAGATE DEFAULT ROUTE IN OSPFv3
Enter
configuration commands, one per line.
End with CNTL/Z.
R3(config)#ip
route 0.0.0.0 0.0.0.0 192.168.77.1
R3(config)#ipv6
route ::/0 2001:db8:feed:77::1
R3(config)#router
ospfv3 1
R3(config-router)#address-family
ipv4 unicast
R3(config-router-af)#default-information
originate
R3(config-router-af)#exit
R3(config-router)#address-family
ipv6 unicast
R3(config-router-af)#default-information
originate
R3(config-router-af)#end
R3#
*Jun 30
08:46:32.675: %SYS-5-CONFIG_I: Configured from console by console
R3#show
ip route static
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is 192.168.77.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 192.168.77.1
R3#show
ip route ospfv3
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is 192.168.77.1 to network 0.0.0.0
192.168.1.0/32 is subnetted, 1 subnets
O IA 192.168.1.1 [110/128] via 192.168.4.1,
00:01:04, Serial2/1
192.168.2.0/30 is subnetted, 1 subnets
O IA 192.168.2.0 [110/128] via 192.168.4.1,
00:01:04, Serial2/1
192.168.3.0/32 is subnetted, 1 subnets
O 192.168.3.1 [110/64] via 192.168.4.1,
00:01:04, Serial2/1
R3#show
ipv6 route static
IPv6
Routing Table - default - 11 entries
Codes: C
- Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile
Router, 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, l - LISP
S ::/0 [1/0]
via 2001:DB8:FEED:77::1
R3#conf t // REDISTRIBUTE STATIC ROUTES IN OSPFv3
Enter
configuration commands, one per line.
End with CNTL/Z.
R3(config)#ip
route 192.168.99.0 255.255.255.0 192.168.77.1
R3(config)#ipv6
route 2001:db8:99:1::/64 2001:db8:feed:77::1
R3(config)#router
ospfv3 1
R3(config-router)#address-family
ipv4 unicast
R3(config-router-af)#redistribute
static
R3(config-router-af)#exit
R3(config-router)#address-family
ipv6 unicast
R3(config-router-af)#redistribute
static
R3(config-router-af)#end
R3#
R1#show
ip route ospfv3
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is 192.168.2.2 to network 0.0.0.0
O*E2 0.0.0.0/0 [110/1] via 192.168.2.2, 00:05:49,
Serial2/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/64] via 192.168.2.2,
00:22:53, Serial2/0
192.168.4.0/30 is subnetted, 1 subnets
O IA 192.168.4.0 [110/128] via 192.168.2.2,
00:22:53, Serial2/0
192.168.5.0/32 is subnetted, 1 subnets
O IA 192.168.5.1 [110/128] via 192.168.2.2,
00:22:53, Serial2/0
O E2 192.168.99.0/24 [110/20] via 192.168.2.2,
00:00:49, Serial2/0
R1#show
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is 192.168.2.2 to network 0.0.0.0
O*E2 0.0.0.0/0 [110/1] via 192.168.2.2, 00:06:27,
Serial2/0
192.168.1.0/24 is variably subnetted, 2
subnets, 2 masks
C 192.168.1.0/24 is directly connected,
Loopback0
L 192.168.1.1/32 is directly connected,
Loopback0
192.168.2.0/24 is variably subnetted, 2
subnets, 2 masks
C 192.168.2.0/30 is directly connected,
Serial2/0
L 192.168.2.1/32 is directly connected,
Serial2/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/64] via 192.168.2.2,
00:23:31, Serial2/0
192.168.4.0/30 is subnetted, 1 subnets
O IA 192.168.4.0 [110/128] via 192.168.2.2,
00:23:31, Serial2/0
192.168.5.0/32 is subnetted, 1 subnets
O IA 192.168.5.1 [110/128] via 192.168.2.2,
00:23:31, Serial2/0
O E2 192.168.99.0/24 [110/20] via 192.168.2.2,
00:01:27, Serial2/0
R1#show
ipv6 route ospf
IPv6
Routing Table - default - 10 entries
Codes: C
- Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile
Router, 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, l - LISP
OE2 ::/0 [110/1], tag 1
via FE80::C802:16FF:FECC:0, Serial2/0
OE2
2001:DB8:99:1::/64 [110/20]
via FE80::C802:16FF:FECC:0, Serial2/0
OI 2001:DB8:CAFE:3::1/128 [110/64]
via FE80::C802:16FF:FECC:0, Serial2/0
OI 2001:DB8:CAFE:4::/64 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/0
OI 2001:DB8:CAFE:5::1/128 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/0
R1#conf t // CONFIGURE OSPFv3 STUB AREA; WILL BOUNCE OSPF ADJACENCY
Enter
configuration commands, one per line.
End with CNTL/Z.
R1(config)#router
ospfv3 1
R1(config-router)#address-family
ipv4 unicast
R1(config-router-af)#area
51 stub
R1(config-router-af)#exit
R1(config-router)#area
51 stub
*Jun 30 09:25:13.559:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 2.2.2.2 on Serial2/0 from FULL to DOWN,
Neighbor Down: Adjacency forced to reset
R1(config-router)#address-family
ipv6 unicast
R1(config-router-af)#area
51 stub
R1(config-router-af)#
*Jun 30 09:25:25.483:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 2.2.2.6 on Serial2/0 from FULL to DOWN,
Neighbor Down: Adjacency forced to reset
R1(config-router-af)#
*Jun 30 09:26:07.099:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 2.2.2.2 on Serial2/0 from LOADING to
FULL, Loading Done
R1(config-router-af)#
*Jun 30 09:26:18.535:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 2.2.2.6 on Serial2/0 from LOADING to
FULL, Loading Done
R2#conf t
Enter
configuration commands, one per line.
End with CNTL/Z.
R2(config)#router
ospfv3 1
R2(config-router)#
*Jun 30
09:26:59.955: %OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 1.1.1.1 on Serial2/0 from
FULL to DOWN, Neighbor Down: Dead timer expired
R2(config-router)#address-family
ipv4 unicast
R2(config-router-af)#area
51 stub
R2(config-router-af)#
*Jun 30
09:27:15.263: %OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 1.1.1.6 on Serial2/0 from
FULL to DOWN, Neighbor Down: Dead timer expired
R2(config-router-af)#
*Jun 30 09:27:17.315:
%OSPFv3-5-ADJCHG: Process 1, IPv4, Nbr 1.1.1.1 on Serial2/0 from LOADING to
FULL, Loading Done
R2(config-router-af)#
R2(config-router-af)#address-family
ipv6 unicast
R2(config-router-af)#area
51 stub
R2(config-router-af)#
*Jun 30 09:27:28.747:
%OSPFv3-5-ADJCHG: Process 1, IPv6, Nbr 1.1.1.6 on Serial2/0 from LOADING to
FULL, Loading Done
R1#show
ospfv3 neighbor
OSPFv3 1 address-family ipv4
(router-id 1.1.1.1)
Neighbor
ID Pri State Dead Time Interface ID Interface
2.2.2.2 0
FULL/ - 00:00:33 6 Serial2/0
OSPFv3 1 address-family ipv6
(router-id 1.1.1.6)
Neighbor
ID Pri State Dead Time Interface ID Interface
2.2.2.6 0
FULL/ - 00:00:32 6 Serial2/0
R2#show
ospfv3 neighbor
OSPFv3 1 address-family ipv4
(router-id 2.2.2.2)
Neighbor
ID Pri State Dead Time Interface ID Interface
3.3.3.3 0
FULL/ - 00:00:31 7 Serial2/1
1.1.1.1 0
FULL/ - 00:00:38 6 Serial2/0
OSPFv3 1 address-family ipv6
(router-id 2.2.2.6)
Neighbor
ID Pri State Dead Time Interface ID Interface
3.3.3.6 0
FULL/ - 00:00:30 7 Serial2/1
1.1.1.6 0
FULL/ - 00:00:34 6 Serial2/0
R1#show
ip route ospfv3
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is 192.168.2.2 to network 0.0.0.0
O*IA 0.0.0.0/0 [110/65] via 192.168.2.2, 00:02:56,
Serial2/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/64] via 192.168.2.2,
00:02:56, Serial2/0
192.168.4.0/30 is subnetted, 1 subnets
O IA 192.168.4.0 [110/128] via 192.168.2.2,
00:02:56, Serial2/0
192.168.5.0/32 is subnetted, 1 subnets
O IA 192.168.5.1 [110/128] via 192.168.2.2,
00:02:56, Serial2/0
R1#show
ipv6 route ospf
IPv6
Routing Table - default - 9 entries
Codes: C
- Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile
Router, 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, l - LISP
OI ::/0 [110/65]
via FE80::C802:16FF:FECC:0, Serial2/0
OI 2001:DB8:CAFE:3::1/128 [110/64]
via FE80::C802:16FF:FECC:0, Serial2/0
OI 2001:DB8:CAFE:4::/64 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/0
OI 2001:DB8:CAFE:5::1/128 [110/128]
via FE80::C802:16FF:FECC:0, Serial2/0
R2#show
ospfv3 // VERIFY CONFIGURED OSPF AREA TYPES AND NUMBER OF INTERFACES IN THE AREA
OSPFv3 1 address-family ipv4
Router ID 2.2.2.2
Event-log enabled, Maximum number of events:
1000, Mode: cyclic
It is an area border router
Router is not originating router-LSAs with
maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs
10000 msecs
Maximum wait time between two consecutive SPFs
10000 msecs
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 2. Checksum Sum
0x012CE5
Number of areas in this router is 2. 1 normal
1 stub 0 nssa
Graceful restart helper support enabled
Reference bandwidth unit is 100 mbps
RFC1583 compatibility enabled
Area BACKBONE(0)
Number of interfaces in this area is 2
SPF algorithm executed 6 times
Number of LSA 8. Checksum Sum 0x03898F
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area 51
Number of interfaces in this area is 1
It is a stub area
Generates stub default route with cost
1
SPF algorithm executed 6 times
Number of LSA 10. Checksum Sum 0x047353
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
OSPFv3 1 address-family ipv6
Router ID 2.2.2.6
Event-log enabled, Maximum number of events:
1000, Mode: cyclic
It is an area border router
Router is not originating router-LSAs with
maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs
10000 msecs
Maximum wait time between two consecutive SPFs
10000 msecs
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 2. Checksum Sum
0x00CB60
Number of areas in this router is 2. 1 normal
1 stub 0 nssa
Graceful restart helper support enabled
Reference bandwidth unit is 100 mbps
RFC1583 compatibility enabled
Area BACKBONE(0)
Number of interfaces in this area is 2
SPF algorithm executed 6 times
Number of LSA 8. Checksum Sum 0x03EEFB
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area 51
Number of interfaces in this area is 1
It is a stub area
Generates stub default route with cost
1
SPF algorithm executed 6 times
Number of LSA 10. Checksum Sum 0x04C02A
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
R2#show
ospfv3 ?
<1-65535> Process ID number
bad-checksum Packets received with a bad checksum
border-routers Border and Boundary Router Information
database Database summary
events Event log
flood-list Link state flood list
graceful-restart Graceful restart information
interface Interface information
ipv4 Address family
ipv6 Address family
max-metric Max-metric origination information
neighbor Neighbor list
promiscuous Promiscuously learned/cached
information
request-list Link state request list
retransmission-list Link state retransmission list
rib Routing Information Base
(RIB)
sham-links Sham link information
statistic Statistics
summary-prefix Summary-prefix redistribution
Information
timers Timer lists
traffic Traffic statistics
virtual-links Virtual link information
vrf VPN Routing/Forwarding
instance
| Output modifiers
<cr>
R2#show
ospfv3 database
OSPFv3 1 address-family ipv4 (router-id 2.2.2.2)
Router Link States (Area 0)
ADV
Router Age Seq# Fragment ID Link count
Bits
2.2.2.2
323 0x80000005 0
1 B
3.3.3.3
1068 0x80000004 0
1 E
Inter Area Prefix Link States
(Area 0)
ADV
Router Age Seq# Prefix
2.2.2.2
323 0x80000003 192.168.2.0/30
2.2.2.2
530 0x80000001 192.168.1.1/32
Link (Type-8) Link States (Area
0)
ADV
Router Age Seq# Link ID Interface
2.2.2.2
323 0x80000003 7
Se2/1
3.3.3.3
806 0x80000003 7
Se2/1
Intra Area Prefix Link States
(Area 0)
ADV
Router Age Seq# Link ID Ref-lstype
Ref-LSID
2.2.2.2
323 0x80000004 0
0x2001 0
3.3.3.3
806 0x80000004 0
0x2001 0
Router Link States (Area 51)
ADV
Router Age Seq# Fragment ID Link count
Bits
1.1.1.1
535 0x80000005 0
1 None
2.2.2.2
69 0x80000006 0
1 B
Inter Area Prefix Link States
(Area 51)
ADV
Router Age Seq# Prefix
2.2.2.2
323 0x80000003 192.168.3.1/32
2.2.2.2
323 0x80000003 192.168.4.0/30
2.2.2.2
323 0x80000003 192.168.5.1/32
2.2.2.2
540 0x80000001 0.0.0.0/0
Link (Type-8) Link States (Area
51)
ADV
Router Age Seq# Link ID Interface
1.1.1.1
589 0x80000003 6
Se2/0
2.2.2.2
323 0x80000004 6
Se2/0
Intra Area Prefix Link States
(Area 51)
ADV
Router Age Seq# Link ID Ref-lstype
Ref-LSID
1.1.1.1
51 0x80000004 0
0x2001 0
2.2.2.2
323 0x80000003 0
0x2001 0
Type-5 AS External Link States
ADV
Router Age Seq# Prefix
3.3.3.3
1068 0x80000002 0.0.0.0/0
3.3.3.3
806 0x80000002 192.168.99.0/24
OSPFv3 1 address-family ipv6 (router-id 2.2.2.6)
Router Link States (Area 0)
ADV
Router Age Seq# Fragment ID Link count
Bits
2.2.2.6
276 0x80000005 0
1 B
3.3.3.6
270 0x80000005 0
1 E
Inter Area Prefix Link States
(Area 0)
ADV
Router Age Seq# Prefix
2.2.2.6
276 0x80000003 2001:DB8:CAFE:2::/64
2.2.2.6
515 0x80000001 2001:DB8:CAFE:1::1/128
Link (Type-8) Link States (Area
0)
ADV
Router Age Seq# Link ID Interface
2.2.2.6
276 0x80000003 7
Se2/1
3.3.3.6
525 0x80000003 7
Se2/1
Intra Area Prefix Link States
(Area 0)
ADV
Router Age Seq# Link ID Ref-lstype
Ref-LSID
2.2.2.6
276 0x80000004 0
0x2001 0
3.3.3.6
525 0x80000004 0
0x2001 0
Router Link States (Area 51)
ADV
Router Age Seq# Fragment ID Link count
Bits
1.1.1.6
524 0x80000005 0
1 None
2.2.2.6
15 0x80000006 0
1 B
Inter Area Prefix Link States
(Area 51)
ADV
Router Age Seq# Prefix
2.2.2.6
276 0x80000003 2001:DB8:CAFE:3::1/128
2.2.2.6
276 0x80000003 2001:DB8:CAFE:4::/64
2.2.2.6
276 0x80000003 2001:DB8:CAFE:5::1/128
2.2.2.6
525 0x80000001 ::/0
Link (Type-8) Link States (Area
51)
ADV
Router Age Seq# Link ID Interface
1.1.1.6
577 0x80000003 6
Se2/0
2.2.2.6
276 0x80000004 6
Se2/0
Intra Area Prefix Link States
(Area 51)
ADV
Router Age Seq# Link ID Ref-lstype
Ref-LSID
1.1.1.6
52 0x80000004 0
0x2001 0
2.2.2.6
276 0x80000003 0
0x2001 0
Type-5 AS External Link States
ADV
Router Age Seq# Prefix
3.3.3.6
1034 0x80000002 ::/0
3.3.3.6
777 0x80000002 2001:DB8:99:1::/64
R2#conf t // CONFIGURE OSPFv3 TOTALLY STUBBY AREA
Enter
configuration commands, one per line.
End with CNTL/Z.
R2(config)#router
ospfv3 1
R2(config-router)#address-family
ipv4 unicast
R2(config-router-af)#area
51 stub no-summary
R2(config-router-af)#
R2(config-router-af)#address-family
ipv6 unicast
R2(config-router-af)#area
51 stub no-summary
R2(config-router-af)#end
R2#
R1#show
ip route ospfv3 // ONLY ALLOWS DEFAULT ROUTE INJECTED BY ABR; NO INTER-AREA ROUTES
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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop
override
Gateway
of last resort is 192.168.2.2 to network 0.0.0.0
O*IA 0.0.0.0/0 [110/65] via 192.168.2.2, 00:10:54,
Serial2/0
R1#
R1#show
ipv6 route ospf
IPv6
Routing Table - default - 6 entries
Codes: C
- Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile
Router, 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, l - LISP
OI ::/0 [110/65]
via FE80::C802:16FF:FECC:0, Serial2/0
R2#show
ospfv3
OSPFv3 1 address-family ipv4
Router ID 2.2.2.2
Event-log enabled, Maximum number of events:
1000, Mode: cyclic
It is an area border router
Router is not originating router-LSAs with
maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs
10000 msecs
Maximum wait time between two consecutive SPFs
10000 msecs
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 2. Checksum Sum
0x012CE5
Number of areas in this router is 2. 1 normal
1 stub 0 nssa
Graceful restart helper support enabled
Reference bandwidth unit is 100 mbps
RFC1583 compatibility enabled
Area BACKBONE(0)
Number of interfaces in this area is 2
SPF algorithm executed 7 times
Number of LSA 8. Checksum Sum 0x03898F
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area 51
Number of interfaces in this area is 1
It is a stub area, no summary LSA in
this area
Generates stub default route with cost
1
SPF algorithm executed 7 times
Number of LSA 7. Checksum Sum 0x035C01
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
OSPFv3 1 address-family ipv6
Router ID 2.2.2.6
Event-log enabled, Maximum number of events:
1000, Mode: cyclic
It is an area border router
Router is not originating router-LSAs with
maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs
10000 msecs
Maximum wait time between two consecutive SPFs
10000 msecs
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 2. Checksum Sum
0x00CB60
Number of areas in this router is 2. 1 normal
1 stub 0 nssa
Graceful restart helper support enabled
Reference bandwidth unit is 100 mbps
RFC1583 compatibility enabled
Area BACKBONE(0)
Number of interfaces in this area is 2
SPF algorithm executed 7 times
Number of LSA 8. Checksum Sum 0x03EEFB
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area 51
Number of interfaces in this area is 1
It is a stub area, no summary LSA in
this area
Generates stub default route with cost
1
SPF algorithm executed 7 times
Number of LSA 7. Checksum Sum 0x02B8AA
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
R2#show
ip protocol
*** IP
Routing is NSF aware ***
Routing Protocol is "ospfv3
1"
Outgoing update filter list for all
interfaces is not set
Incoming update filter list for all
interfaces is not set
Router ID 2.2.2.2
Area border router
Number of areas: 1 normal, 1 stub, 0 nssa
Interfaces (Area 0):
Loopback0
Serial2/1
Interfaces (Area 51):
Serial2/0
Maximum path: 4
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:03:24
3.3.3.3 110 00:03:24
Distance: (default is 110)
R2#
R2#show
ipv6 protocols
IPv6
Routing Protocol is "connected"
IPv6
Routing Protocol is "ND"
IPv6 Routing Protocol is
"ospf 1"
Router ID 2.2.2.6
Area border router
Number of areas: 1 normal, 1 stub, 0 nssa
Interfaces (Area 0):
Loopback0
Serial2/1
Interfaces (Area 51):
Serial2/0
Redistribution:
None
R2#
R2#show
ospfv3 interface loop 0 // VERIFY OSPF INTERFACE PARAMETERS FOR IPv4 AND IPv6
Loopback0
is up, line protocol is up
Link Local Address FE80::C802:16FF:FECC:0,
Interface ID 11
Internet Address 192.168.3.1/24
Area 0, Process ID 1, Instance ID 64, Router
ID 2.2.2.2
Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host
Loopback0
is up, line protocol is up
Link Local Address FE80::C802:16FF:FECC:0,
Interface ID 11
Area 0, Process ID 1, Instance ID 0, Router
ID 2.2.2.6
Network Type LOOPBACK, Cost: 1
Loopback interface is treated as a stub Host