Disabling or re-enabling syslog, Specifying a syslog server, Specifying an additional syslog server – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 261

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

227

53-1003053-01

Configuring the Syslog service

Disabling or re-enabling Syslog

Syslog is enabled by default. To disable it, enter the following command at the global CONFIG level.

TurboIron(config)#no logging on

Syntax: [no] logging on [<udp-port>]

The <udp-port> parameter specifies the application port used for the Syslog facility. The default is
514.

To re-enable logging, enter the following command.

TurboIron(config)#logging on

This command enables local Syslog logging with the following defaults:

Messages of all severity levels (Emergencies – Debugging) are logged.

Up to 50 messages are retained in the local Syslog buffer.

No Syslog server is specified.

Specifying a Syslog server

To specify a Syslog server, enter a command such as the following.

TurboIron(config)#logging host 10.0.0.99

Syntax: logging host <ip-addr> | <server-name>

Specifying an additional Syslog server

To specify an additional Syslog server, enter the logging host <ip-addr> command again, as in the
following example. You can specify up to six Syslog servers.

TurboIron(config)#logging host 10.0.0.99

Syntax: logging host <ip-addr> | <server-name>

TurboIron#show logging

Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)

Buffer logging: level ACDMEINW, 38 messages logged

level code: A=alert C=critical D=debugging M=emergency E=error

I=informational N=notification W=warning

Static Log Buffer:

Dynamic Log Buffer (50 entries):

21d07h02m40s:warning:list 101 denied tcp 10.157.22.191(0)(Ethernet18

0000.001f.77ed) -> 10.99.4.69(http), 1 event(s)

19d07h03m30s:warning:list 101 denied tcp 10.157.22.26(0)(Ethernet 18

0000.001f.77ed) -> 10.99.4.69(http), 1 event(s)

17d06h58m30s:warning:list 101 denied tcp 10.157.22.198(0)(Ethernet18

0000.001f.77ed) -> 10.99.4.69(http), 1 event(s)

Advertising