xStack DES-6500 Modular Layer 3 Chassis Ethernet Switch CLI Manual

config syslog host

 

remote host. This corresponds to number 23 from the list above.

 

udp_port <udp_port_number> Specifies the UDP port number

 

that the syslog protocol will use to send messages to the remote

 

host.

 

ipaddress <ipaddr> Specifies the IP address of the remote host

 

where syslog messages will be sent.

 

state [enabled disabled] Allows the sending of syslog

 

messages to the remote host, specified above, to be enabled and

 

disabled.

Restrictions

Only administrator-level users can issue this command.

 

 

Example usage:

To configure a syslog host:

DES-6500:4#config syslog host 1 severity all

Command: config syslog host 1 severity all

Success.

DES-6500:4##config syslog host 1 facility local0

Command: config syslog host 1 facility local0

Success.

DES-6500:4# config syslog host 1 udp_port 6000

Command: config syslog host 1 udp_port 6000

Success.

DES-6500:4# config syslog host 1 ipaddress 10.44.67.8

Command: config syslog host 1 ipaddress 10.44.67.8

Success.

DES-6500:4# config syslog host 1 state enabled

Command: config syslog host 1 state enabled

 

Success.

 

 

 

DES-6500:4#

 

 

 

 

 

 

config syslog host all

 

 

Purpose

Used to configure the syslog protocol to send system log data to a

 

 

remote host.

Syntax

config syslog host all [severity [informational warning all]

 

 

facility [local0 local1 local2 local3 local4 local5 local6

 

 

local7] udp_port <udp_port_number> state [enabled

 

 

disabled]]

Description

The config syslog host all command is used to configure the

 

 

syslog protocol to send system log information to a remote host.

Parameters

all Specifies that the command will be applied to all hosts.

 

 

 

 

69

Page 72
Image 72
D-Link TM DES-6500 manual Config syslog host all severity informational warning all