BOE-A-2002-6016 (Royal Decree 287/2002) includes a list as well as the rules for having and travelling with potentially dangerous dogs.
These dogs must board, disembark and remain in specially designated areas of the vessel (walking areas) and must be on a leash and muzzled. Otherwise, they will not be allowed to board.