Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### OSPFv3 Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure the Default Summary Route Cost for a Stub Area

If default summary routes are selected, you can configure the cost for the default summary route that is sent to a stub area.

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 the area `0.0.0.6` as a stub area.

       SEFOS(config-router)# area 0.0.0.6 stub

5. Configure the cost as 20.

       SEFOS(config-router)# area 0.0.0.6 default-metric 20
       SEFOS(config-router)# end

6. Ensure that the correct cost is set.

       SEFOS# show ipv6 ospf areas

       OSPFV3  AREA  CONFIGURATION  INFORMATION

       AreaId: 0.0.0.0                 Area Type: NORMAL AREA
       Spf Calculation: 11 (times)     Area Bdr Rtr Count: 0
       As Bdr Rtr Count: 0             Area Summary: Send Summary

       AreaId: 0.0.0.6                 Area Type: STUB AREA
       Spf Calculation: 11 (times)     Area Bdr Rtr Count: 0
       As Bdr Rtr Count: 0             Area Summary: Send Summary
       Stub Metric: 0x14               Stub Metric Type: 1

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |