Logging – Dell PowerEdge M805 User Manual

Page 498

Advertising
background image

492

Syslog Commands

www

.dell.com | support.dell.com

<189> JAN 13 05:20:27 192.168.2.1-1 UNKN[248900192]:

cmd_logger_api.c(87) 2113 %% CLI:EIA-

232:----:vlan 3

<189> JAN 13 05:20:27 192.168.2.1-1 UNKN[248900192]:

cmd_logger_api.c(87) 2114 %% CLI:EIA-

232:----:ex

<189> JAN 13 05:20:28 192.168.2.1-1 UNKN[248900192]:

cmd_logger_api.c(87) 2115 %% CLI:EIA-

232:----:

<189> JAN 13 05:20:39 192.168.2.1-1 UNKN[248900192]:

cmd_logger_api.c(87) 2116 %% CLI:EIA-

232:----:show logging file

logging

Use the logging command in Global Configuration mode to log 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}

no logging {ip-address | hostname}

ip-address—IP address of the host to be used as a syslog server.

hostname—Hostname of the host to be used as a syslog server. (Range: 1-158 characters)

Default Configuration

No syslog servers defined.

Command Mode

Global Configuration mode

User Guidelines

Up to eight syslog servers can be used.

Example

The following example places the designated server in logging configuration mode.

console(config)#logging 192.168.15.1

Advertising