JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Ethernet Fabric Operating System

OSPFv3 Administration Guide

search filter icon
search icon

Document Information

Using This Documentation

Product Notes

Related Documentation

Acronyms and Abbreviations

CLI Command Modes

Feedback

Support and Accessibility

OSPFv3 Overview

Protocol Description

OSPFv3 Topologies

Configuration and Testing Topologies

IPv6 Example Topology Interface and Host Addresses

OSPFv3 Configurations

Default Configuration Values

SNMP MIB Files

Creating the Base Configuration

Access Global Configuration Mode

Access Interface Configuration Mode

Enabling IPv6 Support and Assigning IPv6 Addresses

Enable IPv6

Disable IPv6

Delete an IPv6 Address

Configuring IPv6 Static Routes

Configure Static Routes

Delete a Static Route

Creating the Base Configuration for Example Topologies

Configure SEFOS1

Configure SEFOS2

Configure SEFOS3

Configure SEFOS4

Configure SEFOS5

Configure SEFOS6

Configure SEFOS7

Configure SEFOS8

Configure SEFOS9

Configuring OSPFv3 Features

OSPFv3 Features

Configuring Basic OSPFv3

Enable OSPFv3

Disable OSPFv3

Creating an OSPFv3 Interface

Configure an OSPFv3 Interface

Configuring Neighbors

Configure an OSPFv3 Neighbor

Configuring OSPFv3 Interface Parameters

OSPFv3 Interface Parameters

Configure Interface Priority

Restore the Default Interface Priority

Configure the Retransmission Interval

Restore the Default Retransmission Value

Configure Transmission Delay

Restore the Default Transmission Delay

Configure the Hello Interval

Restore the Default Hello Interval

Configure the Dead Interval

Restore the Default Dead Interval

Configure the Network Type

Restore the Default OSPF Network Type

Configure the Interface Cost

Restore the Default Interface Cost

Configuring a Demand Circuit

Enable a Demand Circuit

Remove the Demand Circuit Setting

Enable Neighbor Probing on a Demand Circuit

Remove Neighbor Probing on a Demand Circuit

Configuring Neighbor Probe Values

Configure the Neighbor Probe Retransmission Limit

Restore the Default Neighbor Probe Retransmission Limit

Configure the Neighbor Probe Interval

Restore the Default Neighbor Probe Interval

Configuring a Passive Interface

Configure All Interfaces To Be Passive

Configure Specified Interfaces To Be Passive

Restore the Default Routing Updates

Configuring Route Redistribution

Configure an ASBR Router

Disable the ASBR Router

Configure Route Redistribution

Disable Route Redistribution

Configure the Stub Area, ASBR, and Route Distribution

Configuring Attributes for Redistributed Routes

Configure Redistributed Route Attributes

Delete Redistributed Route Attributes

Configuring the Redistribution of Routes

Configure Route Redistribution

Restore the Default Redistribution Configuration

Configuring Area Route Summarization

Area Route Overview

Configure Address Range Aggregation

Disable an Address Range

Configure an Internal Address Range

Disable an Internal Address Range

Configuring a Stub Area

Configure a Stub Area

Convert a Stub Area to a Normal Area

Configure a Default Summary Route for a Stub Area

Configure the Default Summary Route Cost for a Stub Area

Configuring an NSSA

Configure the Stability Interval for NSSA

Restore the Default Stability Interval

Configure an NSSA Translation Role

Restore the Default Translation Role

Configure Default Summary Route for an NSSA

Configure the Metric Type for an NSSA

Configuring the Capability in an NSSA Internal Border Router

Configure NSSA Type-7/-5 Conversion

Configuring Virtual Links

Configure a Virtual Link

Delete a Virtual Link

Configure Virtual Link and Route Summarization

Configuring External Database Limit

Configure the External Database Limit

Restore the Default External Database Limit

Configuring the Overflow Exit Interval

Configure the Overflow Exit Interval

Configuring a Demand Extension

Disable a Demand Extension

Re-Enable Demand Extensions

Configuring the Host

Configure the Host

Test the Host

Configuring Route Calculation SPF Timers

Configure SPF Timers

Restore the Default Delay Time

Configure NSSA Type-7/-5 Conversion

See NSSA Type-7/-5 Conversion Topology for the NSSA Type-7/-5 conversion topology created in this example.

  1. Configure the interfaces with their corresponding IPv6 address.

    See IPv6 Example Topology Interface and Host Addresses.

  2. Configure OSPFv3 by enabling OSPFv3 routing protocol in VLAN 2 (area 0.0.0.2) on SEFOS9 (router ID 10.0.0.9).
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# router-id  10.0.0.9
    SEFOS(config-router)# ASBR Router
    SEFOS(config-router)# redistribute static 
    SEFOS(config-router)# exit
    SEFOS(config)# interface vlan 2
    SEFOS(config-if)# ipv6 ospf area 0.0.0.2
    SEFOS(config-if)# exit
  3. Configure the area as an NSSA.
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# area 0.0.0.2 nssa
    SEFOS(config-router)# end
  4. Enable OSPFv3 routing protocol in VLAN 2 (area 0.0.0.2) on SEFOS2 (router ID 10.0.0.2).
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# router-id  10.0.0.2
    SEFOS(config-router)# exit
    SEFOS(config)# interface vlan 2
    SEFOS(config-if)# ipv6 ospf area 0.0.0.2
    SEFOS(config-if)# exit
    SEFOS(config)# interface vlan 11
    SEFOS(config-if)# ipv6 ospf area 0.0.0.0
    SEFOS(config-if)# exit
  5. Configure area 0.0.0.2 as an NSSA.
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# area 0.0.0.2 nssa
    SEFOS(config-router)# exit
  6. Enable OSPFv3 routing protocol on VLAN 11 (area 0.0.0.0) on SEFOS1 (router ID 10.0.0.1).
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# router-id  10.0.0.1
    SEFOS(config-router)# exit
    SEFOS(config)# interface vlan 11
    SEFOS(config-if)# ipv6 ospf area 0.0.0.0
    SEFOS(config-if)# exit
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# end
  7. Configure the static route.

    Add a static route to 4444::/96 through VLAN 1, where the IPv6 address for VLAN 1 on SEFOS9 is 3333::2222:0:1/96, with a next hop of 3333::2222:0:10/96.

    SEFOS(config)# ipv6 route 4444:: 96 3333::2222:0:10
    SEFOS(config)# exit
  8. View the Type-7 and Type-5 LSA. By default the P-bit will be in clear state. Type-7 LSAs will be converted into a Type-5 LSA.
    • In SEFOS9, type.

      SEFOS# show ipv6 ospf database nssa detail
       
      Age: 42  Seconds            LS Type: Type-7 Lsa
      Link State Id: 0.0.0.0      Adv Rtr Id: 10.0.0.2
      Sequence: 0x80000002        Checksum: 0x0d20    Length: 28
      Metric: 0x1
      Metric Type: Ext Type1      Prefix Length: 0             Prefix Options: 0x00
      Referenced LS Type: 0
      Address Prefix: ::10:10f8:5830:300:e450
      Fw Address Prefix: 3ddf:c7e8:3ddf:c738:ff4:324:3d50:10
      External Route Tag: 0
       
      Age: 0   Seconds            LS Type: Type-7 Lsa
      Link State Id: 0.0.0.1      Adv Rtr Id: 10.0.0.9
      Sequence: 0x80000001        Checksum: 0xe6e5    Length: 56
      Metric: 0xa
      Metric Type: Ext Type2      Prefix Length: 96            Prefix Options: 0x08
      Referenced LS Type: 0
      Address Prefix: 4444::300:e450
    • In SEFOS2, type.

      SEFOS# show ipv6 ospf database nssa detail
       
      Age: 0   Seconds            LS Type: Type-7 Lsa
      Link State Id: 0.0.0.0      Adv Rtr Id: 10.0.0.2
      Sequence: 0x80000002        Checksum: 0x0d20    Length: 28
      Metric: 0x1
      Metric Type: Ext Type1      Prefix Length: 0             Prefix Options: 0x00
      Referenced LS Type: 0
      Address Prefix: ::10:10f8:5920:300:2450
      Fw Address Prefix: 3621:828:3621:778:ff4:324:fe4:2988
      External Route Tag: 0
       
      Age: 3   Seconds            LS Type: Type-7 Lsa
      Link State Id: 0.0.0.1      Adv Rtr Id: 10.0.0.9
      Sequence: 0x80000001        Checksum: 0xe6e5    Length: 56
      Metric: 0xa
      Metric Type: Ext Type2      Prefix Length: 96            Prefix Options: 0x08
      Referenced LS Type: 0
      Address Prefix: 4444::300:2450
    • In SEFOS1, type.

      SEFOS# show ipv6 ospf database as-external detail
       
      Age: 3   Seconds            LS Type: External Lsa
      Link State Id: 0.0.0.1      Adv Rtr Id: 10.0.0.2
      Sequence: 0x80000001        Checksum: 0x0bb2    Length: 56
      Metric Type: Ext Type2      Metric: 0xa
      Prefix Length: 96            Prefix Options: 0x00
      Referenced LS Type: 0
      Addres Prefix: 4444::
      Fw Addres Prefix: 4444::fec0:0
      External Route Tag: 0
  9. In SEFOS9, set the P-bit in the default Type-7 LSA generated by an NSSA internal ASBR.
    SEFOS(config)# ipv6 router ospf
    SEFOS(config-router)# no nssaAsbrDfRtTrans
  10. Configure aggregation, if necessary.
    SEFOS(config-router)# area 0.0.0.0 summary-prefix 4444::64 translation disabled
    SEFOS(config-router)# exit
  11. View the results in SEFOS1.

    Note - No external LSA is sent to 10.0.0.1.


    SEFOS# show ipv6 ospf database as-external detail