Sun Ethernet Fabric Operating System OSPFv3 Administration Guide

Exit Print View

Updated: July 2015
 
 

Configure an OSPFv3 Interface

In this example, OSPFv3 is enabled on the SEFOS1 switch, and 10.0.0.1 is specified as the router ID.

  1. Enter Global Configuration mode.
    SEFOS# configure terminal
    
  2. Enable OSPFv3 globally in SEFOS1.
    SEFOS(config)# ipv6 router ospf
    
  3. Configure the OSPFv3 router ID.
    SEFOS(config-router)# router-id 10.0.0.1
    

    Note - The no form of this command is not supported. Therefore, you cannot remove the router ID, you can only change it to a different router ID IP.
  4. Exit Router Configuration mode.
    SEFOS(config-router)# end
    
  5. Ensure that the router ID value is correct.
    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
    
  6. Enter Global Configuration mode in SEFOS1.
    SEFOS# configure terminal
    
  7. Enable the OSPFv3 interface on the VLAN interfaces.

    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
    
  8. Ensure that OSPFv3 is set to run the correct interfaces.
    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