05-04-2022 08:04 PM - edited 05-04-2022 08:05 PM
In GNS I am trying to store my logging to a flash file but the command is not available under the router
Is there a workaround for me to store my logging somewhere ?
Obviously disk isn't attached to anything, and I would like to view the log files
Solved! Go to Solution.
05-04-2022 08:39 PM
you can try below commands
logging buffered 2048 (buffer size you needs)
logging persistent url disk0:/directory (folder name)
05-04-2022 08:39 PM
you can try below commands
logging buffered 2048 (buffer size you needs)
logging persistent url disk0:/directory (folder name)
05-05-2022 12:15 AM
Your second command with url should solve your issue, But disk will not going to work on virtual I guess, you need use unix:
(config)#logging persistent url unix:bb
#show logging
...
Persistent logging: enabled, url unix:/bb, disk space 214747955 bytes, file size 262144 bytes, batch size 4096 bytes
05-05-2022 12:45 AM
Hello,
which image are you using ? Looks like the Dynamips ? IOSv has more options I think, it might be a limitation of the dynamips image...
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