Configuring the Cost of OSPFv3 Routes
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.
Configuring Stub Areas
To configure IPv6 stub areas, use the following command.
•
Configure the area as a stub area.
CONF-IPV6-ROUTER-OSPF mode
area area-id stub [no-summary]
•
no-summary: use these keywords to prevent transmission in to the area of summary ASBR LSAs.
•
Area ID: a number or IP address assigned when creating the area. You can represent the area ID as
a number from 0 to 65536 if you assign a dotted decimal format rather than an IP address.
Configuring Passive-Interface
To suppress the interface's participation on an OSPFv3 interface, use the following command.
This command stops the router from sending updates on that interface.
•
Specify whether some or all some of the interfaces are passive.
CONF-IPV6-ROUTER-OSPF mode
passive-interface {type slot/port}
Interface: identifies the specific interface that is passive.
•
For a port channel, enter the keywords port-channel then a number from 1 to 255 (for example,
passive-interface po 100)
Open Shortest Path First (OSPFv2 and OSPFv3)
771