Forwarding syslog messages from a Cisco CatOS switch

To forward a syslog message from a Cisco CatOS switch:
  1. Log in to the target switch.
  2. Type the command enable at the prompt.
  3. Enter the password when prompted.
  4. Set the Syslog forwarding mechanism; for example:
    set logging server <IP address of the server>
  5. 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