Sun Ethernet Fabric Operating System OSPFv3 Administration Guide

Exit Print View

Updated: July 2015
 
 

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