0
کاربرد دستور no logging console and logging console در سیسکو
سلام دوستان ، کسی میدونه کار این کامند دقیقا چیه ؟
Code
no logging console and logging console
3 پاسخ
3
no logging console باعث میشه وقتی با پورت کنسول به سوییچ یا روتر متصل میشید هیچ گونه log ای به شما نمایش داده نشه
به عنوان مثال وقتی اینترفیسی رو shutdown یا no shutdown می کنید یه پیغام Syslog به کاربر نمایش داده میشه که با وارد کردن دستور بالا اونو دیگه نمایش نمیده
0
Code
The first message turns off logging to the console connection. If you are connected to the device via a console connection, all messages are sent to the screen. This can also be seem as a security risk (leaving it on) as having a console connection opened and having this command enabled can potentially spike up the CPU and cause a DoS. The second command disables logging messages to the terminal lines with monitor on. For instance, you telnet to the device and want to view messages not available to vty, you type the command terminal monitor. This allows you to see messages that you otherwise will be missing under a normal telnet session. Messages sent to the monitor session have the same security level as the ones sent to the console, so many engineers assumed they are switching to a console connection which they aren't.
3
no logging console
لاگ رو برای کنسول غیرفعال میکنه مثلا زمانی که شما یک Route ایجاد میکنین دقت کرده باشین Negotiate رو براتون مینویسه این کامند این تیکه رو غیرفعال میکنه