Adding system log servers using the CLI

Prev Next

Follow these steps to add and configure system log servers.

To add an system log server:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Specify the name of the rsyslog server (for example, NX7400) to receive the notification:

    hostname (config) # fenotify rsyslog trap-sink <sink name>
  3. Specify which servers will receive rsyslog notifications (one server per command):

    hostname (config) # fenotify rsyslog trap-sink <sink name> enable
  4. Specify the IP address or DNS address of the rsyslog server to send event logs to:

    hostname (config) # fenotify rsyslog trap-sink <sink name> address <ip address>
  5. Specify the protocol used to send rsyslog notifications (UDP is the default): To select UDP, enter:

    hostname (config) # fenotify rsyslog trap-sink <sink name> protocol UDP
  6. Save the configuration:

    hostname (config) # write memory