Sun Ethernet Fabric Operating System OSPFv3 Administration Guide

Exit Print View

Updated: July 2015
 
 

Configure the Metric Type for an NSSA

If default summary routes are selected, you can configure the metric type for the default summary route that is sent to an NSSA.

This example configures the IP address 0.0.0.6 as an NSSA in SEFOS1 (router ID 10.0.0.1) and specifies that the metric type for the NSSA is Type-2 external cost (value 3).

  1. Enter Global Configuration mode in SEFOS1.
    SEFOS# configure terminal
    
  2. Enable OSPF globally in SEFOS1.
    SEFOS(config)# ipv6 router ospf
    
  3. Configure the OSPF router ID.
    SEFOS(config-router)# router-id 10.0.0.1
    
  4. Configure an area as an NSSA.
    SEFOS(config-router)# area 0.0.0.6 nssa
    
  5. Configure the metric type as Type-2 external cost (value 3).
    SEFOS(config-router)# area 0.0.0.6 default-metric type 3
    SEFOS(config-router)# exit
    
  6. Ensure that the correct metric type is set.
    SEFOS# show ipv6 ospf areas
     
    OSPFV3  AREA  CONFIGURATION  INFORMATION
     
    AreaId: 0.0.0.0                 Area Type: NORMAL AREA
    Spf Calculation: 14 (times)     Area Bdr Rtr Count: 0
    As Bdr Rtr Count: 0             Area Summary: Send Summary
     
    AreaId: 0.0.0.6                 Area Type: NSS AREA
    Spf Calculation: 14 (times)     Area Bdr Rtr Count: 0
    As Bdr Rtr Count: 0             Area Summary: Send Summary
    Stub Metric: 0x1                Stub Metric Type: 3
    Translator Role: Candidate      Translator State: Elected/Enabled
    Nssa Stability Interval: 40