|
|
The set system log commands set runtime logging parameters. When the system is rebooted the parameters will revert to the last saved values. To make permanent changes to the configuration, use the Logging section. The system log facility is used to pass configuration, error, and debug information to the device administrator. Log messages can be saved in an internal buffer, sent to the AUX port, or sent to a UNIX-style syslog facility. Messages stored in the internal buffer can be viewed later by the show system log command or from the Windows or Macintosh VPN 5000 Manager managers. Logging can be configured to use one or more of the logging facilities.
set system log {off | on | level log_level | aux | noaux | remote syslog_IP_addr local_facility | noremote | clear | port {enable | disable} {Ethernet | WAN} slot:port}
off | This command disables all logging in the device. |
on | This command enables logging to the internal buffer. It also enables AUX port logging and syslog logging if they are configured on using the set system log aux and set system log remote commands, respectively. |
level log_level | This command determines the detail of messages logged. The level applies to all types of logging. log_level is: {0-7 | Emergency | Alert | Critical | Error | Warning | Notice | Info | Debug} See the Logging section for a description of the log_level. |
aux | This command enables logging to the AUX serial port. The default serial rate for the AUX port is 9600 baud. The global logging on/off setting takes precedence over this setting. <CTRL -Z> at the console will toggle this setting. |
noaux | This command disables logging to the AUX serial port. This is the default. <CTRL-Z> at the console will toggle this setting. |
remote syslog_IP_addr local_facility | This command enables logging to a remote UNIX-style syslog daemon. See syslog(sys) on the remote host for details on configuring syslog. The global logging on/off setting takes precedence over this setting.
|
noremote | This command disables logging to a remote syslog daemon. This is the default. |
clear | This command clears the internal log buffer. |
port {enable | disable} {Ethernet | WAN} slot:port | This command specifies the ports for which log messages will be generated. This is used to limit the number of messages generated.
|
The following commands will turn on runtime logging at level DEBUG (7). Log messages will go to the internal buffer and to the AUX port.
set system log level debug set system log aux set system log on
To turn off logging in the saved config:
set system log off
| Command | Description |
|---|---|
configure Logging | Configures logging options |
show system | Shows general system information |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Sep 27 11:21:18 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.