MonthMay 2011

Cisco iOS routing

Making a static route on cisco iOS is rather easy!

With static routes you can tell your router (or any other network device) where to route the network traffic for a specified network to. This can be an Interface or IP address. The command looks like this:

iOS(config)# ip route <IP/network> <netmask> <gateway/interface>

So, if you know that network is behind router you’d do:

iOS(config)# ip route

If you want to add a default route, specify a network:

iOS(config)# ip route

And, last but not least, use a exit interface: ( is directly connected to FE1)

iOS(config)# ip route FE1

And at the end, you probably want to have a look at what you’ve done:

iOS(config)# show ip route static

or more specific, “grep” for a route or gateway:

iOS(config)# show ip route static | inc

As inc stands for include, see this post.

Reset Windows Administrator Password

This should work with Windows Vista, 7, 2003 and 2008, maybe more. I personally tested it with 2008 R2 Standard only.

To reset a Windows Admin password, you need the following things:

  • Physical access to the Server
  • A Windows installation boot media

If you have it all, continue with this:

  • insert boot media and reboot (from media)
  • jump through the menu so that you get a recovery console at the end
  • find the original installations C:\ drive and change to it (original C:\ drive can be D:\ or any other letter when booted from recovery/install media)
  • then:
cd Windows\System32\
copy sethc.exe C:\ <-- remember: C:\ could be D:\ now!!
copy /y cmd.exe sethc.exe
  • reboot your box
  • on login screen, press shift-key five times
  • a command window should show up
  • maybe you have to press Alt+Tab until the new window has the focus
  • type:
net user administrator <new password>  <-- while <new password> is  actually replaced by your new password :)
  • login with your new password

© 2017 netmess

Theme by Anders NorenUp ↑