To configure the syslog settings:
- 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.
- Select Monitoring > Logs > Server Log.
The Server Log page displays.
- Select one of the following Admin Status radio buttons:
- 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.
- 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.
-
Tunnel interface: The primary IP address of an IPv6 tunnel 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.
- 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.
- Click the Apply button.
- To save the settings to the running configuration, click the Save icon.
The following table describes the view-only fields on the page.