In this paper, we study the global dynamics of a nonsmooth Rayleigh-Duffing equation x¨ + ax˙ + bx˙|x˙| + cx + dx3 = 0 for the case d > 0, i.e., the focus case. The global dynamics of this nonsmooth Rayleigh-Duffing oscillator for the case d < 0, i.e., the saddle case, has been studied completely in the companion volume [Int. J. Non-Linear Mech., 129 (2021) 103657]. The research for the focus case is more complex than the saddle case, such as the appearance of five limit cycles and the gluing bifurcation which means that two double limit cycle bifurcation curves and one homoclinic bifurcation curve are very adjacent occurs. We present bifurcation diagram, including one pitchfork bifurcation curve, two Hopf bifurcation curves, two double limit cycle bifurcation curves and one homoclinic bifurcation curve. Finally, numerical phase portraits illustrate our theoretical results.