Log on to the target switch.
Type the command enable at the prompt.
Once you are prompted for a password, enter the correct password.
Set the Syslog forwarding mechanism. See example below:
set logging server <IP address of the server>
You can set the types of logging information that you want the switch to provide with the commands below as examples:
set logging level mgmt 7 default set logging level sys 7 default set logging level filesys 7 default