Showing posts with label Router Configuration. Show all posts
Showing posts with label Router Configuration. Show all posts

Thursday, March 4, 2010

Router Configuration

1. Enter global configuration mode.
router> enable
router# config t

2. Configure hostname and passwords.
router(config)#hostname Lab-B
Lab-B(config)#enable secret class
Lab-B(config)#enable password cisco

3. Configure the interfaces.
Lab-B(config)#int fastethernet0/0
Lab-B(config-if)#ip address 219.17.100.1 255.255.255.0
Lab-B(config-if)#no shutdownLab-B(config)#int s0/0
Lab-B(config-if)#ip address 199.6.13.1 255.255.255.0
Lab-B(config-if)#clock rate 56000Lab-B(config-if)#bandwidth 56
Lab-B(config-if)#no shutdownLab-B(config)#int s1
Lab-B(config-if)#ip address 201.100.11.2 255.255.255.0
Lab-B(config-if)#no shutdownLab-B(config-if)#exit

4. Configure the routing protocol and table.

Lab-B(config)#ip host Lab-A 192.5.5.1 205.7.5.1 201.100.11.1
Lab-B(config)#ip host Lab-B 219.17.100.1 199.6.13.1 201.100.11.2
Lab-B(config)#ip host Lab-C 223.8.151.1 204.204.7.1 199.6.13.2
Lab-B(config)#ip host Lab-D 210.93.105.1 204.204.7.2
Lab-B(config)#ip host Lab-E 210.93.105.2

6. Configure the line con 0 and line vty 0 4 (the telnet login).

Lab-B(config)#line con 0
Lab-B(config-line)#login
Lab-B(config-line)#password cisco
Lab-B(config-line)#line vty 0 4
Lab-B(config-line)#login
Lab-B(config-line)#password cisco
Lab-B(config-line)#exit
Lab-B(config)#exit
Lab-B#

7. Save the running configuration to NVRAM

Lab-B#copy run start