Configure the syslog settings

To configure the syslog settings:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Monitoring > Logs > Server Log.

    The Server Log page displays.

  3. Select one of the following Admin Status radio buttons:
    • Enable: The switch sends log messages to all configured syslog servers.

    • Disable: The switch stops sending log messages all configured syslog servers.

  4. In the Local UDP Port field, specify the port number that the switch uses to send log messages to the syslog servers.

    The range is from 1 to 65535. The default port is 514.

  5. From the Source Interface menu, select the source interface or VLAN that must be used for syslog communication. By default, the following options display in the menu:
    • None: The primary IP address of the originating (outbound) interface is used as the source address.

    • VLAN 1: The primary IP address of VLAN 1 is used as the source address. This is the default selection.

    • Service Port: The management port IP address is used as the source address.

    Depending on the configuration of your switch, the following options can display:

    • Another VLAN ID: The primary IP address of a VLAN other than VLAN 1 is used as the source address.

    • Routing interface: The primary IP address of a routing interface is used as the source address.

    • Routing VLAN: The primary IP address of a VLAN routing interface is used as the source address.

    • Routing loopback interface: The primary IP address of a routing loopback interface is used as the source address.

    • Different: For some features, Different can display. This means that the source interface is configured separately.

    Note: The syslog function on the switch can save the log messages simultaneously to a remote server and to a USB storage device.
  6. To simultaneously save the log messages to a USB storage device, in the USB Filename field, specify the name of the USB file.

    The file name cannot include the following symbols: V:*?”<>!. Up to 64 characters can be entered. The 64 characters are only the file name length, the extension is automatically added.

  7. Click the Apply button.

    Your settings are saved.

  8. To save the settings to the running configuration, click the Save icon.

The following table describes the view-only fields on the page.

Table 1. Syslog configuration information

Field

Description

Messages Received

The number of messages received by the log process. This includes messages that are dropped or ignored.

Messages Relayed

The number of syslog messages relayed.

Messages Ignored

The number of syslog messages ignored.