In this example, OSPFv3 is enabled on the SEFOS1 switch, and 10.0.0.1 is specified as the router ID.
SEFOS# configure terminal
SEFOS(config)# ipv6 router ospf
SEFOS(config-router)# router-id 10.0.0.1
SEFOS(config-router)# end
SEFOS# show ipv6 ospf Router Id: 10.0.0.1 ABR Type: Standard ABR SPF schedule delay: 5 secs Hold time between two SPFs: 10 secs Exit Overflow Interval: 0 Ref BW: 100000 Ext Lsdb Limit: -1 Trace Value: 0x00000800 As Scope Lsa: 0 Checksum Sum: 0x0 Demand Circuit: Enable Passive Interface: Disable Nssa Asbr Default Route Translation: Disable Number of Areas in this router 1 Area 0.0.0.0 Number of interfaces in this area is 0 Number of Area Scope Lsa: 0 Checksum Sum: 0x0 Number of Indication Lsa: 0 SPF algorithm executed: 0 times
SEFOS# configure terminal
This action defines the interfaces on which OSPFv3 runs and the area ID for those interfaces.
SEFOS(config)# interface vlan 11 SEFOS(config-if)# ipv6 ospf area 0.0.0.0 SEFOS(config-if)# exit SEFOS(config)# interface vlan 10 SEFOS(config-if)# ipv6 ospf area 0.0.0.6 SEFOS(config-if)# end
SEFOS# show ipv6 ospf interface Interface Name: vlan11 Interface Id: 40 Area Id: 0.0.0.0 Local Address: fe80::214:4fff:fe6c:628f Router Id: 10.0.0.1 Network Type: BROADCAST Cost: 1 State: DR Designated Router Id: 10.0.0.1 local address: fe80::214:4fff:fe6c:628f Backup Designated Router Id: 0.0.0.0 local address: (null) Transmit Delay: 1 sec Priority: 1 IfOptions: 0x0 Timer intervals configured: Hello: 10, Dead: 40, Retransmit: 5, Poll: 120 Demand Circuit: Disable Neighbor Probing: Disable Nbr Probe Retrans Limit: 10 Nbr Probe Interval: 120 Hello due in 8 sec Neighbor Count is: 0 Interface Name: vlan10 Interface Id: 41 Area Id: 0.0.0.6 Local Address: fe80::214:4fff:fe6c:628f Router Id: 10.0.0.1 Network Type: BROADCAST Cost: 1 State: DR Designated Router Id: 10.0.0.1 local address: fe80::214:4fff:fe6c:628f Backup Designated Router Id: 0.0.0.0 local address: (null) Transmit Delay: 1 sec Priority: 1 IfOptions: 0x0 Timer intervals configured: Hello: 10, Dead: 40, Retransmit: 5, Poll: 120 Demand Circuit: Disable Neighbor Probing: Disable Nbr Probe Retrans Limit: 10 Nbr Probe Interval: 120 Hello due in 9 sec Neighbor Count is: 0