Change audio port

why when I type in the terminal " pacmd set-sink-port sink.primary_output output-parking" does not change the port?

I don’t know what error & log messages you got, so it’s hard to help you. I don’t even know if this sink that you specified exists, but I haven’t checked. You’re probably easier off using a GUI for manually selecting a sink: https://openrepos.net/content/ahappyhuman/audio-output-chooser

You can find the pulseaudio logs with systemctl --user -xeu pulseaudio, error messages appear in the console after you entered the command.