CCCPaste

527932804888a

R1# conf t
R1(config)# int s1/0
R1(config-if)# ip add 100.1.1.2 255.255.255.0
R1(config-if)# no shut
R1(config-if)# int s1/1
R1(config-if)# ip address 20.1.1.1 255.255.255.0
R1(config-if)# no shut
R1(config-if)# ex

RIP Configuration Commands for R1:

R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# network 20.1.1.0
R1(config-router)# network 100.1.1.0


R0(config)# int lo0 //loopback interface
R0(config-if)# ip add 10.1.1.1 255.255.255.0
R0(config-if)# no shut


DHCP

en
conf t
int f0/0
ip add (ip) /24
no sh
ex

int f0/0
ip dhcp pool poolname
network netid subnet
default-router (ip)
dns-server 8.8.8.8
do wr
exit

PASSWORD

Router(config)#line con 0
Router(config-line)#login
Router(config-line)#password cisco



Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password cisco
Stop console timing out in cases of inactivity Router(config)#line con 0
Router(config-line)#exec-timeout 0 0
Set the enable password to cisco Router(config)#enable password cisco
Set the enable secret password to peter.
This password overrides the enable password and is encypted within the config file
Router(config)#enable secret peter