cc/td/doc/product/aggr/vpn5000/5000sw/conc52x/ref52x
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Logging

Logging

This section is used to pass configuration, error and debug information to the device administrator. Log messages are cached in an internal buffer, sent to the console port, or sent to a UNIX-style syslog facility. Messages stored in the buffer can be viewed later by the show system log command or from the Windows or Macintosh VPN 5000 Manager managers. If the device is restarted, the log messages stored in the buffer are lost.

configure Logging

Keywords

After entering the configure command for the section, enter one or more of the following keywords.

Enabled = {On | Off}

The Enabled keyword enables or disables all logging in the device. If enabled, log messages are stored in an internal buffer. Other output options are described below.

Level = {0 - 7 | Emergency | Alert | Critical | Error | Warning | Notice | Info | Debug}

The Level keyword determines the detail of messages logged.

  • 0/Emergency means that you will receive logging information only when the system is unusable. These log messages will help indicate the source of the problem.

  • 1/Alert reports only alert and emergency messages. An alert message requires immediate attention.

  • 2/Critical reports critical, alert and emergency messages. A critical condition requires immediate attention.

  • 3/Error reports exception cases pertaining to violations of protocols or other operational rules. Such violations may include illegal packets and improper command syntax.

  • 4/Warning reports problems which may need a response. Examples include network number conflicts and resource allocation problems. If Warning messages are repeated, they require a response.

  • 5/Notice reports information that may be useful on a day-to-day basis by an administrator but generally does not require any response. Examples include login/logout, serial line resets, and LAN-to-LAN connections. This setting is suitable for most conditions.

  • 6/Info reports routine information, such as WAN network connect and disconnect messages.

  • 7/Debug reports every action of the device and should not be used on a day-to-day basis since it generates a large number of log messages.

The value applies to all log messages generated by the device, regardless of where the message is output or from which interface it was generated.

LogToAuxPort = {On | Off}

The LogToAuxPort keyword enables logging to the console port. A <Ctrl-Z> entered at the console will toggle this setting in the runtime device parameters.

LogToSysLog = {On | Off}

The LogToSysLog keyword enables logging to a remote UNIX-style syslog daemon. See syslog.conf(5) or syslogd(8) on the remote host for details on configuring syslog.

SyslogFacility = {Local0 | Local1 | Local2 | Local3 | Local4 | Local5 | Local6 | Local7}

The SyslogFacility keyword sets the syslog facility to which remote log messages are sent.

SyslogIPAddress = IP_Address

The SyslogIPAddress keyword specifies the IP address of the remote syslog daemon.

DisabledPorts = {port [port] [...] | None}

The keyword DisabledPorts is used to specify ports for which no log messages will be generated. This keyword is used to limit the number of messages generated.

  • port is:

  {Ethernet | WAN} slot:port[.subinterface]
  You can enter multiple ports separated by spaces.

  • If None is specified, log messages will be generated for all ports.

Example

This sets the logging to Info level and sends the log to the auxiliary port.

[ Logging ]
Enabled        = On
Level          = Info
LogToAuxPort   = On
DisabledPorts  = WAN 1 Ethernet 2

Related Commands

Command Description

show system

Shows general system information


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Sep 27 10:44:08 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.