D-Link DES-3010F Reference Manual - Page 68

create syslog host, warning | all] | facility [local0 | local1 | local2 | local3 | local4

Page 68 highlights

DES-30XX Layer 2 Switch CLI Reference Manual create syslog host local4 − Specifies that local use 4 messages will be sent to the remote host. This corresponds to number 20 from the list above. local5 − Specifies that local use 5 messages will be sent to the remote host. This corresponds to number 21 from the list above. local6 − Specifies that local use 6 messages will be sent to the remote host. This corresponds to number 22 from the list above. local7 − Specifies that local use 7 messages will be sent to the remote host. This corresponds to number 23 from the list above. udp_port − Specifies the UDP port number that the syslog protocol will use to send messages to the remote host. ipaddress − Specifies the IP address of the remote host where syslog messages will be sent. state [enable | disable] − 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 create syslog host: DES-3026:4#create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 Command: create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 Success. DES-3026:4# config syslog host Purpose Syntax Description Parameters Used to configure the syslog protocol to send system log data to a remote host. config syslog {host [all ]} {severity [informational | warning | all] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port | ipaddress | state [enable | disable]} The config syslog host command is used to configure the syslog protocol to send system log information to a remote host. all − Specifies that the command will be applied to all hosts. − Specifies that the command will be applied to an index of hosts. There are four available indexes, numbered 1 through 4. severity − Severity level indicator. These are described in the following: Bold font indicates that the corresponding severity level is currently supported on the Switch. Numerical Severity Code 0 Emergency: system is unusable 1 Alert: action must be taken immediately 64

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174

DES-30XX Layer 2 Switch CLI Reference Manual
64
create syslog host
local4
Specifies that local use 4 messages will be sent to the
remote host. This corresponds to number 20 from the list above.
local5
Specifies that local use 5 messages will be sent to the
remote host. This corresponds to number 21 from the list above.
local6
Specifies that local use 6 messages will be sent to the
remote host. This corresponds to number 22 from the list above.
local7
Specifies that local use 7 messages will be sent to the
remote host. This corresponds to number 23 from the list above.
udp_port <int>
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 [enable | disable]
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 create syslog host:
DES-3026:4#create syslog host 1 ipaddress 10.53.13.94 severity all facility local0
Command: create syslog host 1 ipaddress 10.53.13.94 severity all facility local0
Success.
DES-3026:4#
config syslog host
Purpose
Used to configure the syslog protocol to send system log data to a
remote host.
Syntax
config syslog {host [all <index 1-4>]} {severity [informational |
warning | all] | facility [local0 | local1 | local2 | local3 | local4 |
local5 | local6 | local7] | udp_port <udp_port_number> |
ipaddress <ipaddr> | state [enable | disable]}
Description
The
config syslog host
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.
<index 1-4>
Specifies that the command will be applied to an index
of hosts. There are four available indexes, numbered 1 through 4.
severity
Severity level indicator. These are described in the
following:
Bold
font indicates that the corresponding severity level is currently
supported on the Switch.
Numerical
Severity
Code
0
Emergency: system is unusable
1
Alert: action must be taken immediately