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

Search Scope:

- This Document
- Entire Library

## Configure Route Redistribution

This example shows how to configure the information to be applied to routes learned from RTM in SEFOS1. The IPv6 address prefix is `3333::1111:0:0`, with a length of 96. A metric value of 100 is applied to the route before it is advertised to the OSPFv3 domain. A tag with the value 10 is applied to the sample route.

1. Test the redistribution configuration in SEFOS1.

       SEFOS# configure terminal
       SEFOS(config)# ipv6 router ospf

2. Configure redistribution of static route's redistribution configuration.

       SEFOS(config-router)# redistribute static

3. Configure redistribution configuration.

       SEFOS(config-router)# redist-config 3333::1111:0:0 96  metric-value 100 metric-type asExttype1 tag 10
       SEFOS(config-router)# exit

4. Add a static route for the network.

       SEFOS(config)# ipv6 route 3333::1111:0:0 96 fec0::1111:0:2
       SEFOS(config)# end
       SEFOS#

5. View the configuration details in SEFOS1.

   An external LSA is generated for `3333::1111:0:0` with metric as 100, metric type as asExtType1, and tag as 10.

       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.1
       Sequence: 0x80000001        Checksum: 0x6151    Length: 60
       Metric Type: Ext Type1      Metric: 0x64
       Prefix Length: 96            Prefix Options: 0x00
       Referenced LS Type: 0
       Addres Prefix: 3333::1111:0:0
       Fw Addres Prefix: 3333::1111:fec0:0
       External Route Tag: 10

6. View the configuration details in SEFOS2.

   View the external route `3333::1111:0:0` with metric as 101.

       SEFOS# show ipv6 ospf route

       OSPFV3 Process Routing Table
       Dest/Prefix-Length   NextHop/IfIndex       Cost     Rt.Type     Area
       3333::1111:0:0/96   fec0::1111:0:2/vlan11   101     type1Ext    0.0.0.0
       fec0::1111:0:0/96               ::/vlan11     1     intraArea   0.0.0.0
       fec0::4444:0:0/96               ::/vlan4      1     intraArea   0.0.0.3

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