Configuring the syslog parameters, Configuring the syslog parameters -2 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 258

Advertising
background image

Configuring the Syslog Parameters

Page 10-2

Configuring the Syslog Parameters

Syslog messages are messages generated by individual processes in the switch. These
messages contain information for conditions that range from debugging to emergency error
conditions.

The

syslog

command allows you to control how these messages will be handled. You can

designate what kinds of messages you will see and where the messages will be sent. This
syslog implementation is compatible with the standard

BSD UNIX

implementation for syslog

services.

To see the current syslog configuration, enter

syslog

at the system prompt. A screen similar to the following will be displayed.

SYSLOG current configuration:

1) Log host

- UNDEFINED

2) Log host IP

-

3) Syslog port (514)

- 514

4) Default facility code

- local0

41) Override internals - no
5) Default priority mask - emerg
51) Override internals - no
52) Display internals

- no

6) Console logging

- yes

7) Log Task ID

- yes

71) Use Task Name

- no

8) Message tag

- switch


(save/quit/cancel)

:

Select the number of the item you want to change. To change any of the values on the previ-
ous page, enter the line number, followed by an equal sign (

=

), and then the new value. For

example, to turn off console logging, enter:

6=no

The question mark (

?

) option refreshes the screen. To update the values you have changed,

enter

save

. If you do not want to save the changes enter

quit

or

cancel

, or press

Ctrl-D

.

The parameters displayed by the

syslog

command are described below.

Log host

The name of the host where you want the syslog messages sent. The Domain Name Server
(

DNS

) must be configured for this to work. Use the

res

command to configure the

DNS

. (The

res

command is described in Chapter 14, “RMON and DNS Resolver.”)

Log host IP

The IP address of the host where you want the syslog messages sent. If the IP address and
the Log host name disagree, the IP address takes precedence.

Syslog port (514)

The port to which the syslog messages will be sent on the specified host. Port 514 is the
normal port number used and is the default.

Advertising