Users Guide
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 (:).
The format is A:B:C::F/128.
2 Bring up the interface.
CONF-INT-type slot/port mode
no shutdown
Assigning Area ID on an Interface
To assign the OSPFv3 process to an interface, use the following command.
The ipv6 ospf area command enables OSPFv3 on an interface and places the interface in the specified area. Additionally,
the command creates the OSPFv3 process with ID on the router. OSPFv2 requires two commands to accomplish the same
Open Shortest Path First (OSPFv2 and OSPFv3) 547