150
IPv6 and OSPFv3
Enabling OSPF for IPv6 on an Interface interface fastethernet Router(config)#i 0/0
Moves to interface configuration mode.
Router(config-if)# ipv6 address 2001:db8:0:1::/64
Configures a global IPv6 address on the interface and enables IPv6 processing on the interface.
ipv6 ospf 1 area 0 Router(config-if)#i
Enables OSPFv3 process 1 on the interface and places this interface into area 0. NOTE: The OSPFv3 process is created automatically when OSPFv3 is enabled on an interface. NOTE: The ipv6 ospf x area y command has to be configured on each interface that will take part in OSPFv3.
ipv6 ospf priority 30 Router(config-if)#i
Assigns a priority number to this interface for use in the designated router (DR) election. The priority can be a number from 0 to 255. The default is 1. A router with a priority set to 0 is ineligible to become the DR or the backup DR (BDR).
ipv6 ospf cost 20 Router(config-if)#i
Assigns a cost value of 20 to this interface. The cost value can be an integer value from 1 to 65,535.
OSPFv3 and Stub/NSSA Areas ipv6 router ospf Router(config)#i
Creates the OSPFv3 process if it has not already been created, and moves to router configuration mode.
area 1 stub Router(config-router)#a
The router is configured to be part of a stub area.
area 1 stub noRouter(config-router)#a summary
The router is configured to be in a totally stubby area. This router is the Area Border Router (ABR) due to the no-summary keyword.
area 1 nssa Router(config-router)#a
The router is configured to be in a not-so-stubby area (NSSA).