Friday, August 28, 2009

Point to Point lease line configuration and tips

Point-To-Point Leased Line Implementation

Current configuration:
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname A-cisco
!
username B-cisco password 0 Jonn
!
interface SeriaIO/0
ip address 1.1. I.I 255.0.0.0 encapsulation ppp
ppp authentication chap
!
line con 0
transport input none
line aux 0
line vty 0 4
no login
!
end


Current configuration:
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname B-cisco
!
username A-cisco password 0 Jonn
!
interface SeriaIO/0
ip address 1.1. I.2 255.0.0.0 encapsulation ppp
ppp authentication chap
!
ip classless
no ip http server
!
line con 0
transport input none
line aux 0
line vty 0 4
no login
!
end

Thursday, August 27, 2009

Extended IP Access Control List and Configuration

Extended IP Access Control List

RouterA(config)#access-list 103 remark stop telnet to router A whose source ip 1.1.1.2

RouterA(config)#access-list 103 deny tcp host 1.1.1.2 host 1.1.1.2 eq 23
RouterA(config)#access-list 103 permit ip any

RouterA(config)#int s0/0
RouterA(config-if)#ip access-group 103 in

RouterA#show access-lists
Extended ip access list 103
Deny tcp host 1.1.1.2 host 1.1.1.1 eq telnet(2 matches)
Permit ip any (160 matches)

Wednesday, August 26, 2009

How to eliminate the needless visual effects for better windows performance?

This tip will help you to increase the performance of your computer by eliminating the needless visual effects. By default windows XP gives you many options in the graphics fields to enjoy maximum graphics. For example, you can add pictures on folders and drop shadow on icon to give you better look but it will effect on the performance of your computer, especially on an older computer. Window XP has many default graphics which is not so useful for a common user, if you re-adjust these graphics then there is less effect on the user activities but the performance of computer will be increase tremendously. Here I will tell you how to choose:
To edit these settings, first you should log onto your computer with administrative rights.
-Click Start button and type sysdm.cpl in Run box then press Ok button for next.
-Here a dialog box will appear with the title "System Properties", select "Advanced" tab.
-Here click on Settings button under Performance area.
-When you have done then "Performance Options" dialog box will appear with different options. Here select the Visual Effects tab and choose the settings you want to use for the appearance and performance of windows on this computer.
-Turns off all the visual effects in the option of "Adjust for best performance" and when you select the option "Adjust for best appearance" it will gives you opposite effect ,Everything will turns on. Selecting "Let Windows choose what's best for my computer" triggers, as you might guess, different choices on different computers. And to pick and choose individual effects yourself, choose "custom" then decide which ones you want.

Protecting Document with Password

You can protect your document by applying password so that unauthorized person can not display as well as modify your document. You can apply two types of passwords:
Password to open the document:
If it is applied then you have to give the correct password to open the document, otherwise you cannot open the document.
Password to modify the document:
If it is applied then you have to give the correct password to modify the document, otherwise your document is opened but you cannot modify the document. It means that your document becomes read-only.
-To apply a password to document, follow these steps.
* Open Save As dialog box by selecting "Save As" command from File menu.
* Click "Tools" button of Save As dialog box and choose "General Options" from drop down menu, "Save" dialog box appears as shown in figure below.
* Enter first password in "Password to open" text box and second password in "Password to modify" text box (if required) and click "Ok" button of dialog box. Microsoft Word will open "Confirm Password" dialog box for the confirmation of passwords. The maximum length of password is 15 characters.
* Re-enter the password to open and password to modify and click "Ok" button of Confirm Password dialog boxes one by one.
* Click "Save" button of Save As dialog box.

Monday, August 24, 2009

Standard IP Access Control List.

RouterA#configure terminal
RouterA(config)#access-list 1 remark stop all traffic whose source ip 1.1.1.2
RouterA(config)#access-list 1 deny 1.1.1.2 0.0.0.0
RouterA(config)#access-list 1 permit any

RouterA(config)#int s0/0
RouterA(config-if)#ip access-group 1 in

RouterA#show access-lists
Standard IP access list 1
Deny 1.1.1.2
Permit any

Now verify these configuration on router with command us under:
RouterA#show ip int s0/0

Saturday, August 22, 2009

Break or recover the router password

-Turn the power switch off and back on to recycle the power.
-Press the Break key or key sequence to put the router into ROM Monitor mode. The break key varies by computer or terminal software. The sequence might be CTRL-D, CTRL-Break or another combination.
-At the > prompt, type 0 to record the current value of the configuration register normally 0x2102, or 0x102.
>o
-Configuration register = 0x2102 at last boot
-Bit# Configuration register option settings:
-15 Diagnostic mode disabled.
-Type o/r 0x2142 to tell the router to boot from flash without loading the configuration in NVRAM at the next reload.
-Type i to have the router reboot. The router ignores the configuration in NVRAM.
-The router runs the setup dialog, Type no or press Ctrl-C to skip the initial setup Dialog.
-Type enable ate the Router> prompt to go to privileged exec mode.
-Copy the startup configuration to the running configuration by using the configure memory or copy startup-config running-config commands. Do not type configure terminal. If you use the configure terminal command, you overwrite the configuration stored in NVRAM.
-View the configuration by typing write terminal or show running-config. View the configured line, vty and enable passwords. Any encrypted passwords need to be changed.
-Enter the configuration mode by typing configure terminal. Change the line of enable passwords as necessary.
-All interfaces are in a shutdown state. Issue the no shutdown command on every interface that is to be used.
-Type config-register 0x2102 to return the router to normal operation at the next reloads.
-Exit configuration mode by pressing Ctrl-Z
-Save your changes by typing write memory or copy running-config startup-config.
-Reload the router and verify the passwords.

Friday, August 21, 2009

Run vs. Save when downloading programe

When you are downloading any program or file from the internet, for example any antivirus program or an email attachment from your friends. Here you will get a dialog box with three options to Run, Save or Cancel. Basically this is confirmation from a user "Do you want to run or save this file", even you can cancel it to abort the downloading.
Here if you select the Run option, only the setup file is downloaded as temp file in your computer temporary internet folder and your computer run this program setup automatically without your confirmation or virus scanning. This is unsafe for your computer if you are downloading this program from any new or unknown source.
But if you select other option Save, You can save this program on your computer in any location. Now you have the full source of program on your computer, you can scan the all program before open it.
Normally you should select the Save option, if you are downloading this program from any free software sites. You have extra security layer if you save the setup file before run it.