set the database environment
then type

rman target / catalog rman@CATALOGDB_NAME
enter the passwd:

RMAN>register database;