02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Command Syntax Command Mode Purpose<br />

logging console [level] CONFIGURATION Specify <strong>the</strong> severity level <strong>for</strong> messages logged to<br />

<strong>the</strong> console. Configure <strong>the</strong> following optional<br />

parameter:<br />

• level range: 0 to 7 or one of <strong>the</strong> following<br />

message levels (emergencies, alerts, critical,<br />

errors, warning, notifications, in<strong>for</strong>mational, or<br />

debugging)<br />

The default setting is level 7. To return to <strong>the</strong> default<br />

setting, enter default logging console.<br />

logging history level CONFIGURATION Specify <strong>the</strong> severity level <strong>for</strong> messages saved to<br />

<strong>the</strong> system history table and sent to <strong>the</strong> SNMP<br />

server:<br />

• level range: 0 to 7 or one of <strong>the</strong> following<br />

message levels (emergencies, alerts, critical,<br />

errors, warning, notifications, in<strong>for</strong>mational, or<br />

debugging).<br />

The default setting is level 4.<br />

logging history size size CONFIGURATION Specify <strong>the</strong> number of messages saved to <strong>the</strong><br />

system history table:<br />

• size range: 0 to 500 messages.<br />

The default setting is 1 message.<br />

logging monitor [level] CONFIGURATION Specify <strong>the</strong> severity level <strong>for</strong> messages sent to<br />

terminal lines:<br />

• level range: 0 to 7 or one of <strong>the</strong> following<br />

message levels (emergencies, alerts, critical,<br />

errors, warning, notifications, in<strong>for</strong>mational, or<br />

debugging).<br />

The default setting is level 7. To return to <strong>the</strong> default<br />

setting, enter default logging monitor.<br />

To view <strong>the</strong> logging buffer and configuration, use <strong>the</strong> show logging command (Figure 25) in <strong>the</strong> EXEC<br />

privilege mode.<br />

configure a Syslog server<br />

You can configure a BSD or SunOS UNIX system as a Syslog server. For system messages to be stored on<br />

a Syslog server, you must configure <strong>the</strong> syslog.conf file in <strong>the</strong> Syslog server and assign write permission<br />

to <strong>the</strong> file.<br />

The following examples configure a Syslog daemon <strong>for</strong> messages up to <strong>the</strong> debugging level in two<br />

different operating systems:<br />

• <strong>for</strong> a 4.1 BSD UNIX system, include this line in <strong>the</strong> /etc/syslog.conf file<br />

local7.debugging /var/log/<strong>for</strong>ce10.log<br />

• <strong>for</strong> a 5.7 SunOS UNIX system, include this line in <strong>the</strong> /etc/syslog.conf file<br />

local7.debugging /var/adm/<strong>for</strong>ce10.log<br />

68 Management

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!