cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1253
Views
0
Helpful
4
Replies

logging console 7 doesnt work in packet tracer

jshin95
Level 1
Level 1

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.

 

4 Replies 4

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...

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

sidshas03
Spotlight
Spotlight

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!

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?

 

Review Cisco Networking for a $25 gift card