I was reading local Kronecker–Weber theorem implies global one in a course manual, but there's some parts I don't understand:
Assume local Kronecker–Weber theorem, that is , every finite abelian extension of $\mathbb Q_p$ lies in a cyclotomic field $\mathbb Q_p(\zeta_m).$
Now let $K/\mathbb Q$ be a finite abelian extension, for each ramified prime $p$ of $\mathbb Q$, pick a prime $\mathfrak p|p$ in $K$ and let $K_{\mathfrak p}$ be its completion. The extension $K_{\mathfrak p}/\mathbb Q_p$ is finite abelian (its galois group is isomorphic to a subgroup of $\mathrm {Gal}(K/\mathbb Q)$ by previous theorem), then by assumption $K_{\mathfrak p}\subset \mathbb Q_p(\zeta_{m_p})$ for some integer $m_p\geq 1$. Now let $e_p=v_p(m_p)$ and let $m = \prod_p p^{e_p}$.(this is finite since it ranges over ramified primes)
Let $L=K(\zeta_m)$, then $L$ is Galois and abelian.(Since its Galois group is isomorphic to a subgroup of $\mathrm{Gal(K/\mathbb Q)}\times\mathrm{Gal}(\mathbb Q(\zeta_m)/\mathbb Q)$). Let $\mathfrak q$ be a prime of $L$ lying above one of our choosen $\mathfrak p|p$, then the completion $L_\mathfrak q$ is a finite abelian extension of $\mathbb Q_p$.
Let $F$ be the maximal unramified extension of $\mathbb Q_p$ in $L_\mathfrak q$(it's the union of all $E \subset L_\mathfrak q$ with $E$ finite unramified over $\mathbb Q_p$), Then $L_\mathfrak q/F$ is totally ramified, so its Galois group is isomorphic to the inertia group $I_{\mathfrak q}$. The field $F$ contains roots of unity $\zeta_n$ for all $n|m$ not divisible by $p$ (because extensions $\mathbb Q_p(\zeta_n)$ are all unramified), so $L_\mathfrak q = F(\zeta_m) = F(\zeta_{p^{e_p}})$.
My question is, why in the last paragraph $L_\mathfrak q = F(\zeta_m)$?
We have $L_\mathfrak q = K_\mathfrak p(\zeta_m)\subset \mathbb Q_p(\zeta_{m_p}, \zeta_m)\subset F(\zeta_{m_p}, \zeta_m)= F(\zeta_{m_p}, \zeta_{p^{e_p}})= F(\zeta_{m_p})$ clearly, but this is not the result I want so I don't know how to proceed.
It's known that $\mathbb Q_p(\xi_{m'})$ is unramified over $\mathbb Q_p$ for $m'$ not divisible by $p$, so write $m_p =p^{e_p}m'$, we have $\mathbb Q_p (\xi_{m'})\subset F$, hence $F( \xi_{p^{e_p}})=F(\xi_{p^{e_p}},\xi_{m'})\supset \mathbb Q_p(\xi_{m_p})\supset K_p$.
Now $L_q\supset F(\xi_{p^{e_p}})=F(\xi_{p^{e_p}}, \xi_m)\supset K_p(\xi_m) = L_q$, so it's done.