]> git.proxmox.com Git - mirror_frr.git/blob - pimd/DEBUG
Merge remote-tracking branch 'origin/master' into pim_lib_work2
[mirror_frr.git] / pimd / DEBUG
1 <<<<<<< HEAD
2
3 =======
4 >>>>>>> origin/master
5 DEBUG HINTS
6
7 - Check the source is issuing multicast packets with TTL high enough
8 to reach the recipients.
9
10 - Check the multicast packets are not being dropped due to
11 fragmentation problems.
12
13 - Three easy options to test IGMPv3 joins from the receiver host:
14
15 1) Configure pimd on the receiver host with "ip igmp join":
16
17 interface eth0
18 ip pim ssm
19 ip igmp join 239.1.1.1 1.1.1.1
20
21 2) Use test_igmpv3_join command-line utility (provided with qpimd):
22
23 test_igmpv3_join eth0 239.1.1.1 1.1.1.1
24
25 3) User the Stig Venaas' ssmping utility:
26
27 ssmping -I eth0 1.1.1.1
28
29 To see multicast responses with ssmping, you will need run on
30 the host 1.1.1.1 either:
31 a) Stig Venaas' ssmpingd command-line daemon
32 OR
33 b) qpimd built-in ssmpingd service:
34 conf t
35 ip ssmpingd 1.1.1.1
36
37 - Using nepim to generate multicast stream from 1.1.1.1 to 239.1.1.1:
38
39 Notices:
40
41 a) The host unicast address 1.1.1.1 must be reachable from the
42 receiver.
43
44 b) nepim tool requires the receiver must be started *before* the
45 sender.
46
47 First: Start a receiver for that stream by running:
48
49 nepim -q -6 -j 1.1.1.1+239.1.1.1@eth0
50 (Remember of enabling both "ip pim ssm" and "ip igmp" under eth0.)
51
52 Second: Start the sender at host 1.1.1.1.
53
54 The following command generates a 100-kbps multicast stream for
55 channel 1.1.1.1,239.1.1.1 with TTL 10 and 1000-byte payload per UDP
56 packet (to avoid fragmentation):
57
58 nepim -6 -M -b 1.1.1.1 -c 239.1.1.1 -T 10 -W 1000 -r 100k -a 1d
59
60
61
62 SAMPLE DEBUG COMMANDS
63
64 conf t
65 int eth0
66 ip pim ssm
67
68 test pim receive hello eth0 192.168.0.2 600 10 111 1000 3000 0
69 test pim receive join eth0 600 192.168.0.1 192.168.0.2 239.1.1.1 1.1.1.1
70
71 show ip pim join
72
73
74 INTEROPERABILITY WITH CISCO
75
76 ! Cisco IP Multicast command reference:
77 ! ftp://ftpeng.cisco.com/ipmulticast/Multicast-Commands
78 !
79 ip pim ssm default ! enable SSM mode for groups 232.0.0.0/8
80 ip multicast-routing
81 ip pim state-refresh disable
82 no ip pim dm-fallback
83 !
84 interface FastEthernet0
85 ip pim sparse-mode
86 ip igmp version 3
87
88 -x-