Saturday, September 20, 2008

How to capture text, backup configuration WITH PUTTY

It is so easy to capture your configuration file with putty.

Here is what you need to do:

1- launch putty and connect to your cisco router

2- Enter the user exec mode (router> enable)

3- Issue the terminal length 0 command (router# terminal length 0) in order to force the router to return the entire response at once, rather than one screen at a time.
This allows you to capture the configuration without extraneous −−more−− prompts generated when the router responds one screen at a time.

4- Right-click on the menubar (of the putty screen) and select "change Settings"

5- Click logging under Session, select "Log all session output"

6- choose the location and name of the file (I like to place my conf on my desktop)

7- clic apply

8- issue the show run command (router# show run)

loggout and see the output on your desktop (or the location you chose).


I will post the video very soon.

Sunday, September 14, 2008

switchport port-security sticky

So, for example, to allow two MAC Addresses (1111.1111.1111 and 2222.2222.2222) at FastEthernet 0/6 (configured as an access-port), and, if any violation to that rule occurs, the port should be placed in ERRDISABLE state, recovering itself after 1hour without any intervation. The MAC Address MUST appear in the running-configuration.

How can we solve that!? Not that difficult, right!? Here´s the answer:

conf t
!
errdisable recovery cause psecure-violation
errdisable recovery interval 3600
!
interface fastethernet 0/6
switchport mode access
switchport port-security violation shutdown
switchport port-security maximum 2
switchport port-security mac-address sticky 1111.1111.1111
switchport port-security mac-address sticky 2222.2222.2222
exit







source :
http://cauew.blogspot.com/2008/09/switchport-port-security-what-we-must.html

Set the time on a Cisco router manually

To set the time:

Router# clock set 22:55:05 June 19 2006

To display the time

Router# show clock detail

Thursday, September 11, 2008

remote connection without opening a port on your firewall

Crossloop is the best remote connection software that has help me troubleshoot and train hundred of my customers. It doesn't required a customer knowledge of firewall or routers.

I used it to help friends in congo-brazzaville, France, hong-kong - It works like a charm.

You can download it for free here:

http://www.crossloop.com/ipage.htm?id=download

Display Detailed System Information

C:\Windows\System32\msinfo32.exe

This is one of the tool lot of network administrators don't know about.

I use it to document tititec network. It will give a detailled system information about each system on your network. You can print it or export the doc.

best of all - it is free.

It is on windows xp and windows vista.

C:\Windows\System32\msinfo32.exe

Friday, September 5, 2008

HOW TO REMOVE all interface configuration of a cisco router

Default interface configuration command

The easiest way to remove all settings from an interface is to use the default interface configuration command.


rtr(config)#default interface fa0/10


please check the following link for details:

http://blog.ioshints.info/2007/06/default-interface-configuration-command.html