How to merge multiple video/audio streams using FFmpeg?

I get the following results when I do this:

Stream specifier ‘2:a’ in filtergraph description [0:a][1:v][2:a][3:v][4:a][5:v]concat=n=3:v=1:a=1[v][a] matches no streams.

What should I do now?