Setup Guide
• 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.
Conguring Stub Areas
To congure IPv6 stub areas, use the following command.
• Congure 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.
Conguring 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 {interface-type}
Interface: identies the specic interface that is passive.
– For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the stack/slot/port/subport information.
– For a 25-Gigabit Ethernet interface, enter the keyword twentyFiveGigE then the stack/slot/port/subport information.
– For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the stack/slot/port[/subport] information.
– For a 50-Gigabit Ethernet interface, enter the keyword fiftyGigE then the stack/slot/port/subport information.
– For a 100-Gigabit Ethernet interface, enter the keyword hundredGigE then the stack/slot/port information.
– For a port channel interface, enter the keywords port-channel then a number.
– For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
To enable both receiving and sending routing updates, use the no passive-interface interface command.
To indicate that hello packets are not transmitted on that interface, when you congure a passive interface, the show ipv6 ospf [vrf 
vrf-name] interface command adds the words passive interface.
688
Open Shortest Path First (OSPFv2 and OSPFv3)










