[Xorp-users] Fwd: tests conformance using XORP

Jeandro de M. Bezerra jeandro at larces.uece.br
Mon Dec 10 05:44:21 PST 2007


2007/12/9, Pavlin Radoslavov <pavlin at icir.org>:
>
> What XORP version are you using?
> Xorp 1.4.  Slackware kernel 2.4.33.3
>

Could you send your XORP configuration, as well as the output
> of "show pim join" xorpsh command right after the test case was
> aborted because of the missing (S,G) PIM Join.


/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.46 2007/03/12 10:16:05 atanu
Exp $ */


interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
    description: "data interface"
    disable: false
    /* default-system-config */
     vif eth0 {
            disable: false
            address 192.168.7.5 {
                prefix-length: 24
                broadcast: 192.168.7.255
                disable: false
        }
    }
    }

  interface eth1 {
    description: "data interface"
    disable: false
    /* default-system-config */
     vif eth1 {
            disable: false
            address 192.168.8.5 {
                prefix-length: 24
                broadcast: 192.168.8.255
                disable: false
        }
    }

 }

}

fea {
    unicast-forwarding4 {
    disable: false
    forwarding-entries {
        retain-on-startup: false
        retain-on-shutdown:    false
    }
    }

}


protocols {
    static {

    interface-route 192.168.8.0/24 {
     next-hop-interface: "eth0"
     next-hop-vif: "eth0"
     next-hop-router: 192.168.7.5
     metric: 1
     }

    mrib-interface-route 192.168.8.0/24 {
     next-hop-interface: "eth0"
     next-hop-vif: "eth0"
     metric: 1
     }


    }

}



policy {
    /* Describe connected routes for redistribution */
    policy-statement connected {
    term export {
        from {
        protocol: "connected"
        }
    }
    }
}


policy {
    /* Describe static routes for redistribution */
    policy-statement static {
        term export {
            from {
                protocol: "static"
            }
        }
    }
}



plumbing {
    mfea4 {
        disable: false
        interface eth0 {
            vif eth0 {
                disable: false
            }
        }
        interface eth1 {
            vif eth1 {
                disable: false
            }
        }

        interface register_vif {
            vif register_vif {
                /* Note: this vif should be always enabled */
                disable: false
            }
        }
        traceoptions {
            flag all {
                disable: false
            }
        }
    }
}


protocols {
    rip {

/* Connected interfaces will only be advertised if explicitly exported */
        export: "connected"
    export: "static"

/* Run on specified network interface addresses */
        interface eth0 {
            vif eth0 {
                address 192.168.7.5 {
                    disable: false
                }
            }
        }

    interface eth1 {
            vif eth1 {
                address 192.168.8.5 {
                    disable: false
                }
            }
        }

    }
}



protocols {
    igmp {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        /* version: 2 */
        /* enable-ip-router-alert-option-check: false */
        /* query-interval: 125 */
        /* query-last-member-interval: 1 */
        /* query-response-interval: 10 */
        /* robust-count: 2 */
        }
    }
    interface eth1 {
        vif eth1 {
        disable: false
        /* version: 2 */
        /* enable-ip-router-alert-option-check: false */
        /* query-interval: 125 */
        /* query-last-member-interval: 1 */
        /* query-response-interval: 10 */
        /* robust-count: 2 */
        }
    }


    traceoptions {
        flag all {
        disable: false
        }
    }
    }
/*
    mld {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        version: 1
        enable-ip-router-alert-option-check: false
        query-interval: 125
        query-last-member-interval: 1
        query-response-interval: 10
        robust-count: 2
        }
    }
    traceoptions {
        flag all {
        disable: false
        }
    }
    }
*/
}

protocols {
    pimsm4 {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        /* enable-ip-router-alert-option-check: false */
        /* dr-priority: 1 */
        /* hello-period: 30 */
        /* hello-triggered-delay: 5 */
        /* alternative-subnet 10.40.0.0/16 */
        }
    }

    interface eth1 {
        vif eth1 {
        disable: false
        /* enable-ip-router-alert-option-check: false */
        /* dr-priority: 1 */
        /* hello-period: 30 */
        /* hello-triggered-delay: 5 */
        /* alternative-subnet 10.40.0.0/16 */
        }
    }

    interface register_vif {
        vif register_vif {
        /* Note: this vif should be always enabled */
        disable: false
        }
    }

      /*     static-rps {*/
    /*    rp 192.168.7.5 {*/
    /*    group-prefix 224.0.0.0/4 {*/
            /* rp-priority: 192 */
            /* hash-mask-len: 30 */
    /*    } */
    /*    } */
/*    } */

    bootstrap {
        disable: false
        cand-bsr {
        scope-zone 224.0.0.0/8 {
            /* is-scope-zone: false */
            cand-bsr-by-vif-name: "eth0"
            /* cand-bsr-by-vif-addr: 10.10.10.10 */
             bsr-priority: 1
            /* hash-mask-len: 30 */
        }
          }
        cand-bsr {
        scope-zone 224.0.0.0/8 {
            /* is-scope-zone: false */
            cand-bsr-by-vif-name: "eth1"
            /* cand-bsr-by-vif-addr: 10.10.10.10 */
             bsr-priority: 2
            /* hash-mask-len: 30 */
        }

        }

        cand-rp {
        group-prefix 224.0.0.0/8 {
            /* is-scope-zone: false */
            cand-rp-by-vif-name: "eth0"
            /* cand-rp-by-vif-addr: 10.10.10.10 */
             rp-priority: 192
            /* rp-holdtime: 150 */
        }
        }
            cand-rp {
        group-prefix 224.0.0.0/8 {
            /* is-scope-zone: false */
            cand-rp-by-vif-name: "eth1"
            /* cand-rp-by-vif-addr: 10.10.10.10 */
             rp-priority: 195
            /* rp-holdtime: 150 */
        }
        }


    }

    switch-to-spt-threshold {
        /* approx. 1K bytes/s (10Kbps) threshold */
        disable: false
        interval: 100
        bytes: 102400
    }

    traceoptions {
        flag all {
        disable: false
        }
    }
    }


/*
 * Note: fib2mrib is needed for multicast only if the unicast protocols
 * don't populate the MRIB with multicast-specific routes.
 */
protocols {
    fib2mrib {
    disable: false
    }
}



/*
 * See xorp/mibs/snmpdscripts/README on how to configure Net-SNMP in your
host
 * before uncommenting the snmp section below.
 * Also check that the "bgp4_mib_1657.so" exists in the correct location.
 */

/*
protocols {
    snmp {
    mib-module bgp4_mib_1657 {
        abs-path: "/usr/local/xorp/mibs/bgp4_mib_1657.so"
    }
    }
}
*/

__________________________________________

root at thiago> show pim join
Group           Source          RP              Flags
224.1.1.1       192.168.6.1     192.168.8.5     SG
    Upstream interface (S):    UNKNOWN
    Upstream interface (RP):   register_vif
    Upstream MRIB next hop (RP): UNKNOWN
    Upstream MRIB next hop (S):  UNKNOWN
    Upstream RPF'(S,G):        UNKNOWN
    Upstream state:            Joined
    Join timer:                48
    KAT(S,G) running:          false
    Local receiver include WC: ...
    Local receiver include SG: ...
    Local receiver exclude SG: ...
    Joins RP:                  ...
    Joins WC:                  ...
    Joins SG:                  O..
    Join state:                O..
    Prune state:               ...
    Prune pending state:       ...
    I am assert winner state:  ...
    I am assert loser state:   ...
    Assert winner WC:          ...
    Assert winner SG:          ...
    Assert lost WC:            ...
    Assert lost SG:            ...
    Assert lost SG_RPT:        ...
    Assert tracking SG:        O..
    Could assert WC:           ...
    Could assert SG:           ...
    I am DR:                   O.O
    Immediate olist RP:        ...
    Immediate olist WC:        ...
    Immediate olist SG:        O..
    Inherited olist SG:        O..
    Inherited olist SG_RPT:    ...
    PIM include WC:            ...
    PIM include SG:            ...
    PIM exclude SG:            ...
 (END)




Also, could you resend your original test log output without
> wrapping/breaking the lines, because it is very difficult to read
> the log as it is.
> Last but not least, please send the description of the different
> steps, because it is unclear what has happened before "Step 9" with
> the failure.


12:33:50.819 Net-O2 TEE LOG REPORT
12:33:50.826 Date :     2007-12-08
12:33:50.830#############################################################################
12:33:50.836 # Test Case           :
tc_conf_pim-sm_ast_001                            #
12:33:50.842 # Test Case Version   :   1.0
#
12:33:50.847 # Component Name      :   NET-O2 ATTEST CONFORMANCE TEST
SUITE              #
12:33:50.853 # Module Name         :   PIM-SM/Assert Group
(AST)                         #
12:33:50.859#
#
12:33:50.865 # Purpose             :   To verify that the (S,G) Assert state
machine     #
12:33:50.871 #                         on the interface transit from NO_INFO
state to    #
12:33:50.876 #                         I_AM_ASSERT_WINNER state, on
receiving a (S,G)    #
12:33:50.879 #                         data packet on downstream interface
whose (S,G)   #
12:33:50.880 #                         downstream state machine is in JOIN
state.        #
12:33:50.881#
#
12:33:50.881 # Description         :   In this test-case, on receiving
JOIN(S,G) on      #
12:33:50.881 #                         interface I1, DUT should send the
JOIN(S,G) to    #
12:33:50.881 #                         TEE I2 (towards source S), confirming
that its    #
12:33:50.881 #                         (S,G) downstream state machine on
interface I1    #
12:33:50.881 #                         has transitioned to JOIN
state.                   #
12:33:50.881#
#
12:33:50.882 #                         When multicast data traffic destined
for group G  #
12:33:50.882 #                         is received from source S (TEE I2),
the DUT       #
12:33:50.882 #                         should forward traffic for G to the
downstream    #
12:33:50.882 #                         routers on the outgoing interface
I1.             #
12:33:50.882#
#
12:33:50.882 #                         Later, when the DUT receives
multicast data for   #
12:33:50.882 #                         (S,G) on outgoing interface I1 due to
other       #
12:33:50.883 #                         router also forwards data on I1, it
should send   #
12:33:50.883 #                         ASSERT(S,G) Message on I1, confirming
that its    #
12:33:50.883 #                         (S,G) Assert state machine on I1 has
transitioned #
12:33:50.883 #                         from NO_INFO state to
I_AM_ASSERT_WINNER state.   #
12:33:50.883#
#
12:33:50.883 #                         NI state ---> W
state                             #
12:33:50.883#
#
12:33:50.883#############################################################################
12:33:50.884 # Test Setup
:                                                     #
12:33:50.884 #                              ___
___           #
12:33:50.884 #                             |   |          (I1)
|   |          #
12:33:50.884 #                             | T |--------------------------|
D |          #
12:33:50.884 #                             | E |                          |
U |          #
12:33:50.884 #                             | E |--------------------------|
T |          #
12:33:50.884 #                           S |___|          (I2)
|___|          #
12:33:50.885#
#
12:33:50.885#############################################################################
12:33:50.885 # Ladder Diagram
:                                                      #
12:33:50.885#
#
12:33:50.885 #
|                                          |      #
12:33:50.885 #
|                                          |      #
12:33:50.885 #                       T |JOIN(S,G)
(I1)                            | D    #
12:33:50.886 #
|-------->>--------------------------------|      #
12:33:50.886 #                         |
JOIN(S,G) (I2)|      #
12:33:50.886 #
|---------------------------------<<-------|      #
12:33:50.886 #
|                                          |      #
12:33:50.886 #
|                                          |      #
12:33:50.886 #                         |Mcast data(for G)
(I2)                    |      #
12:33:50.886 #                       E
|------->>---------------------------------| U    #
12:33:50.887 #
|                                          |      #
12:33:50.887 #                         |                    Mcast data(for
G) (I1)|      #
12:33:50.887 #
|---------------------------------<<-------|      #
12:33:50.887 #
|                                          |      #
12:33:50.887 #                         |Mcast data(for G)
(I1)                    |      #
12:33:50.887 #
|------->>---------------------------------|      #
12:33:50.887 #
|                                          |      #
12:33:50.887 #                       E |
ASSERT(S,G) (I1)| T    #
12:33:50.888 #
|---------------------------------<<-------|      #
12:33:50.888 #
|                                          |      #
12:33:50.888#
#
12:33:50.888#############################################################################
12:33:50.888#
#
12:33:50.888 # Procedure
:                                                               #
12:33:50.888#
#
12:33:50.889 #    (Initial
Part)                                                         #
12:33:50.889 # Step 1 :  Initialize the DUT with two interfaces(I1 & I2) and
Enable      #
12:33:50.889 #           PIM-SM on both the
interfaces.                                  #
12:33:50.889 # Step 2 :  Initialize the TEE with two interfaces(I1 & I2) and
Enable      #
12:33:50.889 #           PIM-SM on both the
interfaces.                                  #
12:33:50.889#
#
12:33:50.890 #
(Part-I)                                                               #
12:33:50.890 # Step 3 :  Send HELLO Messages from interface (I1) of
TEE.                 #
12:33:50.890 # Step 4 :  Observe the Neighbor come up in the Neighbor table
of DUT(I1).  #
12:33:50.890 # Step 5 :  Send HELLO Messages from interface (I2) of
TEE.                 #
12:33:50.890 # Step 6 :  Observe the Neighbor come up in the Neighbor table
of DUT(I2).  #
12:33:50.890#
#
12:33:50.890 #
(Part-II)                                                              #
12:33:50.890 # Step 7 :  Set Static route for source S on DUT with normal
metric and     #
12:33:50.891 #           gateway as
TEE(I2).                                             #
12:33:50.891 # Step 8 :  Send JOIN(S,G) Message on the interface I1 from
TEE.            #
12:33:50.891 # Step 9 :  To observe that JOIN(S,G) is sent by DUT towards
source S, Check#
12:33:50.891 #           that DUT forwards JOIN(S,G) towards TEE on
I2.                  #
12:33:50.891#
#
12:33:50.891 #
(Part-III)                                                             #
12:33:50.891 # Step 10:  Start Capturing the Multicast Data packets on TEE
(I1) for      #
12:33:50.892 #           Group
G.                                                        #
12:33:50.892 # Step 11:  Send Multicast Data packets for Group G on
Interface I2         #
12:33:50.892 #           from
TEE.                                                       #
12:33:50.892 # Step 12:  Observe Multicast Data packets for Group G are
forwarded by     #
12:33:50.892 #           DUT on
I1.                                                      #
12:33:50.892#
#
12:33:50.892 #
(Part-IV)                                                              #
12:33:50.893 # Step 13:  Send Multicast Data packets for Group G on
Interface I1         #
12:33:50.893 #           from
TEE.                                                       #
12:33:50.893 # Step 14:  Observe that ASSERT(S,G) is sent by DUT on
interface I1.        #
12:33:50.893#
#
12:33:50.893#
#
12:33:50.893#############################################################################
12:33:50.893 # History       Date     Author         Addition/
Alteration                #
12:33:50.894#
#
12:33:50.894 #    1.        Jan/2003  NET-O2
Initial                             #
12:33:50.894#
#
12:33:50.894#
#
12:33:50.894#############################################################################
12:33:50.894#
#
12:33:50.894 # Copyright (C) 2002-03 Net-O2 Technologies (P)
Ltd.                        #
12:33:50.894#############################################################################
12:33:50.895******************************************************************
12:33:50.895 *                Test Case ID : tc_conf_pim-sm_ast_001.tcl
12:33:50.895 *            Logfile Location :
tc_conf_pim-sm_ast_001_123350.log
12:33:50.895******************************************************************
12:33:50.895 *               ENVIRONMENTAL VARIABLES               *
12:33:50.895******************************************************************
12:33:50.896 *         env(tee_to_dut_1_LOCATION) :  eth0
12:33:50.896 *         env(tee_to_dut_2_LOCATION) :  eth1
12:33:50.896 *         env(tee_to_dut_3_LOCATION) :  eth2
12:33:50.896 *         env(tee_to_dut_4_LOCATION) :  eth3
12:33:50.896 *         env(tee_to_dut_5_LOCATION) :  eth16
12:33:50.897 *         env(tee_to_dut_6_LOCATION) :  eth17
12:33:50.897 *         env(tee_to_dut_7_LOCATION) :  eth18
12:33:50.897 *         env(tee_to_dut_8_LOCATION) :  eth19
12:33:50.897 *         env(dut_to_tee_1_LOCATION) :  fa0/1
12:33:50.897 *         env(dut_to_tee_2_LOCATION) :  fa0/7
12:33:50.898 *         env(dut_to_tee_3_LOCATION) :  fa0/9
12:33:50.898 *         env(dut_to_tee_4_LOCATION) :  a17
12:33:50.898 *         env(dut_to_tee_5_LOCATION) :  9
12:33:50.898 *         env(dut_to_tee_6_LOCATION) :  10
12:33:50.898 *         env(dut_to_tee_7_LOCATION) :  11
12:33:50.899 *         env(dut_to_tee_8_LOCATION) :  12
12:33:50.899 *             env(dut_TEST_ADDRESS1) :  192.168.7.5
12:33:50.899 *             env(dut_TEST_ADDRESS2) :  192.168.8.5
12:33:50.941 *             env(dut_TEST_ADDRESS3) :  192.168.9.5
12:33:50.941 *      env(tee_THIRD_INTERFACE_FLAG) :  1
12:33:50.942 *     env(tee_FOURTH_INTERFACE_FLAG) :  yes
12:33:50.942 *            env(dut_COMMAND_PROMPT) :  NETO2*
12:33:50.942 *               env(DUT_CONFIG_MODE) :  manual
12:33:50.974 *                        MAC_Address :   0854201E9D
0854DA93E5  0A5E30C5EF
12:33:50.974******************************************************************
12:33:50.974 *                      Start of
Log                              *
12:33:50.975******************************************************************
12:33:51.008*******************************************************************
12:33:51.008 *  tc_conf_pim-sm_ast_001: Start of
Testcase                      *
12:33:51.008*******************************************************************
12:33:51.008*                                                                 *
12:33:51.008 * Purpose     : To verify that the (S,G) Assert state
machine     *
12:33:51.008 *               on the interface transit from NO_INFO state
to    *
12:33:51.009 *               I_AM_ASSERT_WINNER state, on receiving a
(S,G)    *
12:33:51.009 *               data packet on downstream interface whose
(S,G)   *
12:33:51.009 *               downstream state machine is in JOIN
state.        *
12:33:51.009*                                                                 *
12:33:51.009 * Description : In this test-case, on receiving JOIN(S,G)
on      *
12:33:51.014 *               interface I1, DUT should send the JOIN(S,G)
to    *
12:33:51.014 *               TEE I2 (towards source S), confirming that
its    *
12:33:51.014 *               (S,G) downstream state machine on interface
I1    *
12:33:51.014 *               has transitioned to JOIN
state.                   *
12:33:51.014*                                                                 *
12:33:51.014 *               When multicast data traffic destined for group
G  *
12:33:51.014 *               is received from source S (TEE I2), the
DUT       *
12:33:51.014 *               should forward traffic for G to the
downstream    *
12:33:51.014 *               routers on the outgoing interface
I1.             *
12:33:51.014*                                                                 *
12:33:51.014 *               Later, when the DUT receives multicast data
for   *
12:33:51.014 *               (S,G) on outgoing interface I1 due to
other       *
12:33:51.014 *               router also forwards data on I1, it should
send   *
12:33:51.015 *               ASSERT(S,G) Message on I1, confirming that
its    *
12:33:51.015 *               (S,G) Assert state machine on I1 has
transitioned *
12:33:51.015 *               from NO_INFO state to I_AM_ASSERT_WINNER
state.   *
12:33:51.015*                                                                 *
12:33:51.015 *               NI state ---> W
state                             *
12:33:51.015*                                                                 *
12:33:51.015*******************************************************************
12:33:51.015 On I1, DUT IP address is : 192.168.7.5
12:33:51.015 On I1, TEE IP address is : 192.168.7.4
12:33:51.015 On I2, DUT IP address is : 192.168.8.5
12:33:51.015 On I2, TEE IP address is : 192.168.8.6
12:33:51.015******************************************************************
12:33:51.015 *      Running Under Manual Configuration Setup
12:33:51.015******************************************************************
12:33:51.016*******************************************************************
12:33:51.016 *           DUT Session Initialized
successfully                  *
12:33:51.016*******************************************************************
12:33:51.016 Size of Shared Memory->2868
12:33:51.016 ####################################
12:33:51.016 #==================================#
12:33:51.016 #           NETO2-TEE              #
12:33:51.016 #==================================#
12:33:51.016 # CURRENT so VERSION-->VER 0.1.0   #
12:33:51.016 #==================================#
12:33:51.016 ####################################
12:33:51.016 TEE:  Locked for Semafore and Timer
12:33:51.099 Process Id Path : /usr/local/Attest/NetO2Attest/Net-O2/Neto2tee
12:33:51.101 TEE:  PIMCS:Enabling Debug for PIM
12:33:51.101 TEE:  CS UnLocked semafore
12:33:51.132*******************************************************************
12:33:51.132 *          TEE Session Initialized
successfully                   *
12:33:51.132*******************************************************************
12:33:51.133 TEE:  Function dut_ip_add_one_interface() :
12:33:51.133 TEE:           session_handler  -> 1
12:33:51.134 TEE:           Location         -> fa0/1
12:33:51.134 TEE:           IP Address       -> 192.168.7.5
12:33:51.135 TEE:           Mask Length      -> 255.255.255.0
12:33:51.135 TEE:  ---------------------------------------------
12:33:51.136 TEE:  Function manual_ip_add_interface:
12:33:51.136 TEE:           session_handler  -> 1
12:33:51.137 TEE:           Location         -> fa0/1
12:33:51.137 TEE:           IP Address       -> 192.168.7.5
12:33:51.137 TEE:           Mask Length      -> 255.255.255.0
12:33:51.138 TEE:           MTU              -> 1500
12:33:51.138 TEE:  ---------------------------------------------
12:33:51.138*******************************************************************
12:33:51.139 *      Running Under Manual Configuration Setup
12:33:51.139 *
12:33:51.139 *      Assuming User has added Interface fa0/1 with
12:33:51.139 *                ip address 192.168.7.5
12:33:51.139 *                mask       255.255.255.0 and
12:33:51.151 *                mtu        1500
12:33:51.151*******************************************************************
12:33:51.152 TEE:  dut_ip_add_one_interface: return value -> 1
12:33:51.152 TEE:  Function dut_ip_add_one_interface() :
12:33:51.152 TEE:           session_handler  -> 1
12:33:51.153 TEE:           Location         -> fa0/7
12:33:51.153 TEE:           IP Address       -> 192.168.8.5
12:33:51.154 TEE:           Mask Length      -> 255.255.255.0
12:33:51.154 TEE:  ---------------------------------------------
12:33:51.155 TEE:  Function manual_ip_add_interface:
12:33:51.155 TEE:           session_handler  -> 1
12:33:51.155 TEE:           Location         -> fa0/7
12:33:51.156 TEE:           IP Address       -> 192.168.8.5
12:33:51.156 TEE:           Mask Length      -> 255.255.255.0
12:33:51.156 TEE:           MTU              -> 1500
12:33:51.157 TEE:  ---------------------------------------------
12:33:51.157*******************************************************************
12:33:51.157 *      Running Under Manual Configuration Setup
12:33:51.157 *
12:33:51.157 *      Assuming User has added Interface fa0/7 with
12:33:51.157 *                ip address 192.168.8.5
12:33:51.158 *                mask       255.255.255.0 and
12:33:51.158 *                mtu        1500
12:33:51.158*******************************************************************
12:33:51.158 TEE:  dut_ip_add_one_interface: return value -> 1
12:33:51.159 TEE:  dut_ip_add_interface: return value -> 1
12:33:51.159*******************************************************************
12:33:51.159 *                         Step
1                                  *
12:33:51.159 *          DUT interfaces added
successfully                      *
12:33:51.159*******************************************************************
12:33:51.160 TEE:  Function dut_pim_add_one_interface:
12:33:51.160 TEE:           session_handler  -> 1
12:33:51.161 TEE:           Location         -> fa0/1
12:33:51.161 TEE:           Mode             -> sparse
12:33:51.161 TEE:  ---------------------------------------------
12:33:51.162 TEE:  Function manual_pim_add_interface:
12:33:51.162 TEE:           session_handler  -> 1
12:33:51.163 TEE:           Location         -> fa0/1
12:33:51.163 TEE:           Mode             -> sparse
12:33:51.163 TEE:  ---------------------------------------------
12:33:51.164*******************************************************************
12:33:51.164 *      Running Under Manual Configuration Setup
12:33:51.164 *
12:33:51.164 *      Assuming User has enabled PIM in sparse-mode
12:33:51.164 *      on Interface fa0/1
12:33:51.164*******************************************************************
12:33:51.165 TEE:  dut_pim_add_one_interface: return value -> 1
12:33:51.165 TEE:  Function dut_pim_add_one_interface:
12:33:51.165 TEE:           session_handler  -> 1
12:33:51.166 TEE:           Location         -> fa0/7
12:33:51.166 TEE:           Mode             -> sparse
12:33:51.167 TEE:  ---------------------------------------------
12:33:51.167 TEE:  Function manual_pim_add_interface:
12:33:51.168 TEE:           session_handler  -> 1
12:33:51.168 TEE:           Location         -> fa0/7
12:33:51.168 TEE:           Mode             -> sparse
12:33:51.169 TEE:  ---------------------------------------------
12:33:51.169*******************************************************************
12:33:51.169 *      Running Under Manual Configuration Setup
12:33:51.169 *
12:33:51.169 *      Assuming User has enabled PIM in sparse-mode
12:33:51.169 *      on Interface fa0/7
12:33:51.169*******************************************************************
12:33:51.170 TEE:  dut_pim_add_one_interface: return value -> 1
12:33:51.170 TEE:  dut_pim_add_interface: return value -> 1
12:33:51.170*******************************************************************
12:33:51.170 *                         Step
1                                  *
12:33:51.171 *          PIM Enabled at DUT Interfaces
successfully             *
12:33:51.171*******************************************************************
12:33:51.171 TEE:  tee_ip_add_interface: location -> eth0
12:33:51.172 TEE:  ip_address -> 192.168.7.4
12:33:51.172 TEE:  mask       -> 255.255.255.0
12:33:51.172 TEE:  tee_ip_add_one_interface: location  -> eth0
12:33:51.173 TEE:  ip_addr   -> 192.168.7.4
12:33:51.173 TEE:  mask      -> 255.255.255.0
12:33:51.173 TEE:  Locked for Semafore and Timer
12:33:52.099 TEE:  The interface eth0 is already UP!!
12:33:52.100 TEE:  CS UnLocked semafore
12:33:52.101 TEE:  tee_ip_add_one_interface: return value -> 1 1
12:33:52.101 TEE:  tee_ip_add_interface: location -> eth1
12:33:52.101 TEE:  ip_address -> 192.168.8.6
12:33:52.102 TEE:  mask       -> 255.255.255.0
12:33:52.102 TEE:  tee_ip_add_one_interface: location  -> eth1
12:33:52.102 TEE:  ip_addr   -> 192.168.8.6
12:33:52.102 TEE:  mask      -> 255.255.255.0
12:33:52.102 TEE:  Locked for Semafore and Timer
12:33:53.101 TEE:  The interface eth1 is already UP!!
12:33:53.102 TEE:  CS UnLocked semafore
12:33:53.104 TEE:  tee_ip_add_one_interface: return value -> 1 1
12:33:53.104 TEE:  tee_ip_add_interface: return value -> 1 1
12:33:53.104*******************************************************************
12:33:53.104 *                         Step
2                                  *
12:33:53.104 *              TEE interfaces added
successfully                  *
12:33:53.104*******************************************************************
12:33:53.104 TEE:   Function tee_pim_add_interface():
12:33:53.104 TEE:            Location       -> eth0
12:33:53.104 TEE:  -------------------------------------
12:33:53.105 TEE:   Function tee_pim_add_one_interface():
12:33:53.105 TEE:            Location       -> eth0
12:33:53.105 TEE:  --------------------------------------
12:33:53.105 TEE:  Locked for Semafore and Timer
12:33:54.102 TEE:  CS UnLocked semafore
12:33:54.104 TEE:  tee_pim_add_one_interface: return value -> 1 1
12:33:54.104 TEE:   Function tee_pim_add_interface():
12:33:54.104 TEE:            Location       -> eth1
12:33:54.104 TEE:  -------------------------------------
12:33:54.104 TEE:   Function tee_pim_add_one_interface():
12:33:54.104 TEE:            Location       -> eth1
12:33:54.104 TEE:  --------------------------------------
12:33:54.104 TEE:  Locked for Semafore and Timer
12:33:54.120 TEE:  CS UnLocked semafore
12:33:54.122 TEE:  tee_pim_add_one_interface: return value -> 1 1
12:33:54.122 TEE:  tee_pim_add_interface: return value -> 1
12:33:54.123*******************************************************************
12:33:54.123 *                         Step
2                                  *
12:33:54.123 *          PIM Enabled at TEE Interfaces
successfully             *
12:33:54.123*******************************************************************
12:33:54.123 TEE:   Function tee_pim_send_hello_periodic():
12:33:54.123 TEE:    Interface Address      -> 192.168.7.4
12:33:54.125 TEE:    Times                  -> 255
12:33:54.125 TEE:    flag                   -> 0
12:33:54.125 TEE:    Holdtime               -> 105
12:33:54.125 TEE:    DR Priority            -> 0
12:33:54.125 TEE:    GenID                  -> 0
12:33:54.125 TEE:    Lan_Prune_delay        -> 0
12:33:54.126 TEE:    Override interval      -> 0
12:33:54.126 TEE:    State Refresh interval -> 0
12:33:54.126 TEE:  -----------------------------------------
12:33:54.126 TEE:  Locked for Semafore and Timer
12:33:54.140 TEE:  Sending HELLO Message from Source 192.168.7.4 to
Destination 224.0.0.13
12:33:54.140 TEE:  with Holdtime 105
12:33:54.140 TEE:  PIM v2 HELLO  sent successfully from 192.168.7.4 to
224.0.0.13
12:33:54.140 TEE:  CS UnLocked semafore
12:33:54.143 TEE:  tee_pim_send_hello_periodic: return value -> 1 1
12:33:54.143*******************************************************************
12:33:54.143 *                         Step
3                                  *
12:33:54.143 *  PIM HELLO Message sent successfully from TEE 192.168.7.4  *
12:33:54.143*******************************************************************
12:33:54.143 TEE:  Function manual_pim_check_neighbor:
12:33:54.143 TEE:           session_handler  -> 1
12:33:54.143 TEE:           Location         -> fa0/1
12:33:54.143 TEE:           Neighbor Address -> 192.168.7.4
12:33:54.144 TEE:           Timeout Value    -> 105
12:33:54.144 TEE:  ---------------------------------------------
12:33:54.144*******************************************************************
12:33:54.144 *      Running under Manual Configuration Setup
12:33:54.144 *
12:33:54.144 *        Checking  if the neighbour entry 192.168.7.4 is
present
12:33:54.145 *        at the location fa0/1
12:33:54.145 *
12:33:54.145 *                    Press 'y' for YES
12:33:54.145 *                    Press 'n' for NO
12:33:54.145*******************************************************************
12:33:54.145 MessageStart~Check if the neighbour entry 192.168.7.4 is
present at interface fa0/1~MessageEnd~yesno
12:33:56.429 TEE:  dut_pim_check_neighbor: return value -> 1
12:33:56.429*******************************************************************
12:33:56.429 *                         Step
4                                  *
12:33:56.429 *Neighbor Entry 192.168.7.4 found at DUT on fa0/1*
12:33:56.429*******************************************************************
12:33:56.429 TEE:   Function tee_pim_send_hello_periodic():
12:33:56.429 TEE:    Interface Address      -> 192.168.8.6
12:33:56.429 TEE:    Times                  -> 255
12:33:56.430 TEE:    flag                   -> 0
12:33:56.430 TEE:    Holdtime               -> 105
12:33:56.430 TEE:    DR Priority            -> 0
12:33:56.430 TEE:    GenID                  -> 0
12:33:56.430 TEE:    Lan_Prune_delay        -> 0
12:33:56.430 TEE:    Override interval      -> 0
12:33:56.430 TEE:    State Refresh interval -> 0
12:33:56.430 TEE:  -----------------------------------------
12:33:56.430 TEE:  Locked for Semafore and Timer
12:33:57.142 TEE:  Sending HELLO Message from Source 192.168.8.6 to
Destination 224.0.0.13
12:33:57.142 TEE:  with Holdtime 105
12:33:57.142 TEE:  PIM v2 HELLO  sent successfully from 192.168.8.6 to
224.0.0.13
12:33:57.142 TEE:  CS UnLocked semafore
12:33:57.142 TEE:  tee_pim_send_hello_periodic: return value -> 1 1
12:33:57.143*******************************************************************
12:33:57.143 *                         Step
5                                  *
12:33:57.143 *  PIM HELLO Messages sent successfully from TEE 192.168.8.6 *
12:33:57.143*******************************************************************
12:33:57.143 TEE:  Function manual_pim_check_neighbor:
12:33:57.143 TEE:           session_handler  -> 1
12:33:57.143 TEE:           Location         -> fa0/7
12:33:57.143 TEE:           Neighbor Address -> 192.168.8.6
12:33:57.143 TEE:           Timeout Value    -> 105
12:33:57.143 TEE:  ---------------------------------------------
12:33:57.144*******************************************************************
12:33:57.144 *      Running under Manual Configuration Setup
12:33:57.144 *
12:33:57.144 *        Checking  if the neighbour entry 192.168.8.6 is
present
12:33:57.144 *        at the location fa0/7
12:33:57.144 *
12:33:57.144 *                    Press 'y' for YES
12:33:57.144 *                    Press 'n' for NO
12:33:57.144*******************************************************************
12:33:57.144 MessageStart~Check if the neighbour entry 192.168.8.6 is
present at interface fa0/7~MessageEnd~yesno
12:33:57.848 TEE:  HELLO Message received from 192.168.7.5
12:33:57.848 TEE:  with Holdtime = 105
12:33:57.848 TEE:  LAN_Prune Delay = 500
12:33:57.848 TEE:  Override_Interval = 2500
12:33:57.848 TEE:  DR Priority = 1
12:33:57.848 TEE:  GenId = 2062682234
12:33:59.390 TEE:  dut_pim_check_neighbor: return value -> 1
12:33:59.390*******************************************************************
12:33:59.390 *                         Step
6                                  *
12:33:59.390 *Neighbor Entry 192.168.8.6 found at DUT on fa0/7*
12:33:59.390*******************************************************************
12:33:59.390 TEE:  Function manual_ip_add_static_route:
12:33:59.391 TEE:           session_handler     -> 1
12:33:59.391 TEE:           Destination Address -> 192.168.6.0
12:33:59.391 TEE:           Mask Length         -> 255.255.255.0
12:33:59.391 TEE:           Gateway             -> 192.168.8.6
12:33:59.391 TEE:           Metric              -> 10
12:33:59.391 TEE:  ------------------------------------------------
12:33:59.391*******************************************************************
12:33:59.391 *      Running Under Manual Configuration Setup
12:33:59.391 *
12:33:59.391 *      Assuming User has Added Static Route with
12:33:59.391 *                  Destination Address 192.168.6.0
12:33:59.391 *                  Gateway             192.168.8.6
12:33:59.392 *                  Mask                255.255.255.0
12:33:59.392 *                  Metric              10
12:33:59.392*******************************************************************
12:33:59.392 TEE:  dut_ip_add_static_route: return value -> 1
12:33:59.392*******************************************************************
12:33:59.392 *                         Step
7                                  *
12:33:59.392 *    Static Route set on DUT for Destination - 192.168.6.0
*
12:33:59.392 *         Mask - 255.255.255.0  Gateway - 192.168.8.6         *
12:33:59.392 *                       Metric - 10               *
12:33:59.392*******************************************************************
12:33:59.392*******************************************************************
12:33:59.392 *                         Step
8                                  *
12:33:59.393 *         Sending JOIN(S,G) from TEE to DUT on
I1                 *
12:33:59.393*******************************************************************
12:33:59.393 TEE:   Function tee_pim_send_join_periodic():
12:33:59.393 TEE:    Interface Address    -> 192.168.7.4
12:33:59.393 TEE:    Join type            -> S_G_JOIN
12:33:59.393 TEE:    Source               -> 192.168.6.1
12:33:59.393 TEE:    Source masklen       -> 32
12:33:59.393 TEE:    Group                -> 224.1.1.1
12:33:59.393 TEE:    Group masklen        -> 32
12:33:59.393 TEE:    Upstream Neighbor    -> 192.168.7.5
12:33:59.394 TEE:    Holdtime             -> 210
12:33:59.394 TEE:  -----------------------------------------
12:33:59.402 TEE:  Locked for Semafore and Timer
12:33:59.919 TEE:  Number of JOIN/PRUNE Messages  1
12:33:59.919 TEE:  Group Address 224.1.1.1
12:33:59.920 TEE:  Source Address 192.168.6.1
12:33:59.920 TEE:  JOIN/PRUNE type - JOIN(S,G)
12:33:59.920 TEE:  Sending JOIN(S,G) Message from 192.168.7.4
12:33:59.920 TEE:  with Upstream Neighbor 192.168.7.5
12:33:59.920 TEE:  Source Address 192.168.6.1 Group Address 224.1.1.1
12:33:59.920 TEE:  S   Bit set
12:33:59.920 TEE:  PIM v2 JOIN/PRUNE  sent successfully from 192.168.7.4 to
224.0.0.13
12:33:59.920 TEE:  CS UnLocked semafore
12:33:59.923 TEE:  tee_pim_send_join_periodic: return value -> 1 1
12:33:59.923*******************************************************************
12:33:59.923 *                         Step
8                                  *
12:33:59.923 *     JOIN(S,G) sent from TEE 192.168.7.4 to DUT on I1       *
12:33:59.923*******************************************************************
12:33:59.923*******************************************************************
12:33:59.923 *                         Step
9                                  *
12:33:59.924 *  Waiting for 120.0 secs for JOIN(S,G) from DUT on I2...*
12:33:59.924*******************************************************************
12:33:59.924 TEE:   Function tee_pim_recv_join_pkt():
12:33:59.924 TEE:           Interface Address    -> 192.168.8.6
12:33:59.924 TEE:           Join Type            -> S_G_JOIN
12:33:59.924 TEE:           Source Address       -> 192.168.6.1
12:33:59.924 TEE:           Group Address        -> 224.1.1.1
12:33:59.924 TEE:           RP Address           -> 0
12:33:59.924 TEE:           Upstream Neighbor    -> 192.168.8.6
12:33:59.924 TEE:           Timeout              -> 120
12:33:59.925 TEE:  -------------------------------------------
12:33:59.930 TEE:  Locked for Semafore and Timer
12:34:00.138 TEE:  HELLO Message received from 192.168.8.5
12:34:00.138 TEE:  with Holdtime = 105
12:34:00.138 TEE:  LAN_Prune Delay = 500
12:34:00.138 TEE:  Override_Interval = 2500
12:34:00.138 TEE:  DR Priority = 1
12:34:00.138 TEE:  GenId = 1385585707
12:34:00.631 TEE:  HELLO Message received from 192.168.7.5
12:34:00.631 TEE:  with Holdtime = 105
12:34:00.631 TEE:  LAN_Prune Delay = 500
12:34:00.631 TEE:  Override_Interval = 2500
12:34:00.631 TEE:  DR Priority = 1
12:34:00.631 TEE:  GenId = 2062682234
12:34:03.458 TEE:  HELLO Message received from 192.168.8.5
12:34:03.458 TEE:  with Holdtime = 105
12:34:03.458 TEE:  LAN_Prune Delay = 500
12:34:03.458 TEE:  Override_Interval = 2500
12:34:03.458 TEE:  DR Priority = 1
12:34:03.458 TEE:  GenId = 1385585707
12:34:24.450 TEE:  Sending HELLO Message from Source 192.168.7.4 to
Destination 224.0.0.13
12:34:24.450 TEE:  with Holdtime 105
12:34:24.450 TEE:  PIM v2 HELLO  sent successfully from 192.168.7.4 to
224.0.0.13
12:34:24.450 TEE:  Starting HELLO Timer on the interface 192.168.7.4  for an
interval of 30 secs
12:34:27.449 TEE:  Sending HELLO Message from Source 192.168.8.6 to
Destination 224.0.0.13
12:34:27.449 TEE:  with Holdtime 105
12:34:27.450 TEE:  PIM v2 HELLO  sent successfully from 192.168.8.6 to
224.0.0.13
12:34:27.450 TEE:  Starting HELLO Timer on the interface 192.168.8.6  for an
interval of 30 secs
12:34:30.628 TEE:  HELLO Message received from 192.168.7.5
12:34:30.629 TEE:  with Holdtime = 105
12:34:30.629 TEE:  LAN_Prune Delay = 500
12:34:30.629 TEE:  Override_Interval = 2500
12:34:30.629 TEE:  DR Priority = 1
12:34:30.629 TEE:  GenId = 2062682234
12:34:33.456 TEE:  HELLO Message received from 192.168.8.5
12:34:33.456 TEE:  with Holdtime = 105
12:34:33.456 TEE:  LAN_Prune Delay = 500
12:34:33.456 TEE:  Override_Interval = 2500
12:34:33.456 TEE:  DR Priority = 1
12:34:33.456 TEE:  GenId = 1385585707
12:34:54.459 TEE:  Sending HELLO Message from Source 192.168.7.4 to
Destination 224.0.0.13
12:34:54.459 TEE:  with Holdtime 105
12:34:54.460 TEE:  PIM v2 HELLO  sent successfully from 192.168.7.4 to
224.0.0.13
12:34:54.460 TEE:  Starting HELLO Timer on the interface 192.168.7.4  for an
interval of 30 secs
12:34:57.459 TEE:  Sending HELLO Message from Source 192.168.8.6 to
Destination 224.0.0.13
12:34:57.459 TEE:  with Holdtime 105
12:34:57.460 TEE:  PIM v2 HELLO  sent successfully from 192.168.8.6 to
224.0.0.13
12:34:57.460 TEE:  Starting HELLO Timer on the interface 192.168.8.6  for an
interval of 30 secs
12:35:00.630 TEE:  HELLO Message received from 192.168.7.5
12:35:00.630 TEE:  with Holdtime = 105
12:35:00.630 TEE:  LAN_Prune Delay = 500
12:35:00.630 TEE:  Override_Interval = 2500
12:35:00.630 TEE:  DR Priority = 1
12:35:00.630 TEE:  GenId = 2062682234
12:35:03.463 TEE:  HELLO Message received from 192.168.8.5
12:35:03.464 TEE:  with Holdtime = 105
12:35:03.464 TEE:  LAN_Prune Delay = 500
12:35:03.464 TEE:  Override_Interval = 2500
12:35:03.464 TEE:  DR Priority = 1
12:35:03.464 TEE:  GenId = 1385585707
12:35:24.459 TEE:  Sending HELLO Message from Source 192.168.7.4 to
Destination 224.0.0.13
12:35:24.461 TEE:  with Holdtime 105
12:35:24.461 TEE:  PIM v2 HELLO  sent successfully from 192.168.7.4 to
224.0.0.13
12:35:24.461 TEE:  Starting HELLO Timer on the interface 192.168.7.4  for an
interval of 30 secs
12:35:27.459 TEE:  Sending HELLO Message from Source 192.168.8.6 to
Destination 224.0.0.13
12:35:27.459 TEE:  with Holdtime 105
12:35:27.460 TEE:  PIM v2 HELLO  sent successfully from 192.168.8.6 to
224.0.0.13
12:35:27.460 TEE:  Starting HELLO Timer on the interface 192.168.8.6  for an
interval of 30 secs
12:35:30.628 TEE:  HELLO Message received from 192.168.7.5
12:35:30.628 TEE:  with Holdtime = 105
12:35:30.628 TEE:  LAN_Prune Delay = 500
12:35:30.628 TEE:  Override_Interval = 2500
12:35:30.628 TEE:  DR Priority = 1
12:35:30.628 TEE:  GenId = 2062682234
12:35:33.461 TEE:  HELLO Message received from 192.168.8.5
12:35:33.461 TEE:  with Holdtime = 105
12:35:33.462 TEE:  LAN_Prune Delay = 500
12:35:33.462 TEE:  Override_Interval = 2500
12:35:33.462 TEE:  DR Priority = 1
12:35:33.462 TEE:  GenId = 1385585707
12:35:38.873 TEE:  PIM v2 BOOTSTRAP  sent successfully from 192.168.7.4 to
224.0.0.13
12:35:54.869 TEE:  Sending HELLO Message from Source 192.168.7.4 to
Destination 224.0.0.13
12:35:54.870 TEE:  with Holdtime 105
12:35:54.870 TEE:  PIM v2 HELLO  sent successfully from 192.168.7.4 to
224.0.0.13
12:35:54.870 TEE:  Starting HELLO Timer on the interface 192.168.7.4  for an
interval of 30 secs
12:35:57.869 TEE:  Sending HELLO Message from Source 192.168.8.6 to
Destination 224.0.0.13
12:35:57.870 TEE:  with Holdtime 105
12:35:57.870 TEE:  PIM v2 HELLO  sent successfully from 192.168.8.6 to
224.0.0.13
12:35:57.870 TEE:  Starting HELLO Timer on the interface 192.168.8.6  for an
interval of 30 secs
12:35:59.931 TEE:  Timer UnLocked semafore
12:35:59.931 TEE:  tee_pim_recv_join_pkt: return value -> 0 0
12:35:59.931################################################################
12:35:59.931 #                      Step 9
#
12:35:59.931 #Error: DUT has not sent the JOIN(S,G) from 192.168.8.5   #
12:35:59.931 #       to TEE on I2
#
12:35:59.931################################################################
12:35:59.931################################################################################
12:35:59.932################################################################################
12:35:59.932 # TEST CASE ABORTED : DUT has not sent the JOIN(S,G) to TEE on
I2
12:35:59.932################################################################################
12:35:59.932################################################################################
12:36:00.626 TEE:  HELLO Message received from 192.168.7.5
12:36:00.626 TEE:  with Holdtime = 105
12:36:00.626 TEE:  LAN_Prune Delay = 500
12:36:00.626 TEE:  Override_Interval = 2500
12:36:00.626 TEE:  DR Priority = 1
12:36:00.626 TEE:  GenId = 2062682234
12:36:00.940 tee_pim_close_session: Closing TEE session
12:36:00.940 TEE:  Locked for Semafore and Timer
12:36:01.619 TEE:  CS UnLocked semafore
12:36:01.637 Time taken for execution : 130 seconds

Thanks !!!




Thanks,
> Pavlin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20071210/4ea682c0/attachment-0001.html 


More information about the Xorp-users mailing list