cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7804
Views
0
Helpful
18
Replies
Highlighted
Beginner

Read Config File From Cisco Router Using C#

Hi i want to read the configuration stored in cisco router without using puTTY or hyper terminal (serial interface) purely using C# and retrieve the configuration files. is this possible?

18 REPLIES 18
Highlighted

Hi Bing,

You must see something like this in your pcap file. RST flag means reset.

192.168.3.10   192.168.1.23   TCP [TCP ACKed lost segment] 8004 > 60179 [RST, ACK] Seq=1 Ack=45320348 Win=0 Len=0


Don't look for exact same output as it will be different only RST part will be the same. If you haven't played with wireshark before I don't recommend it as it might be confusing.

You don't need to plug in directly all you have to do is following:

1) Use another computer with no AV installed.

2) Disable firewall.

3) Make sure you can reach the router IP.

4) Try tftpd64 again.

Highlighted

Hi Reza,

all the computers in my lab has AV installed and firewall enabled. I tried the solution you give but could not work

I also tried using cross cable to plug the router to my computer also encounter the same error.is there anyway i could check the port 69 is it block by the firewall? or is there any other solution you could advice?

Thanks reza!

Highlighted

Yes my router has snmp enabled.  May I know how I do using C#?

Highlighted
Hall of Fame Expert

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

You should be able to obtain the config directly from the device if you have SNMP enabled.