beautypg.com

Logging on, Logging trap, Logging on logging trap – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 142

background image

86

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

5

Event Logging

Example

Console(config)#logging host 10.1.0.3

Console(config)#

logging on

This command controls logging of error messages, sending debug or error messages to a logging
process. The no form disables the logging process.

Syntax

[no] logging on

Default Setting
None

Command Mode
Global Configuration

Command Usage
The logging process controls error messages saved to switch memory or sent to remote syslog
servers. You can use the

logging history

command to control the type of error messages that are

stored in memory. You can use the

logging trap

command to control the type of error messages

that are sent to specified syslog servers.

Example

Console(config)#logging on

Console(config)#

Related Commands

“logging history”

on page 84

“logging trap”

on page 86

“clear log”

on page 87

logging trap

This command enables the logging of system messages to a remote server, or limits the syslog
messages saved to a remote server based on severity. Use this command without a specified level
to enable remote logging. Use the no form to disable remote logging.

Syntax

logging trap [level level]

no logging trap [level]

level - One of the syslog severity levels listed in the table under

“logging history”

on

page 84. Messages sent include the selected level through level 0.

Default Setting
Disabled
Level 7