![D-Link DXS-3250 - xStack Switch - Stackable Cli Manual Download Page 348](http://html1.mh-extra.com/html/d-link/dxs-3250-xstack-switch-stackable/dxs-3250-xstack-switch-stackable_cli-manual_4139512348.webp)
Syslog Commands
Page 347
logging
The
logging
Global Configuration mode command logs messages to a syslog server. To delete the syslog server
with the specified address from the list of syslogs, use the
no
form of this command.
Syntax
logging
{
ip-address
|
hostname
}
[
port port
]
[
severity level
] [
facility
facility
]
[
description text
]
no logging
{
ip-address
|
hostname
}
Parameters
•
ip-address
— IP address of the host to be used as a syslog server.
•
hostname
— Specifies the host name of the syslog server. (Range: 1-158 characters)
•
port
— Specifies the port number for syslog messages. (Range: 1 - 65535)
•
level
— Specifies the severity level of logged messages sent to the syslog servers. Possible values:
emergencies, alerts
,
critical
,
errors, warnings
,
notifications, informational
and
debugging
.
•
facility
— Specifies the facility that is indicated in the message. Possible values:
local0, local1, local2,
local3, local4, local5, local 6, local7
.
•
text
— Syslog server description. (Range: 1-64 characters)
Default Configuration
The default port number is 514.
The default logging message level is
informational
.
The default facility is local7.
Command Mode
Global Configuration mode
User Guidelines
Up to 8 syslog servers can be used.
If no specific severity level is specified, the global values apply to each server.
Example
The following example limits logged messages sent to the syslog server with IP address 10.1.1.1 to severity level
critical
.
Console(config)#
logging
10.1.1.1
severity
critical
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...