Beruflich Dokumente
Kultur Dokumente
Cisco Public
Cisco Public
Static Routes and dynamic routing protocols are used by routers to learn a bout remote networks and build their routing tables
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
CPU :
CPU executes operating system instructions
RAM :
RAMs stores the instructions and data needed to be executed by the CPU
Cisco Public
IP Routing Table
This file stores information a bout directly connected and remote networks , it is used to the best path to forward the packet
ARP cache : this cache contains the IPv4 address to MAC address mapping Packet Buffer :
packets are temporarily stored in a buffer when received on an inter face or before they exit an interface
RAM is volatile memory and loses its content when the router is powered down or restarted
Cisco Public
ROM :
Is a form of permanent storage cisco devices ROM Store :
Cisco Public
Flash Memory :
Flash memory is nonvolatile computer memory that can be electrically stored and erased Flash is used as permanent storage for the operating system cisco IOS The IOS is permanently stored in flash memory and copied into RAM during the boot process , where it is then executed by the CPU Flash memory does not loses its contents when the router loses power or is restarted
Cisco Public
startup
configuration file
All configuration changes are stored in the running - config file in RAM , so IOS save those changes is case the router is restarted or loses power the
running-config must be copied to NVRAM where it is stored as the start up config file
Cisco Public
10
config file
IOS executes the configuration commands in the running-config , and changes entered by the network administrator are stored in the running-config and are immediately implemented by the IOS
Cisco Public
11
12
13
If the startup configuration file is found in NVRAM the IOS loads it into RAM
The default running config does not contain any interface address, routing information , passwords or other specific configuration information
Management ports
Routers have physical connectors that are used to manage the router Unlike Ethernet and serial interfaces , management ports are not used for packet forwarding The most common management port is the console port , the console port is used to configure the router without the need for network access to that router Another management port is the auxiliary port , but not all routers have auxiliary port
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
14
Router interfaces
Refer to physical connectors on the router , who main purpose to receive and forward packets For example : a Router usually has fast Ethernet interfaces for connection to different LANs and various types of WANs interfaces to connect varity of serial links including T1, DSL , ISDN
15
Router Rename
Router>enable Router# conf t Router(config)# hostname r1 R1(config)#
Cisco Public
16
Cisco Public
17
The (CSU/DSU) DCE device is also responsible for converting the data from the WAN service provider into a form acceptable by the router (DTE)device Router is usually connected to the (CSU/DSU) using a serial DTE cable Serial interfaces require a clock signal to control the timing of the communication In most environments the service provider (DCE) device such as (CSU/DSU) will provide the clock by default However in a lab environment we are not using any (CSU/DSU) and we don not have ISP Configure the clock signal on the serial interface using the clock rate command You can distinguish DTE from DCE by looking at the connector between the two cables , the DTE cable has a male connectors and DCE has a female connectors
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
18
You can use the show controllers command to determine which end of the cable is attached to the interface Example : R1#show controllers serial0/0/0 The available clock rate in bit per second 1200, 2400, 9600, 19200, 38400, 56000, 64000, 72000, 125000, 148000, 500000, 800000, 1000000, 1300000, 2000000, and 4000000. Some bit rates might not be available on certain serial interfaces. Because Serial 0/0/0 interface on R1 has the DCE cable attached, we will configure that interface with a clock rate. R1(config)#interface serial 0/0/0 R1(config-if)#clock rate 64000
Cisco Public
19
Cisco Public
20
Changing IP Address
R1>enable R1# conf t R1(config)#interface serial 0/0/0 R1(config-if)# shutdown R1(config-if)# no ip address
Cisco Public
21
22
1- every router makes its decision alone , based on the information it has in its own routing table 2- the fact that one router has certain information in its routing table does not mean that other routers have the same information 3- routing information a bout a path from one network to another does not provide routing information about the reverse or return path
Cisco Public
23
Cisco Public
24
25
R1#ping 192.168.2.4
Cisco Public
26
Cisco Public
27
Compared to static routing , dynamic routing protocols require less administrative overhead . However the expense of using dynamic routing protocols is dedicating part of routers resources for protocol operation including CPU and network link bandwidth
28
Autonomous system (AS) otherwise known as a routing domain AS : Is a collection of routers under a common administration Ex. : companys internal network and an ISPs Network , So we need interior and exterior routing protocols Interior gateway protocols (IGP) : are used for intra Autonomous system routing - routing inside an Autonomous system Exterior gateway protocols (EGP) : are used for inter- Autonomous system routing routing between Autonomous systems
Cisco Public
29
Characteristics of IGP and EGP routing protocols IGP s : are used for routing within a routing domain , those networks within the control of a single organization An autonomous system is commonly comprised of many individual networks belonging to companies An IGP is used to route within the autonomous system and also used to route with the individual networks themselves IGPs Include ( RIP , IGRP , EIGRP , OSPF , IS-IS ) Routing protocols uses a metric to determine the best path to a network the metric used by the routing protocol RIP is a hop count , which is the number of routers that a packet must traverse in reaching another network
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
30
OSPF Protocol uses a bandwidth to determine the shortest path EGP : are designed for use between different autonomous systems that are under the control of different administrations BGP : is the only currently viable EGP and is the routing protocol used by the internet BGP is typically used between ISPs and between a company and ISP
Cisco Public
31
32
Metric
Purpose of metric : There are cases when routing protocol learns of more than one route to the same destination
To select the best path , the routing protocol must be able to evaluate and differentiate between available paths
For this reason a metric is used
A metric is used to determine which path is most preferable when there are multiple paths to the same remote networks
Ex.: RIP uses hop count , EIGRP uses a compilation of bandwidth and delay , OSPF uses bandwidth
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
33
R1(config)#router ?
Cisco Public
34
Telnet Command
Router (config)#enable password 123 Router(config)#line vty 0-15 Router(config-line)#password hossam Router(config-line)#login Router(config-line)#do wr >telnet IP Address Enable mode Password Connections Telnet password
in pc command prompt
Cisco Public
35
Default Route
R1(config)#ip route 0.0.0.0 0.0.0.0 next hop
Cisco Public
36
OSPF
Link state Link state updates Neighbors table Topology table Routing table (Bandwidth)
- Router ID
Cisco Public
37
Area 0
Backbone router
Area 1
ABR area border router
Area 2
ABR area border router
Internal Router
Internal Router
Topology Table
Topology Table
Cisco Public
38
OSPF metric
(cost) = 10^8/bandwidth
OSPF Topology
- Point to point
- Broadcast multi-access - Nonbroadcast multi-access
hello message 10 s.
hello message 10 s. hello message 30 s.
dead message 40 s
dead message 40 s dead message 120 s
Cisco Public
39
DR Router and BDR Router (interface number from 0 to 255) The highest interface number DR and the second BDR OSPF Multicast protocol Router(config)#router ospf 1 #network 192.168.2.2 0.0.0.255 area 1 process number(1-65535) c. network wild card area
Cisco Public
40
Password recovery
1- Reboot Router 2- press ctrl+break 3- change confreg to 0x2142 4-reset
default = 0x2102
DHCP
#Ip dhcp pool hossam #network 192.168.2.0 255.255.255.0 #default-router 192.168.2.1 #do wr
Cisco Public
41