Merit GateD Consortium

Code, Tools and Documentation GateD Consortium


GateD-Multicast Library

Basic PIM-DM v2 Flood and Prune

This test is intended to test basic data flood and prune functionality among GateD PIM Dense Mode routers. This includes verifying correct (S,G) forwarding state creation, basic Prune message handling, Graft message handling, and timing out of (S,G) state.

The test topology includes two routers, A and B, interconnecting three networks and two hosts, as shown below. One host will flood data through the network triggering creation of multicast state in the routers, and prunes will propogate back up. The second host will then join, trigging graft messages to reestablish forwarding through the network.

            N1              N2              N3
 Sending -------- Router -------- Router -------- Receiving
  Host              A               B                Host

  1. Start gated on routers A and B with PIM-DM configuration, then wait 60 seconds.
  2. Verify that A doesn't consider N2 a leaf network.
  3. Verify that B considers N3 a leaf network.
  4. Send multicast data to group G, from the sending host, S, then wait 5 seconds.
  5. Verify that both A and B have (S,G) entries with negative cache state.
  6. Join group G on the receiving host.
  7. Verify that A now has N2 in the oiflist of (S,G).
  8. Verify that B now has N3 in the oiflist of (S,G).
  9. Leave group G on the receiving host and wait 11 seconds.
  10. Verify that A still has N2 in the oiflist of (S,G) (pruning the LAN should be delayed by 3 seconds).
  11. Wait 6 seconds and verify that both A and B have (S,G) entries with negative cache state, then wait 300 seconds.
  12. Verify that both A and B have timed out their (S,G) entries.
  13. Halt gated on A and B.

Test Script gated-multi/tests/pim/pimdm_flood_prune
Tested By Kurt Windisch ( ANTC)
Date 2/10/98 (repeated 3/17/98
Status Passed