Hi Susana,
To add to Brad's comment, if the "From" IP address is assigned to a VLAN on the switch you can check the VLAN to ensure that it has at least one active port for the switch to recognize that the VLAN interface is active. Also, you may want to include the Virtual router via which the switch is connected to the destination (e.g. VR-MGMT or VR-Default) in the "ping" command.
Please let us know if you have any questions.
Thank you.
Best regards,
Andrew