Transcript Slide 1

Basic Configuration
Host Name :R1
Model : 1841
WIC-1T
192.168.0.1/24
Serial 0/0/0
#enable
#conf ter
#hostname R1
#interface s0/0/0
#ip address 192.168.0.1 255.255.255.0
#no shut
Basic Configuration
Host Name :R1
Model : 1841
WIC-1T
192.168.0.1/24
Serial 0/0/0
Password Recovery
Host Name :R1
Model : 1841
WIC-1T
192.168.0.1/24
Serial 0/0/0
OLD Password : cisco
New Password : router
Password Recovery
Change configure-register to be 0x2142
#reload
Ctrl+Break
#confreg 0x2142
#reset
Host Name :R1
Model : 1841
Change to be new password
#copy startup-configure running-configure
#config terminal
#enable secret ………. (new password)
#configure-register 0x2102
#wr or copy run start
#reload
WIC-1T
OLD Password : cisco
New Password : router
192.168.0.1/24
Serial 0/0/0
Open Telnet/ Console Password
Host Name :R1
Model : 1841
192.168.1.2/24
192.168.1.1/24
FE 0/0
Open Telnet/ Console Password
Encrypt password
#service password-encryption
Host Name :R1
Model : 1841
WIC-1T
192.168.1.2/24
192.168.1.1/24
FE 0/0
#enable
#conf ter
#hostname R1
#interface fa0/0/0
#ip address 192.168.1.1 255.255.255.0
#no shut
Set password console
#conf ter
#line console 0
#password cisco
#login
Set password telnet
#conf ter
#line vty 0 4
#password cisco
#login
Backing Up and Restoring to TFTP Server
R1
192.168.1.0/24
.1
.2
FA 0/0
TFTP Server
Copy flash tftp:
Copy tftp: startup-configure
Host Name : R1
Host Name : R2
192.168.0.0/24
.1
.2
Serial 0/0/0
Serial 0/0/0
Static Route
R1
R2
192.168.0.0/24
.1
.2
Serial 0/0/0
Serial 0/0/0
.1 F0/0
F0/0
.1
192.168.2.0/24
192.168.1.0/24
.2
.2
PC1
PC2
GW:192.168.1.1
GW:192.168.2.1
Load Sharing Static Route
R2
R1
.1
192.168.0.0/24
Serial 0/0/0
.1
.1
.2
192.168.3.0/24
Serial 0/1/0
192.168.1.0/24
.2
Serial 0/0/0
.2
Serial 0/1/0
.1
192.168.2.0/24
.2
Static Route and Default Route
Host Name : R1
192.168.0.0/24
.1
Serial
0/0/0
F0/0
Host Name : R2
.1
.2
Serial
0/0/0
.1
192.168.1.0/24
192.168.3.0/24
Serial
0/1/0
F0/0
Host Name : R3
.2
Serial
0/0/0
.1
F0/0
192.168.2.0/24
192.168.4.0/24
.2
.2
PC1
PC2
GW:192.168.1.1
GW:192.168.2.1
.1
.2
PC3
GW:192.168.4.1
R2(config) router rip
R2(config-router)# network 192.168.0.0
R2(config-router)# network 192.168.2.0
R2(config-router)# network 192.168.3.0
Host Name : R1
Host Name : R2
192.168.0.0/24
.1
Serial
0/1/0
192.168.3.0/24
.1
.2
Serial
0/1/0
Serial
0/0/0
Host Name : R3
.2
Serial
0/1/0
.1
.1
192.168.1.0/24
.1
192.168.2.0/24
.2
.2
192.168.4.0/24
.2
R1(config) router rip
R3(config) router rip
R1(config-router)# network 192.168.1.0
R3(config-router)# network 192.168.3.0
R1(config-router)# network 192.168.0.0
R3(config-router)# network 192.168.4.0
Dynamic Route [RIP]
OSPF Area 0
Host Name : R1
R1(config) router ospf 1
R1(config-router)# network 192.168.4.0 0.0.0.255 area 0
R1(config-router)# network 192.168.3.0 0.0.0.255 area 0
Host Name : R2
192.168.0.0/24
.1
Serial
0/1/0
.1
192.168.1.0/24
.2
192.168.3.0/24
.1
.2
Serial
0/1/0
Serial
0/0/0
.1
192.168.2.0/24
.2
Host Name : R3
.2
Serial
0/1/0
.1
192.168.4.0/24
.2
R1(config) router ospf 1
R1(config-router)# network 192.168.1.0 0.0.0.255 area 0
R1(config-router)# network 192.168.0.0 0.0.0.255 area 0
Dynamic Route [OSPF]
192.168.0.0/24
.3
.4
F0/3
F0/4
2960
F0/1
F0/2
.1
.2
192.168.0.0/24
#int fast Ethernet 0/1
#switchport mode access
10.1.1.0/24
Native
VLAN 1
10.1.10.0/24
Admin
VLAN 10
Ports:1-8
Catalyst 2960
Ports:9-15
10.1.20.0/24
Accounting
VLAN 20
Ports:16-24
10.1.30.0/24
Engineering
VLAN 30
SW1
Vlan 2 – sale
Vlan3 - engineering
Gi1/1
IEEE 802.1q Trunk
Gi1/2
IEEE 802.1q Trunk
Gi1/1
Gi1/1
SW3
SW2
F0/1
F0/2
Vlan 2
Vlan 3
192.168.2.1 192.168.3.1
F0/1
Vlan 2
192.168.2.2
F0/2
Vlan 3
192.168.3.2
Vlan 2 – sale
Vlan3 – engineering
Vlan4 – guest
Server
SW1
IEEE 802.1q Trunk
IEEE 802.1q Trunk
IEEE 802.1q Trunk
SW3
SW4
SW2
Client
Client
Transparent
IEEE 802.1q Trunk
IEEE 802.1q Trunk
SW5
SW6
Client
Client
Domain : Cyber
Password : cisco
Vlan 3 :: 192.168.1.1
Vlan 2 :: 192.168.2.1
VLAN 3
2960
3560
192.168.1.0/24
F0/1
G1/1
G1/1
.3 VLAN 2
192.168.2.0/24
G1/2
G1/1
2960
.2
F0/2
VLAN 3
F0/2
192.168.1.0/24
F0/1
.2
VLAN 2
192.168.2.0/24
.3
Trunk Line
VTP Domain : PSU
VTP Server : ws-c3560
VTP Client : ws-c2960
Cisco configuration of DHCP service on a Router or L3 Switch
Network subnet : 192.168.0.0 255.255.255.0
Gateway Address : 192.168.0.1
DNS Server : 4.2.2.2
Excluded Addresses : 192.168.0.1 to 192.168.0.10
R1
.1
192.168.0.0/24
Cisco configuration of DHCP service on a Router or L3 Switch
Network subnet : 192.168.0.0 255.255.255.0
Gateway Address : 192.168.0.1
DNS Server : 4.2.2.2
Excluded Addresses : 192.168.0.1 to 192.168.0.10
#ip dhcp pool mypool
R1
#network 192.168.0.0 255.255.255.0
.1
#default-router 192.168.0.1
#dns-server 4.2.2.2
192.168.0.0/24
#exit
#ip dhcp excluded-address 192.168.0.1 192.168.0.10
NAT – Network Address Translation
Internet
99.99.99.99/24
FA0/1
R1
FA0/0
.7
.1
192.168.1.0/24
.8
NAT – Network Address Translation
Internet
99.99.99.99/24
FA0/1
R1
FA0/0
.1
192.168.1.0/24
ip nat inside source list 1 interface FastEthernet0/1 overl
access-list 1 permit 192.168.1.0 0.0.0.255
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
.7
.8
interface FastEthernet0/1
ip address 99.99.99.99 255.255.255.0
ip nat outside
ACL – Access Control List
20.163
50.75
172.16.20.1/24
50.1
Calgary
RedDeer
Edmonton
30.1
10.1
80.16
50.7
60.1
30.2
80.1
60.2
40.1
70.1
Fa0/1
10.5
40.89
70.5
70.2