sama
29 posts

Hello mates Today I use the lab to practice OSPF protocol. I want to ask, how could I save the changes in the configurations that I made in the routers?

I installed the wireshark today but I don't know if it is the right tool to use for saving the configurations ( in addition I don't know how to use it, if it is the right tool plz tell me so I should practice with it a little)

Thanks alot

Sama

note: I mean copying the commands to a file (may be .txt or .cap) so that I can show it to my instructor.

dnewstat
35 posts

not accessing the lab I could only offer a guess. Can you set up a TFTP server on your pc and copy run tftp ? Or set up an archive by sharing out a folder on your pc and using the archive command ?

ip ftp usernaame yourusernamehere ip ftp password yourftppasswordhere ! archive path ftp://10.1.1.1/archives/$h write-memory !

something like that, with an ftp server set up on your pc to archive to

dnewstat
35 posts

ok, that didn't work out as planned. If you want some assistance with the archive, let me know. There should be newlines in there between some of the command. (before the 2nd ip, before the archive, before the path)

No time at this moment to figure why that didn't save correctly.

dantel
37 posts

If you are using something like Windows / PuTTY, you can set session logging to capture all session output to a logfile of your choice. When you do a sh run, it will end up in the logfile.

I use PuTTY, I'm guessing other SSH methods have a similar capability.

I've never logged into the lab, I don't know if there is some gotcha to what I suggested but a quick look at the "About the lab" section suggests it is accessed via standard SSH < we all know we shouldn't use Telnet, right?

sama
29 posts

Hello dantel

Thanks for the replay. I figure out what you said. the next time when I access the lab I will try it.

Thanks dnewstat for your replies but I think it is somewhat complicated :D

skydiver
3 posts

Hello Sama,

Maybe this can be helpful also.

A.6.6 How do I copy and paste between PuTTY and other Windows applications?

Copy and paste works similarly to the X Window System. You use the left mouse button to select text in the PuTTY window. The act of selection automatically copies the text to the clipboard: there is no need to press Ctrl-Ins or Ctrl-C or anything else. In fact, pressing Ctrl-C will send a Ctrl-C character to the other end of your connection (just like it does the rest of the time), which may have unpleasant effects. The only thing you need to do, to copy text to the clipboard, is to select it.

To paste the clipboard contents into a PuTTY window, by default you click the right mouse button. If you have a three-button mouse and are used to X applications, you can configure pasting to be done by the middle button instead, but this is not the default because most Windows users don't have a middle button at all.

You can also paste by pressing Shift-Ins.

I find it very helpful for reviewing, but also saves a lot of configuration time, as you should be able to configure from the cli command by command of course.

Kind regards, skydiver.

Viewing 1 - 6 of 6

  • 1