Example
Dell#conf
Dell(conf)#ipv6 router ospf 1
Dell(conf-ipv6-router_ospf)#timer spf 2 5
Dell(conf-ipv6-router_ospf)#
Dell(conf-ipv6-router_ospf)#show config
!
ipv6 router ospf 1
timers spf 2 5
Dell(conf-ipv6-router_ospf)#
Dell(conf-ipv6-router_ospf)#end
Dell#
Enabling IPv6 Unicast Routing
To enable IPv6 unicast routing, use the following command.
• Enable IPv6 unicast routing globally.
CONFIGURATION mode
ipv6 unicast routing
Applying cost for OSPFv3
Change in bandwidth directly affects the cost of OSPF routes.
• Explicitly specify the cost of sending a packet on an interface.
INTERFACE mode
ipv6 ospf interface-cost
– interface-cost:The range is from 1 to 65535. Default cost is based on the bandwidth.
• Specify how the OSPF interface cost is calculated based on the reference bandwidth method. The
cost of an interface is calculated as Reference Bandwidth/Interface speed.
ROUTER OSPFv3
auto-cost [reference-bandwidth ref-bw]
To return to the default bandwidth or to assign cost based on the interface type, use the no auto-
cost [reference-bandwidth ref-bw] command.
– ref-bw: The range is from 1 to 4294967. The default is 100 megabits per second.
Assigning IPv6 Addresses on an Interface
To assign IPv6 addresses to an interface, use the following commands.
1. Assign an IPv6 address to the interface.
CONF-INT-type slot/port mode
ipv6 address ipv6 address
IPv6 addresses are normally written as eight groups of four hexadecimal digits; separate each group
by a colon (:).
642
Open Shortest Path First (OSPFv2 and OSPFv3)