Table 6-14. Global Log Parameters CLI Commands

CLI Command

Description

 

 

logging on

Enables error message logging.

logging {ipv4-address ipv6-address hostname} Logs messages to a syslog server. For a list of the Severity levels,

[port port] [severity level] [facility facility] see "Log Severity Levels" on page 117. [description text]

logging console level

Limits messages logged to the console based on severity.

 

 

logging buffered level

Limits syslog messages displayed from an internal buffer

 

(RAM) based on severity.

 

 

logging file level

Limits syslog messages sent to the logging file based on

 

severity.

 

 

clear logging

Clears logs.

 

 

clear logging file

Clears messages from the logging file.

 

 

show syslog servers

Displays the syslog servers settings.

 

 

The following is an example of the CLI commands:

console(config)# logging on console(config)# logging console errors console(config)# logging buffered debugging console(config)# logging file alerts console(config)# end

console# clear logging file Clear Logging File [y/n]y

Console# show syslog-servers

 

 

Device Configuration

 

 

 

-----------------------------

 

 

IP address

Port

facility

Severity

Description

----------

----

--------

--------

-----------

1.1.1.1

514

local7

info

fe80::11%vlan1

514

local7

info

3211::22

514

local7

info

Configuring System Information

117

Page 117
Image 117
Dell 3548 manual Console# show syslog-servers