Sun Ethernet Fabric Operating System

Exit Print View

Updated: July 2015
 
 

Test SEFOS1

  1. Test the redistribution configuration.
    1. Type.
      SEFOS# configure terminal
      SEFOS(config)# router ospf
      
    2. Configure redistribution of the static route's redistribution configuration.
      SEFOS(config-router)# redistribute static
      
    3. Configure the redistribution configuration.
      SEFOS(config-router)# redist-config 20.0.0.0 255.0.0.0 metric-value 100 metric-type asExttype1 tag 10
      SEFOS(config-router)# exit
      
    4. Add a static route for the 20.0.0.0/8 network.
      SEFOS(config)# ip route 20.0.0.0 255.0.0.0 10.4.0.2
      SEFOS(config)# end
      SEFOS#
      
    5. Examine the configuration details.

      An external LSA is generated for 20.0.0.0 with metric as 100, metric type as asExtType1 and tag as 10.

      SEFOS# show ip ospf database external
       
      OSPF Router with ID (10.10.2.1)
                        AS External Link States
                        -----------------------
      LS age             : 600
      Options            : (No ToS Capability, DC)
      LS Type            : AS External Link
      Link State ID      : 20.0.0.0
      Advertising Router : 10.10.2.1
      LS Seq Number      : 0x80000001
      Checksum           : 0xf6b2
      Length             : 36
      Network Mask       : 255.0.0.0
      Metric Type        : 0x0
      Metric             : 100
      Forward Address    : 10.4.0.2
      Externel Route Tag : 10
      
  2. In SEFOS2, examine the external route 20.0.0.0/8 with metric as 101.
    SEFOS# show ip ospf route
     
    OSPF Process Routing Table
    Dest/Mask                     TOS NextHop/Interface Cost Rt.Type   Area
    ---------                     --- -------/--------- ---- -------   ----
    10.2.2.0/255.255.255.0        0   0.0.0.0/vlan2     1    IntraArea 0.0.0.2
    10.4.0.0/255.255.0.0          0   0.0.0.0/vlan1     1    IntraArea 0.0.0.0
    10.10.0.0/255.255.0.0         0   10.4.0.1/vlan1    2    InterArea 0.0.0.0
    20.0.0.0/255.0.0.0            0   10.4.0.2/vlan1    101  Type1Ext  0.0.0.0
    
  3. In SEFOS1, test no redist-config.
    SEFOS# configure terminal
    SEFOS(config)# router ospf
    
  4. In SEFOS1, configure the switch to have no redistribution configuration.
    SEFOS(config-router)# no redist-config 20.0.0.0 255.0.0.0 
    SEFOS(config-router)# end
    SEFOS#
    
  5. In SEFOS1, examine the configuration details.

    The external LSA generated for 20.0.0.0 with metric as 100, metric type as asExtType1, and tag as 10, is flushed. A new external LSA is generated with the default redistribution configuration.

    SEFOS# show ip ospf database external
     
    OSPF Router with ID (10.10.2.1)
                      AS External Link States
                      -----------------------
    LS age             : 0
    Options            : (No ToS Capability, DC)
    LS Type            : AS External Link
    Link State ID      : 20.0.0.0
    Advertising Router : 10.10.2.1
    LS Seq Number      : 0x80000002
    Checksum           : 0x3c50
    Length             : 36
    Network Mask       : 255.0.0.0
    Metric Type        : 0x80
    Metric             : 10
    Forward Address    : 10.4.0.2
    Externel Route Tag : 0