Those passwords are stored in encrypted format in the configuration.
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/9-x/unicast/configuration/guide/l3_cli_nxos/l3_advbgp.html#63308
but the NXOS-Switch obviously
since it
- needs the cleartext-password to do the BGP/MD5-Hash
during Session establishment - so this encryption is reversible somehow.
For "Type 6"-(AES-)encrypted passwords an interactive command to display the original password exists.
Does anybody have an idea how to recover those 3DES-encrypted "password 3" BGP-Passwords?