cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1116
Views
15
Helpful
3
Replies

can i create a flash file or export to store my syslog logging?

hfakoor222
Spotlight
Spotlight

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

 

Picture 2.png

 

 

 

 

 

 

 

 

 

1 Accepted Solution

Accepted Solutions

you can try below commands

 

 logging buffered 2048 (buffer size you needs)

 logging persistent url disk0:/directory (folder name)

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

View solution in original post

3 Replies 3

you can try below commands

 

 logging buffered 2048 (buffer size you needs)

 logging persistent url disk0:/directory (folder name)

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

balaji.bandi
Hall of Fame
Hall of Fame

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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