03-04-2023 07:32 PM
so, I wanted to make my packet tracer's Cisco IOS to give me a change log right after I type a command
naturally, I googled and found a command
logging Console 7
this is supposed to work for my purpose, however in the latest Cisco Packet tracer, which is version 8.2.0.0162, it shows up as below
R1(config)#logging console 7
^
% Invalid input detected at '^' marker.
I already typed terminal monitor to enable log output after I type in a command, by the way.
03-05-2023 12:17 AM
Hello,
I get the same error. Seems to be one of the limitations of Packet Tracer. I can only set 'logging console', without any level...
03-05-2023 04:59 AM
Yup. Not unexpected. PT often does not support many IOS features. Other software hardware emulators do, such as GNS3 and similar.
BTW, I believe PT offers some of its own unique features to assist in learning.
03-05-2023 06:51 AM
It looks like the "logging console" command is not supported in Cisco Packet Tracer 8.2.0.0162. However, you may try using the following command to enable logging on the console:
R1(config)#logging monitor 7
This command should send all log messages with a severity level of 7 or lower to the console. You can adjust the severity level as per your requirement.
Alternatively, you can also try using the following command to enable logging on the console:
R1(config)#line console 0
R1(config-line)#logging synchronous
R1(config-line)#logging monitor 7
This command sequence should enable logging on the console and synchronize the output with the command input so that the output appears immediately after the command. I hope this helps. Let me know if you have any further questions!
03-05-2023 07:20 AM - edited 03-05-2023 07:22 AM
FYI: (from my version of PT ver. 8.2.0.0162:
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#logging ?
A.B.C.D IP address of the logging host
buffered Set buffered logging parameters
console Set console logging parameters
host Set syslog server IP address and parameters
on Enable logging to all enabled destinations
trap Set syslog server logging level
userinfo Enable logging of user info on privileged mode enabling
Router(config)#line console 0
Router(config-line)#logging ?
synchronous Synchronized message output
Neither "monitor" option, you've suggested, appears to be supported.
You're able to do what you suggest with your copy of PT ver. 8.2.0.0162?
Of course, there's are secret IOS commands, which help doesn't show, but are accepted if you type them in, however, I get an error if I type in your "monitor" lines, i.e.:
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#logging monitor 7
^
% Invalid input detected at '^' marker.
Router(config)#line console 0
Router(config-line)#logging synchronous
Router(config-line)#logging monitor 7
^
% Invalid input detected at '^' marker.
Again, this works with your copy of PT?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide