If you’re locked out of a router because you forgot the password, you can change the configuration register to help you get back on your feet. Bit 6 in the configuration register is used to tell the router whether to use the contents of NVRAM to load a router configuration. The default configuration register value is 0×2102, meaning that bit 6 is off. With the default setting, the router will look for and load a router configuration stored in NVRAM (startup-config). To recover a password, you need to turn on bit 6. Doing this will tell the router to ignore the NVRAM contents. The configuration register value to turn on bit 6 is 0×2142.

Here are the main steps to password recovery:

1. Boot the router and interrupt the boot sequence by performing a break, which will take the router into ROM monitor mode. To enter ROM monitor mode by pressing Ctrl+Break during router bootup.

rommon 1 >

2. Change the configuration register to turn on bit 6 (with the value 0×2142).

rommon 1 >confreg 0×2142

Remember that if you change the configuration register to 0×2142, the
startup-config will be bypassed and the router will load into setup mode.

3. Reload the router.

rommon 2 >reset

4. Enter privileged mode by typing enable then hit Enter.

Router>enable

Router#

5. Copy the startup-config file to running-config.

Router#copy startup-config running-config

The configuration is now running in random access memory (RAM), and you’re in privileged mode, meaning that you can now view and change the configuration.

6. You can’t view the enable secret setting for the password since it is encrypted. To change the password, do this:

Router #config t
Router (config) #enable secret<password>

7. Reset the configuration register to the default value.

Router (config) #config-register 0×2102

8. Go back to privilege mode by pressing Ctrl+Z and save the router configuration.

Router#copy running-config startup-config

9. Reload the router (optional).

Router#reload

First, why T1 line is the best to choose for your business internet connection? One word to answer that is RELIABILITY. T1 lines have a very good uptime, which means they are operational 24/7/365. Unlike the DSL and cable lines, which is cheaper than T1, DSL and cable lines have a low priority repair with the telecom companies. T1 line has a high priority to repair, the telecom needs to inform the issue and figure out what is wrong. Though they don’t guarantee to fix it right away, but the telecom will guarantee to tell you what is wrong in just a couple of hours.

Equipments needed:

  • RJ-45 T1 Standard jack. In most cases the telecom will provide it.

  • CSU/DSU Interface. This is basically like a modem that communicates with the other side in T1 language. A cisco router usually has an internal CSU/DSU.

Router Configuration:

Once you are logged in you can type the following:

config t
#if you have external DSU/CSU you wont need this part controller t1 0/1
channel-group 1 timeslots 1-24
#end internal DSU/CSU interface serial 0/0/0:1 <===This is you outside interface
no shut
description point to point to internet provider
encap ppp
ip address 192.168.1.1 255.255.255.252
interface Fast 0/0 <===This is you inside interface
ip address 10.20.20.1 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.1.2 <===This is your gateway to your internet provider

In this post, we will configure Single area OSPF as a Point-to-Multipoint network type so that it operates efficiently over a hub-and-spoke Frame Relay topology. The Frame Relay switch configuration is actually the same in my previous post (Configuring Frame Relay Switch in Point-to-Point Subinterface).

Lets do the configuration in R1, R2 and R3.

R1(config)#int s 1/0
R1(config-if)#encap frame-relay
R1(config-if)#ip add 10.1.1.1 255.255.255.252
R1(config-if)#no sh
R1(config-if)#frame-relay map ip 10.1.1.9 102 broadcast
R1(config-if)#frame-relay map ip 10.1.1.5 103 broadcast
R1(config-if)#ip ospf network point-to-multipoint
R1(config-if)#ex
—————————————————————————
R2(config)#int s 1/0
R2(config-if)#encap frame-relay
R2(config-if)#ip add 10.1.1.9 255.255.255.252
R2(config-if)#no sh
R2(config-if)#frame-relay map ip 10.1.1.1 201 broadcast
R2(config-if)#frame-relay map ip 10.1.1.5 201 broadcast
R2(config-if)#ip ospf network point-to-multipoint
R2(config-if)#ex
—————————————————————————
R3(config)#int s 1/0
R3(config-if)#encap frame-relay
R3(config-if)#ip add 10.1.1.5 255.255.255.252
R3(config-if)#no sh
R3(config-if)#frame-relay map ip 10.1.1.1 301 broadcast
R3(config-if)#frame-relay map ip 10.1.1.9 301 broadcast
R3(config-if)#ip ospf network point-to-multipoint
R3(config-if)#ex

The broadcast command is used so that Frame Relay can process broadcast traffic. Use ping command to verify your connectivity,use  sh frame-relay map and sh frame-relay pvc to troubleshoot problems.

To configure Single area OSPF in 3 routers:

R1(config)#router ospf 1
R1(config-router)#network 10.1.1.0 0.0.0.3 area 0
R1(config-router)#network 10.1.1.12 0.0.0.3 area 0
—————————————————————————
R2(config)#router ospf 1
R2(config-router)#network 10.1.1.8 0.0.0.3 area 0
R2(config-router)#network 10.1.1.6 0.0.0.3 area 0
—————————————————————————
R3(config)#router ospf 1
R3(config-router)#network 10.1.1.4 0.0.0.3 area 0
R3(config-router)#network 10.1.1.112 0.0.0.3 area 0

That’s it! If you’re experiencing connectivity issues try rebooting the Frame Relay switch it might solve the issue. ;)

 

First we configure the Frame Relay switch. After enabling switching on router we specify the interface type to be a DCE because by default a router is considered to be a DTE device and in real world frame relay is DCE.

FRS(config)#frame-relay switching
FRS(config)#int s 1/1
FRS(config-if)#encap frame-relay
FRS(config-if)#frame-relay intf-type dce
FRS(config-if)#clock rate 128000
FRS(config-if)#frame-relay route 102 interface serial 1/2 201
FRS(config-if)#frame-relay route 103 interface serial 1/3 301
FRS(config-if)#no sh
FRS(config-if)#ex
FRS(config)#
FRS(config)#int serial 1/2
FRS(config-if)#encap frame-relay
FRS(config-if)#frame-relay intf-type dce
FRS(config-if)#clock rate 128000
FRS(config-if)#frame-relay route 201 interface s1/1 102
FRS(config-if)#frame-relay route 203 interface s1/3 302
FRS(config-if)#ex
FRS(config)#
FRS(config)#int s 1/3
FRS(config-if)#encap frame-relay
FRS(config-if)#frame-relay intf-type dce
FRS(config-if)#clock rate 128000
FRS(config-if)#frame-relay route 301 interface s1/1 103
FRS(config-if)#frame-relay route 303 interface s1/2 203
FRS(config-if)#ex

After configuring the Frame Relay switch we now go to  configure R1, R2 and R3.

R1(config)#int s 1/0
R1(config-if)#encap frame-relay
R1(config-if)#no ip add
R1(config-if)#no sh
R1(config-if)#ex
R1(config)#int s 1/0.102 point-to-point
R1(config-subif)#ip add 10.1.1.1 255.255.255.252
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#ex
R1(config-subif)#ex
R1(config)#int s1/0.103 point-to-point
R1(config-subif)#ip add 10.1.1.5 255.255.255.252
R1(config-subif)#frame-relay interface-dlci 103
R1(config-fr-dlci)#ex
R1(config-subif)#ex
—————————————————————————
R2(config)#int s 1/0
R2(config-if)#encap frame-relay
R2(config-if)#no ip add
R2(config-if)#no sh
R2(config-if)#ex
R2(config)#int s 1/0.201 point-to-point
R2(config-subif)#ip add 10.1.1.2 255.255.255.252
R2(config-subif)#frame-relay interface-dlci 201
R2(config-fr-dlci)#ex
R2(config-subif)#ex
R2(config)#int s1/0.203 point-to-point
R2(config-subif)#ip add 10.1.1.9 255.255.255.252
R2(config-subif)#frame-relay interface-dlci 203
R2(config-fr-dlci)#ex
R2(config-subif)#ex
—————————————————————————
R3(config)#int s 1/0
R3(config-if)#encap frame-relay
R3(config-if)#no ip add
R3(config-if)#no sh
R3(config-if)#ex
R3(config)#int s 1/0.301 point-to-point
R3(config-subif)#ip add 10.1.1.6 255.255.255.252
R3(config-subif)#frame-relay interface-dlci 301
R3(config-fr-dlci)#ex
R3(config-subif)#ex
R3(config)#int s1/0.302 point-to-point
R3(config-subif)#ip add 10.1.1.10 255.255.255.252
R3(config-subif)#frame-relay interface-dlci 302
R3(config-fr-dlci)#ex
R3(config-subif)#ex

To verify if your configurations are working go to Frame Relay switch and type  sh frame-relay route and the status must be all active.

FRS#show frame-relay route
Input  Intf     Input Dlci     Output Intf     Output Dlci     Status
Serial1/1           102                Serial1/2              201             active
Serial1/1           103                Serial1/3              301             active
Serial1/2           201                Serial1/1              102             active
Serial1/2           203                Serial1/3             302             active
Serial1/3           3 01               Serial1/1              103             active
Serial1/3           302                Serial1/2             203             active

To test your connection we can use ping command.

R1#ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/80/108 ms

That’s it! ;)

The Internet Printing Protocol (IPP) permits you to send output to printers over the Internet. Some companies and service bureaus provide this sort of service. If you need to connect to an IPP-based printer, follow these steps:

1. Click Start, Control Panel, Programs, Turn Windows Features On or Off. Click the + sign next to Print and Document Services. Check Internet Printing Client if it’s not already checked, then click OK. You only need to perform this step once.

2. Click Start, Devices and Printers, Add a Printer.

3. Select Add a Network, Wireless or Bluetooth Printer, then immediately click The Printer That I Want Isn’t Listed.

4. Click Select a Shared Printer by Name, enter the URL supplied by the print service provider, then click Next.

5. You might be prompted to select the printer manufacturer and model number. The print service provider will tell you which model to select.

6. You might also be prompted to enter a username and password, which will also be supplied by the service provider. By default, Windows will use your current logon name, domain, and password.

When the new printer icon is installed, you have a fully functional Windows printer. You can view the pending jobs and set your print and page preferences as usual, as long as you’re connected to the Internet (or the LAN, in a service establishment).

If you have two or more Windows 7 computers, you can set up a homegroup  to simplify sharing libraries, folders, and printers. The HomeGroup system is based on regular Windows file sharing, so computers running other operating systems can also participate in your network.

The easiest way to make XP and Vista fit in is to disable password protected sharing on all your computers. (Password protected sharing is discussed in the previous section.) Here are the instructions for doing this on various versions of Windows:

• Windows 7—Click Start, Control Panel, View Network Status and Tasks (under Network and Internet), Change Advanced Sharing Settings. Scroll down, select Turn Off Password Protected Sharing, and then click Save Settings.

• Windows Vista—Click Start, Control Panel, Set Up File Sharing (under Network and Internet). Click the circular icon to the right of Password Protected sharing, click Turn Off Password Protected Sharing, and then click Apply. You might need to confirm a user account control prompt.

• Windows XP Professional—Log on as a computer administrator. Click Start, My Computer. In the menu, select Tools, Folder Options, and then select the View tab. Scroll the list down to the bottom, check Simple File Sharing, and then click OK.

• Windows XP Home Edition—No adjustments are necessary. Now Windows 7 computers will connect to other Windows 7 computers using the special HomeGroupUser$ account, but all other combinations will use the Guest account. This means you need to make sure that resources are shared so that “Everyone” can use them. In particular, the file security settings for the shared folder and its contents must be set so that Everyone has read or
read and write permission.

To ensure that this happens, use the following procedures when you’re  sharing folders on various versions of Windows:

• Windows 7—Right-click a folder or library and select Share With, Share with Homegroup (Read) or Share with Homegroup (Read/Write). Then, right-click it again and select Share With, Specific People. Type or select Everyone in the drop-down list, and click Add. If you want other users to
be able to change the contents of the folder, next to Everyone, click the word Read in the Permissions column and select Read/Write. Click Share to finish.

• Windows Vista—Right-click a folder and select Share. Type or select Everyone in the drop-down list, and click Add. If you want other users to be able to change the contents of the folder, next to Everyone, click the word Reader in the Permissions column and select Contributor. Click Share to finish.

• Windows XP Professional or Home Edition—Right-click a folder and select Sharing and Security. Select Sharing This Folder and click Apply. Select the Security tab. Under Group or User Names, if there is an entry for Everyone, select it; otherwise, click Add, type the word Everyone, press Enter, and select the entry for Everyone. In the lower section, in the
Allow column, Read & Execute, List Folder Contents, and Read should be checked. If you would like to let other network users modify the contents of the folder, check Modify. Click OK to finish.

If you want to use passwords to protect access to shared folders, you should leave password-protected sharing turned on. There are two ways in which you can deal with the Windows XP and Vista computers:

• Set up accounts on every computer using the same account name and password for each person, on each computer. This will give you complete control over who has access to which folders shared by Windows 7, Vista, and XP Professional. (Per-user security is not available on folders shared by XP Home.)

• Set up a single account that you’ll use for file sharing, perhaps named share, on every computer, with the same password on every computer. Use this account when you set the permissions on shared folders, and use this account when Windows asks for an account and password when you connect to another computer.

If you share your printer, it’s enough just to enable sharing. By default, all versions of Windows enable Everyone to print to every installed printer, so anyone on the network should be able to print to any shared printer without changing the security settings.