Adding System Log Servers Using the CLI

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
  1. Specify the name of the rsyslog server (for example, NX7400) to receive the notification:
    hostname (config) # fenotify rsyslog trap-sink sink_name

  2. Specify which servers will receive rsyslog notifications (one server per command):
    hostname (config) # fenotify rsyslog trap-sink sink_name enable

  3. 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

  4. Specify the protocol used to send rsyslog notifications (UDP is the default): select UDP, enter:
    hostname (config) # fenotify rsyslog trap-sink sink_name protocol UDP
  1. Save the configuration:
    hostname (config) # write memory