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