Sun Ethernet Fabric Operating System OSPFv3 Administration Guide

Exit Print View

Updated: July 2015
 
 

Configure Address Range Aggregation

This example configures address range aggregation in SEFOS8 as AS-external.

  1. Enter Global Configuration mode in SEFOS8.
    SEFOS# configure terminal
    
  2. Enable OSPF globally in SEFOS8.
    SEFOS(config)# ipv6 router ospf
    
  3. Configure the OSPF router ID.
    SEFOS(config-router)# router-id 10.0.0.8
    
  4. Configure the router as an ASBR router.
    SEFOS(config-router)# asbr router
    SEFOS(config-router)# redistribute static
    SEFOS(config-router)# exit
    
  5. Add static routes.
    SEFOS(config)# ipv6 route 3333::2222:0:0 96 fec0::2856:0:1
    SEFOS(config)# ipv6 route 3333::4444:0:0  96 fec0::2886:0:10
    
  6. View the database.
    SEFOS# show ipv6 ospf database as-external detail
     
    Age: 0   Seconds            LS Type: External Lsa
    Link State Id: 0.0.0.1      Adv Rtr Id: 10.0.0.8
    Sequence: 0x80000001        Checksum: 0x593a    Length: 56
    Metric Type: Ext Type2      Metric: 0xa
    Prefix Length: 96            Prefix Options: 0x00
    Referenced LS Type: 0
    Addres Prefix: 3333::2222:0:0
    Fw Addres Prefix: 3333::2222:fec0:0
    External Route Tag: 0
     
    Age: 0   Seconds            LS Type: External Lsa
    Link State Id: 0.0.0.2      Adv Rtr Id: 10.0.0.8
    Sequence: 0x80000001        Checksum: 0x1f80    Length: 40
    Metric Type: Ext Type2      Metric: 0xa
    Prefix Length: 96            Prefix Options: 0x00
    Referenced LS Type: 0
    Addres Prefix: 3333::4444:0:0
    Fw Addres Prefix: 3333::4444:0:0
    External Route Tag: 0
    
  7. Configure the entire summary for this 3333:: address range.
    SEFOS(config-router)# area 0.0.0.0 summary-prefix 3333::  64 advertise
    
  8. View the configuration results in SEFOS8.
    SEFOS# show ipv6 ospf database as-external detail
     
    Age: 3   Seconds            LS Type: External Lsa
    Link State Id: 0.0.0.3      Adv Rtr Id: 10.0.0.8
    Sequence: 0x80000001        Checksum: 0xb496    Length: 36
    Metric Type: Ext Type2      Metric: 0xa
    Prefix Length: 64           Prefix Options: 0x00
    Referenced LS Type: 0
    Addres Prefix: 3333::
    Fw Addres Prefix: 3333::
    External Route Tag: 0