ژانویه 23, 2022

آشنایی با سیسکو (سوم)

آشنایی با سیسکو (سوم)

حل رفع مشکل تولید لاگ خودکار در حین کانفیگ کردن دیوایس های سیسکو

 

آشنایی با سیسکو (سوم)

 

اگر می خواهید در حین کانفیگ کردن لاگ های دیوایس های سیسکو تداخلی بوجود نیاید از دستور زیر استفاده می کنیم:

 

 

en

conf t

line console 0

logging synchronous

About Logging

You can gather the following logs in ACS:

Customer Logs
For auditing and troubleshooting your ACS, including logs that record daily operations, such as
accounting, auditing, and system-level diagnostics.

Debug logs
Low-level text messages that you can export to Cisco technical support for evaluation and
troubleshooting. You configure ACS debug logs, using the command line interface. Specifically, you enable and
configure severity levels of the ACS debug logs using the command line interface. See
Command Line Interface
Reference Guide for Cisco Secure Access Control System 5.7
for more information.

Platform logs
Log files generated by the ACS appliance operating system.
Debug and platform logs are stored locally on each ACS server. Customer logs can be viewed centrally for all servers in
a deployment.
Web interface
This is the primary logging interface. You can configure which messages to log and to where you
want the messages logged.
Command line interface (CLI)
Allows you to display and download logs, debug logs, and debug backup logs to the
local target. The CLI also allows you to display and download platform logs. See
Command Line Interface Reference
Guide for Cisco Secure Access Control System 5.7
for more information.

Command

Logging Synchronous

Use

When enabled on a console, logging synchronous causes all router status messages to be displayed on a new line.

Syntax

Router(config-line)#logging synchronous

Example

For this example, logging synchronous was disabled for console 0 on R2.

R2(config-line)#no logging synchronous

Notice now that when status messages are displayed, they display on the current line. This means that if you are in the middle of typing a command,
status messages will show up where you are typing.

R2(config)#int loopback
*Mar 1 00:37:55.987: %LINK-5-CHANGED: Interface Loopback99, changed state to administratively down
*Mar 1 00:37:56.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback99, changed state to down99

In the text above, the command that we were trying to type was int loopback 99. This got cut off by the status message that was displayed on the
same line.