API Guide

Interface OSPFv3 Parameters
To avoid routing errors, interface parameter values must be consistent across all interfaces. For example, set the same time
interval for the hello packets on all routers in the OSPF network to prevent misconfiguration of OSPF neighbors.
1. Enter the interface to change the OSPFv3 parameters in CONFIGURATION mode.
interface interface-name
2. Change the cost associated with OSPFv3 traffic on the interface in INTERFACE mode, from 1 to 65535. The default
depends on the interface speed.
ipv6 ospf cost
3. Change the time interval the router waits before declaring a neighbor dead in INTERFACE mode, from 1 to 65535. The
default is 40. The dead interval must be four times the hello interval. The dead interval must be the same on all routers in the
OSPFv3 network.
ipv6 ospf dead-interval seconds
4. Change the time interval in seconds between hello-packet transmission in INTERFACE mode, from 1 to 65535. The default is
10. The hello interval must be the same on all routers in the OSPFv3 network.
ipv6 ospf hello-interval seconds
5. Change the priority of the interface, which determines the DR for the OSPFv3 broadcast network in INTERFACE mode, from
0 to 255. The default is 1.
ipv6 ospf priority number
Change the OSPFv3 interface parameters
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ipv6 ospf hello-interval 5
OS10(conf-if-eth1/1/1)# ipv6 ospf dead-interval 20
OS10(conf-if-eth1/1/1)# ipv6 ospf priority 4
View the OSPFv3 interface parameters
OS10# show ipv6 ospf interface
ethernet1/1/1 is up, line protocol is up
Link Local Address fe80::20c:29ff:fe0a:d59/64, Interface ID 5
Area 0.0.0.0, Process ID 200, Instance ID 0, Router ID 10.0.0.2
Network Type broadcast, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router on this network is 2.2.2.2
Backup Designated router on this network is 10.0.0.2 (local)
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.2(Designated Router)
OS10# do show running-configuration ospfv3
!
interface ethernet1/1/9
ipv6 ospf 1 area 0.0.0.0
ipv6 ospf dead-interval 20
ipv6 ospf hello-interval 5
ipv6 ospf mtu-ignore
Default route
You can generate an external default route and distribute the default information to the OSPFv3 routing domain.
Generate the default route, using the default-information originate [always] command in ROUTER-OSPFv3
mode.
Layer 3
727