The example at https://docs.vyos.io/en/equuleus/configuration/system/login.html?highlight=post-login#login-banner should exept for \\n also mention that the post-login should be encapsulated with " to avoid errors.
Example:
set system login banner post-login "\\nABC\\n123\\n"