]> git.ipfire.org Git - thirdparty/lldpd.git/blame - .github/ISSUE_TEMPLATE.md
Add missing options to usage
[thirdparty/lldpd.git] / .github / ISSUE_TEMPLATE.md
CommitLineData
359767d7
VB
1This is an example of bug report. Try to adapt it to your case.
2
3# Bug description
4
5## Steps to reproduce the problem
6
7 1. Compile `lldpd` with `./configure --localstatedir=/var --with-snmp && make`.
8
9 2. Install with `sudo make install`.
10
11 3. Run `lldpd`.
12
13 4. Wait for a LLDPDU from the remote switch (vendor Pisco, release 19.1(478)KHT47.3).
14
15## Expected outcome
16
17`lldpd` should accept the LLDPDU and it should be available in the
da790d3b 18output of `lldpcli show neighbors details`.
359767d7
VB
19
20## Current outcome
21
22After executing the above steps, `lldpd` crashed. Here is the end of
23the output of `lldpd -ddddd` before the crash:
24
25```
262016-11-10T11:06:40 [ DBG/lldp] receive LLDP PDU on eno1
272016-11-10T11:06:40 [ DBG/alloc] allocate a new management address (family: 1)
282016-11-10T11:06:40 [ DBG/decode] search for the same MSAP
292016-11-10T11:06:40 [ DBG/decode] MSAP is unknown, search for the chassis
302016-11-10T11:06:40 [ DBG/decode] unknown chassis, add it to the list
31```
32
33# Additional information
34
35 - Output of `lldpd -vv`:
36
37```
38lldpd x.y.z
39 Built on ...
40
41Additional LLDP features: ...
42Additional protocols: ...
43```
44
45 - Output of `ps -fp $(pgrep -d, -x lldpd)`:
46
47```
48UID PID PPID C STIME TTY TIME CMD
49root 2265 1 0 nov.05 ? 00:00:00 lldpd: monitor.
50_lldpd 2285 2265 0 nov.05 ? 00:00:00 lldpd: connected to gs108t.
51```
52
53 - Output of `uname -sro`:
54
55```
56Linux 4.8.0-1-amd64 GNU/Linux
57```
da790d3b
VB
58
59 - Output of `tcpdump -pni eth0 -vv -X ether host 01:80:c2:00:00:0e`:
60
61```
6216:47:37.595387 LLDP, length 219
63 Chassis ID TLV (1), length 7
64 Subtype MAC address (4): 54:ee:75:0f:31:7e
65 0x0000: 0454 ee75 0f31 7e
66[...]
67 0x00b0: 1600 080f 656e 7830 3035 3062 3636 6563 ....enx0050b66ec
68 0x00c0: 6236 65fe 0900 120f 0301 0000 0000 fe09 b6e.............
69 0x00d0: 0012 0f01 03ec c100 1e00 00 ...........
70```