Bitcoin Core does not have a way to directly import maser private keys.
You could derive a bunch of private keys in WIF from the xpriv and import them all at once, but you can't import the xprv directly.
Electrum does what you want easily:
Go to File -> New/Restore
Type a wallet name.
Select "standard wallet"
Click next
Select "use a master key"
Paste the xpriv
Click next
Set up a password for safety
Click next
Voila! Your addresses are there.
The first 20 addresses your xpriv creates are
192CfrTf5cxGSZX6AjLv6jikU4HVJRQ8bG
1N4sb4VR823iJB9vMThfu5puz1WtYUxdtD
1684T8iTTFdJz39LgzZLZ7428FaJzKmHp4
16TTQLQDkfV2iR5FpErvfvNBwkevY7hRS4
1HgXFVdr7XZAvWj74aaKmxDWe5EZziPp1
1DH4j4oSMPdNSw1WchbEVUXiqCZFGUjQqc
194ER44TQxokxoTU62pFdjfehrJ6fj1arG
1KGZ18FA3pSEH6ujou9tPrNZsyBALePg43
1Ar9dmRu5oaE8CDJVGVwTikwph1CJaGypF
14j7xd7vYnKDDit3wyBdESWbKTapAeoLSZ
1MZFw8r5Ve9pyddF5XzEBZHGxmCDs4E4cb
1DeRxFnivmqM3jyLdRhj8T8UWeWw2aKbhA
1Mczuhijuz8GZRU2HZbpv6p2nLYAA78aN3
1M1j5ZPivzqZhckNMsotomTD7QDAdsiWw2
12r2cBZLix2ekuuGEa9f2kCv3MsHWihvN7
18iprVoUt3LK48k7qDiwSNpbQLo9SRtnsY
1HAtDeCBcsW3oEThz4oq8mNRBKgZmAQGpp
1FbdkfdsTg5s1GX5GonSCChS68g9xeqDPw
1KQ6gUcb8PhU7xxKgpGBniyWVufDWmg2kP
1FwAoDDUo72rcWgkAZVxQ6GghUKfWP76f8
1Es4VZKew8EG68KS6hjgCVuePB7FW3Y4Zt
You can also use Mycelium wallet.
Copy the xpriv to the clipboard
On the accounts tab, select "add account"
Select "advanced" on the next screen
Type in your pin if you set one up
Click on clipboard to import the xpriv from the clipboard.
Enter an account label, and that's it.