Top Banner
1
116

1 2 Networks Fundamentals Based On Cisco Systems.

Dec 19, 2015

Download

Documents

Willis Sims
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 2 Networks Fundamentals Based On Cisco Systems.

1

Page 2: 1 2 Networks Fundamentals Based On Cisco Systems.

2

Networks Fundamentals Based On Cisco Systems

Page 3: 1 2 Networks Fundamentals Based On Cisco Systems.

3

Course Introduction

Page 4: 1 2 Networks Fundamentals Based On Cisco Systems.

4

Cisco Career Certifications

Professional

CCIE

CCNPCCNP

CCNACCNAAssociate

http://www.cisco.com/go/certifications

Recommended Training Through Cisco Learning Partners

Required Exam

CCNA

INTRO and ICND

Cisco Certified Network Associate

Introduction to Cisco Networking Technologies and Interconnecting Cisco Network Devices

Expert

CCNA Exam 640-801

Page 5: 1 2 Networks Fundamentals Based On Cisco Systems.

5

Course Topics

-Day 1 : Introduction , OSI & TCP/IP Introduction

-Day 2 : OSI & TCP/IP Layers

-Day 3 : IP Addressing

-Day 4 : Introduction to Cisco IOS

-Day 5 : Routing Fundamentals & WAN Overview

Page 6: 1 2 Networks Fundamentals Based On Cisco Systems.

6

• Network: is basically all the components (H/W & S/W) involved in connecting computer across small and large distance

• Importance of Networks:Easy access and sharing of informationSharing of expensive devices and network resourcesModern Technologies (IP telephony, Video on Demand, ….etc)

Networking Technologies

Page 7: 1 2 Networks Fundamentals Based On Cisco Systems.

7

Network components• Network has three main components

Computers (servers and hosts) - Source of applications (network aware applications) - ex: HTTP (Hyper Text Transmission Protocol), FTP (File Transfer Protocol), SNMP (Simple Network Management Protocol) Telnet

Network Devices - Devices that interconnect different computers together - ex: Repeaters, hub, bridge, switch, router, NIC and modems

Connectivity - Media that physically connect the computers and network devices - ex: Wireless and cables

Page 8: 1 2 Networks Fundamentals Based On Cisco Systems.

8

Network Types

• LAN (Local Area Network): It is a group of network components that work within small area

• MAN (Metropolitan Area Network): It is a group of LANs that are interconnected within small area

• WAN (Wide Area Network): It is a group of LANs that are interconnected within large area

Page 9: 1 2 Networks Fundamentals Based On Cisco Systems.

9

Reference Models

-describe data transfer standards

- a framework (guideline) for network implementation and troubleshooting

- divides complex functions in to simpler components

- Reference model types :

- OSI

- TCP/IP

Page 10: 1 2 Networks Fundamentals Based On Cisco Systems.

10

Reference Models

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Application

Transport

Internet

Network Access

Page 11: 1 2 Networks Fundamentals Based On Cisco Systems.

11

OSI Model OverviewOSI Model Overview

Data Flow Layers

Transport Layer

Data Link

Network Layer

Physical

Application (Upper) Layers

Session

Presentation

Application

Page 12: 1 2 Networks Fundamentals Based On Cisco Systems.

12

The OSI Reference model

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

transmission example

AB

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 13: 1 2 Networks Fundamentals Based On Cisco Systems.

13

Encapsulation Process

Page 14: 1 2 Networks Fundamentals Based On Cisco Systems.

14

Layer 7 - The Application Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

This layer deals with networking applications.

Examples: Email Web browsers

Each application uses a certain service from Transport Layer(reliable or unreliable)

PDU - User Data

Page 15: 1 2 Networks Fundamentals Based On Cisco Systems.

15

Layer 6 - The Presentation Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

- Presenting the data in the required format which may include: Encryption Compression

- Translates between multiple data format by using a common format .

PDU - Formatted Data

Page 16: 1 2 Networks Fundamentals Based On Cisco Systems.

16

Layer 5 - The Session Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Establishes, manages, and terminates sessions between two communicating hosts.

Example: Client Software

( Used for logging in)

PDU - Formatted Data

Page 17: 1 2 Networks Fundamentals Based On Cisco Systems.

17

Layer 4 - The Transport Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

-Breaks up the data from the sending host and then reassembles it in the receiver.(segmentation)

-Insure reliable data transport across the network (reliability and flow control)

PDU - Segments

Page 18: 1 2 Networks Fundamentals Based On Cisco Systems.

18

Layer 3 - The Network Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

-Logical addressing (IP address)

- Selects the best Path Determination (routing)

PDU - Packets

Page 19: 1 2 Networks Fundamentals Based On Cisco Systems.

19

Layer 2 - The Data Link Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

- provides reliable transit of data across a physical link hop by hop

- Makes decisions based on physical addresses (usually MAC addresses)

- Provides error detection PDU - Frames

Page 20: 1 2 Networks Fundamentals Based On Cisco Systems.

20

Layer 1 - The Physical Layer

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

This is the physical media through which the data, represented as electronic signals, is sent from the source host to the destination host.

Examples: UTP Coaxial (like cable TV) Fiber optic

PDU - Bits

Page 21: 1 2 Networks Fundamentals Based On Cisco Systems.

21

TCP/IP model

Application

Transport

Internet

Network Access

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 22: 1 2 Networks Fundamentals Based On Cisco Systems.

22

Hierarchical Network Model

Page 23: 1 2 Networks Fundamentals Based On Cisco Systems.

23

23

The Physical Layer

Page 24: 1 2 Networks Fundamentals Based On Cisco Systems.

24

Physical Layer Responsibilities

Description of LAN/WAN cables & connectors

Description of LAN/WAN standards (maximum length, bit rates, pin assignment, voltage levels)

Physical Layer Devices

Page 25: 1 2 Networks Fundamentals Based On Cisco Systems.

25

LAN Physical Layer

Ethernet cables :

- Copper ( UTP , STP , Coaxial )- Fiber

Page 26: 1 2 Networks Fundamentals Based On Cisco Systems.

26

Unshielded Twisted Pair (UTP) Cable

CAT5 CAT 5e , CAT6

RJ-45

prevents EMI , RFI

to avoid attenuation

Page 27: 1 2 Networks Fundamentals Based On Cisco Systems.

27

Using UTP cable to connect devices

1 -straight cable

2 -cross cable

3 -roll over cable

Page 28: 1 2 Networks Fundamentals Based On Cisco Systems.

28

Straight-Through or Crossover cables

PC

router

switch

hub

modem

Cross cable

straight cable

Cross cable

Page 29: 1 2 Networks Fundamentals Based On Cisco Systems.

29

Shielded Twisted Pair (STP) Cable

Page 30: 1 2 Networks Fundamentals Based On Cisco Systems.

30

Coaxial Cable

thick coaxial , thin coaxial (200 m)

Page 31: 1 2 Networks Fundamentals Based On Cisco Systems.

31

Fiber Optic Cable

Page 32: 1 2 Networks Fundamentals Based On Cisco Systems.

32

Fiber Optic Connectors

single mode fiber

multimode fiber

Page 33: 1 2 Networks Fundamentals Based On Cisco Systems.

33

WAN Physical Layer

serial cables

Page 34: 1 2 Networks Fundamentals Based On Cisco Systems.

34

Transmission modes

- Full duplex :

devices can send , receive data at the same time (two ways for transmission)

- Half duplex:

one circuit for transmission , so only one device can use the bus (send or receive)

at a time , if two devices sent at the same time collision occurs .

Page 35: 1 2 Networks Fundamentals Based On Cisco Systems.

35

Layer 1 devices 1- Repeater

A repeater is a network device used to regenerate a signal. Repeaters regenerate analog or digital signals distorted by transmission loss due to attenuation. Rule : no more than four repeaters can be used between hosts on a LAN.

Page 36: 1 2 Networks Fundamentals Based On Cisco Systems.

36

2 -Hub

Hubs takes data bits from input port and forward it to all other ports

A Hub is a multi-port Repeater

repeater and hub work in half duplex mode

Page 37: 1 2 Networks Fundamentals Based On Cisco Systems.

37

37

The Data-Link Layer

Page 38: 1 2 Networks Fundamentals Based On Cisco Systems.

38

Data-Link Layer Responsibilities

Description of H/W addressing MAC (Media Access Control) address

frame format

Error detection between hop to hop

Data-Link layer standards : LAN: Ethernet, Token Ring, FDDI WANs: HDLC, PPP, ISDN, X.25, Frame-Relay, ATM

Page 39: 1 2 Networks Fundamentals Based On Cisco Systems.

39

Ethernet Overview

- Ethernet is now the dominant LAN technology in the world.

- Ethernet is not one technology but a family of LAN technologies.

- Ethernet specifications support different media, bandwidths, and other Layer 1 and 2 variations.

Page 40: 1 2 Networks Fundamentals Based On Cisco Systems.

40

MAC Address

- MAC address is 48 bits in length and expressed as twelve hexadecimal digits. - MAC addresses are burned into read-only memory (ROM) of the NIC- each NIC has a unique MAC address- MAC address can represent unicast , broadcast and multicast

ex. A34C.52BD.1234

Page 41: 1 2 Networks Fundamentals Based On Cisco Systems.

41

Ethernet Frame Structure

Page 42: 1 2 Networks Fundamentals Based On Cisco Systems.

42

Layer 2 devices

• A layer 2 device is a device that understand MAC, for example:

NIC (Network Interface Card) Bridge : - address learning - forwarding decisions are based on software - bridge is used for LAN segmentation Switch: - a multi-port bridge - forwarding decisions are based on hardware ASIC (faster than bridge)

Page 43: 1 2 Networks Fundamentals Based On Cisco Systems.

43

• Transparent Bridge and Switches has 3 main functions Address learningForward/filter decisionLoop avoidance

Ethernet Switches and Bridges

Page 44: 1 2 Networks Fundamentals Based On Cisco Systems.

44

1 -Address Learning

Switch learns which MAC’s are connected to which ports by checking the frame source

MAC address.

Page 45: 1 2 Networks Fundamentals Based On Cisco Systems.

45

2 -Forwarding

-Forwarding is done by checking the destination MAC address

-The frame is flooded if the destination MAC is unknown unicast or

broadcast or multicast

-for the known unicast, switch perform micro segmentation

Page 46: 1 2 Networks Fundamentals Based On Cisco Systems.

46

Store and ForwardComplete frame is received and checked before forwarding.

Forwarding modes

Cut-Through• Switch checks destination

address and immediately begins forwarding frame.

Fragment-Free • Switch checks the first 64 bytes, then

begins forwarding frame.

Page 47: 1 2 Networks Fundamentals Based On Cisco Systems.

47

3 -Remove Layer 2 loops

MAC port

A

A

3

1• Solution : using Spanning tree protocol (STP)

Page 48: 1 2 Networks Fundamentals Based On Cisco Systems.

48

Frame creation

Destination MAC

Source MAC

Source IP

Destination IP

Burnedon the NIC

-ARP

-Proxy ARP

-Static

-Dynamic (RARP , BOOTP ,

DHCP)

DNS

Page 49: 1 2 Networks Fundamentals Based On Cisco Systems.

49

-Source MAC

Burnedon the NIC

Page 50: 1 2 Networks Fundamentals Based On Cisco Systems.

50

-Source IP

1- by static configuration

Page 51: 1 2 Networks Fundamentals Based On Cisco Systems.

51

-Source IP -DHCP:

-Dynamic host configuration protocol

-DHCP allows a host to obtain an IP address dynamically without the network administrator having to set up an individual profile for

each device .

-a range of IP addresses on a DHCP server is defined.

-the entire network configuration of a computer can be obtained in one

message from the server.

Page 52: 1 2 Networks Fundamentals Based On Cisco Systems.

52

-Destination IP

• Application specified in the TCP/IP suite

• Means to translate human-readable names into IP addresses

DNS:

Page 53: 1 2 Networks Fundamentals Based On Cisco Systems.

53

-Destination MAC

- ARP :

-each PC form an ARP table containing the learned MAC’s

Page 54: 1 2 Networks Fundamentals Based On Cisco Systems.

54

-Destination MAC

A

Router R

Broadcast Message to all:If your IP address matches “B”

then please tell me your Ethernet address

B

A

B

Yes, I know the destinationnetwork, let me give you my

Ethernet address

I take care, to forwardIP packets to B

-Proxy ARP:

Page 55: 1 2 Networks Fundamentals Based On Cisco Systems.

55

55

The Transport Layer

Page 56: 1 2 Networks Fundamentals Based On Cisco Systems.

56

The Transport Layer

reliable service

unreliable service

Page 57: 1 2 Networks Fundamentals Based On Cisco Systems.

Flow Control- Windowing (PAR):

2error in

22 2

33

Page 58: 1 2 Networks Fundamentals Based On Cisco Systems.

58

Flow Control- Windowing (PAR):

Page 59: 1 2 Networks Fundamentals Based On Cisco Systems.

59

Multiplexing applications

12.0.0.1

12.0.0.213.0.0.1

web server

1

2

3

13.0.0.112.0.0.1 1200 801

13.0.0.112.0.0.1 1500 80

13.0.0.112.0.0.2 1200 80

2

3

Source IP Destination IP Source port Destination port

Page 60: 1 2 Networks Fundamentals Based On Cisco Systems.

TCP Header

Page 61: 1 2 Networks Fundamentals Based On Cisco Systems.

UDP Header

Page 62: 1 2 Networks Fundamentals Based On Cisco Systems.

62

62

The Application Layer

Page 63: 1 2 Networks Fundamentals Based On Cisco Systems.

63

• File transfer

– FTP

– TFTP

• E-mail

– Simple Mail Transfer Protocol

• Remote login

– Telnet

• Network management

– Simple Network Management Protocol

• Name management

– Domain Name System

TCP/IP Application Layer Overview

Page 64: 1 2 Networks Fundamentals Based On Cisco Systems.

64

Port Numbers

Page 65: 1 2 Networks Fundamentals Based On Cisco Systems.

65

65

The TCP/IP Internet Layer

Page 66: 1 2 Networks Fundamentals Based On Cisco Systems.

66

Internet Layer

• Internet Layer is responsible for the following: Support of logical addressing for network components Routing (Finding the best path for data) Layer 3 devices

• Internet Layer protocols are IP (Internet Protocol) ICMP (Internet Control Management Protocol) ARP (Address Resolution Protocol), RARP (Revere ARP) Routing Protocols ex. OSPF , EIGRP ,

Page 67: 1 2 Networks Fundamentals Based On Cisco Systems.

67

IP (Internet Protocol)

• IP has the following characteristics

Provide Logical addressing

Provide connectionless “best effort” delivery of data

Page 68: 1 2 Networks Fundamentals Based On Cisco Systems.

68

IP Packet

IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:

Page 69: 1 2 Networks Fundamentals Based On Cisco Systems.

69

IP addressing

- Each host in the network must have a unique IP address because duplicate addresses would make routing impossible- IP Addressing is a hierarchical structure as the IP address combines two identifiers into one number . the first part identifies the network address , the second part, called the host part, identifies which particular machine it is on the network.

-IP address is a 32 bit (4 bytes= 4 octets) address that is mainly divided to network part (representing the network ID where the device is located in) & Host part (representing the

ID of the host) -It is represented in a dotted decimal form, where each octet

is transformed to its decimal value. ex. 192.168.1.3

Page 70: 1 2 Networks Fundamentals Based On Cisco Systems.

70

IP Address Classes

IP addresses are divided into classes to define the large, medium, and small networks.Class A addresses are assigned to larger networks. Class B addresses are used for medium-sized networks, Class C for small networks,Class D for MulticastingClass E for Experimental purposes

Page 71: 1 2 Networks Fundamentals Based On Cisco Systems.

71

Identifying Address Classes

Note : for Class A , networks 0 & 127 are reserved (class A range 1 - 126)

Page 72: 1 2 Networks Fundamentals Based On Cisco Systems.

72

Public IP Addresses

- Unique addresses are required for each device on a network 

- Originally, an organization known as the Internet Assigned Numbers Authority (IANA) handled this procedure.

- No two machines that connect to a public network can have the same IP address because public IP addresses are global and standardized.

Page 73: 1 2 Networks Fundamentals Based On Cisco Systems.

73

Private IP Addresses

Private IP addresses are another solution to the problem of the impending exhaustion of public IP addresses.As mentioned, public networks require hosts to have unique IP addresses. However, private networks that are not connected to the Internet may use any host addresses, as long as each host within the private network is unique.

Page 74: 1 2 Networks Fundamentals Based On Cisco Systems.

74

IP address types

• IP address could be one of three categories

Network address Host address Broadcast address

Page 75: 1 2 Networks Fundamentals Based On Cisco Systems.

75

Network / Broadcast Addresses

- Network address : the first IP address in it which all host part bits = 0- Broadcast address: the last IP address in the network which all host part bits = 1 no. of host bits

- other addresses are host addresses = 2 - 2- Here are some examples:

Class Network Address Broadcast Address

A 12.0.0.0 12.255.255.255

B 172.16.0.0 172.16.255.255

C 192.168.1.0 192.168.1.255

Page 76: 1 2 Networks Fundamentals Based On Cisco Systems.

76

Subnet Mask

- 32 bit mask ( 1’s followed by 0’s )- Used by routers and hosts to determine the number of network- significant bits ( identified by 1’s ) and host- significant bits in an IP address (identified by 0’s)- example : Class Network Address Default subnet mask A 12.0.0.0 255.0.0.0 or /8 B 172.16.0.0 255.255.0.0 or /16 C 192.168.0.0 255.255.255.0 or /24

Page 77: 1 2 Networks Fundamentals Based On Cisco Systems.

77

Octet Values of a Subnet Mask

• Subnet masks like IP addresses can be represented in the dotted decimal format like 255.255.255.0.

Page 78: 1 2 Networks Fundamentals Based On Cisco Systems.

78

Subnetting

- Subnetting a network means to use the subnet mask to divide the network and break a large network up into smaller, more efficient and manageable segments, or subnets. - Subnetting is done by taking part of host bits then add it to the network part

Network part Host part

Subnet bits

Network part Host part

IP address

Page 79: 1 2 Networks Fundamentals Based On Cisco Systems.

79

Subnetting Example

Divide network 192.168.1.0/24 into 4 subnetsSolution: 4 subnets need 2 bits

192.168.1 . 0

192.168.1 . 0000 0000 to 0011 1111 192.168.1 . 0100 0000 to 0111 1111

192.168.1 . 1000 0000 to 1011 1111 192.168.1 . 1100 0000 to 1111 1111

subnet mask is 255.255.255.192 or /26The first subnet is 192.168.1.0/26

The second subnet is 192.168.1.64/26The third subnet is 192.168.1.128/26The fourth subnet is 192.168.1.192/26

0 - 63

64 - 127

128 - 191

192 - 255

Page 80: 1 2 Networks Fundamentals Based On Cisco Systems.

80

Divide network 192.168.1.0/24 into 4 subnets

Solution:

-4 subnets need 2 bits

-subnet mask = 255.255.255.192

-interesting octet is 192

-hop count = 256 – 192 = 64

-The first subnet is 192.168.1.0/26

-The second subnet is 192.168.1.64/26

-The third subnet is 192.168.1.128/26

-The fourth subnet is 192.168.1.192/26

Page 81: 1 2 Networks Fundamentals Based On Cisco Systems.

81

Determine if this IP is network address or host address or broadcast address 172.16.5.0/23

Solution: -subnet mask = 255.255.254.0

-interesting octet is 254 -hop count = 256 – 254 = 2

-The first subnet is 172.16.0.0/23 -The second subnet is 172.16.2.0/23 -The third subnet is 172.16.4.0/23

-The fourth subnet is 172.16.6.0/23So 172.16.5.0/23 is a host address

172.16.5.0/23

Page 82: 1 2 Networks Fundamentals Based On Cisco Systems.

82

-Which IP address should be assigned to PC B?

A . 192.168.5.5

B . 192.168.5.32

C . 192.168.5.40

D . 192.168.5.63

E . 192.168.5.75 192.168.5.33/27?

A

B

Answer : C

Page 83: 1 2 Networks Fundamentals Based On Cisco Systems.

83

-Given the choices below, which address represents a unicast address?

Answer : E

A . 224.1.5.2B . FFFF. FFFF. FFFF.

C . 192.168.24.59/30D . 255.255.255.255E . 172.31.128.255/18

Page 84: 1 2 Networks Fundamentals Based On Cisco Systems.

84

Layer 3 devices

Router :- Best path determination

- Creating routing table

- Connecting different LANs

- Network traffic filtration

- Quality Of Serves .

Page 85: 1 2 Networks Fundamentals Based On Cisco Systems.

85

Find number of broadcast domains and numberof collision domains

Solution:

no. of broadcast domains = 2

no. of collision domains = 4

Page 86: 1 2 Networks Fundamentals Based On Cisco Systems.

86

Page 87: 1 2 Networks Fundamentals Based On Cisco Systems.

87

87

Operating Cisco IOS Software

Page 88: 1 2 Networks Fundamentals Based On Cisco Systems.

88

Cisco Software components

• Cisco IOS (Internetwork Operating System) It is the operating system that manages the hardware platform it is working on.

• Configuration File It is a program file that contains commands that reflect how the router will react.

Page 89: 1 2 Networks Fundamentals Based On Cisco Systems.

89

Router Internal Components

Page 90: 1 2 Networks Fundamentals Based On Cisco Systems.

90

An Overview of Cisco Device Startup

Page 91: 1 2 Networks Fundamentals Based On Cisco Systems.

91

Step in Router Initialization

Page 92: 1 2 Networks Fundamentals Based On Cisco Systems.

92

External Components of a 2600 Router

Page 93: 1 2 Networks Fundamentals Based On Cisco Systems.

93

Computer/Terminal Console Connection

Page 94: 1 2 Networks Fundamentals Based On Cisco Systems.

94

HyperTerminal Session Properties

Page 95: 1 2 Networks Fundamentals Based On Cisco Systems.

95

Setup mode

-Permit the administrator to install a minimal configuration for a router ( appeared if no saved configuration , Ctrl-C to skip )

Page 96: 1 2 Networks Fundamentals Based On Cisco Systems.

96

Other Router Modes

Page 97: 1 2 Networks Fundamentals Based On Cisco Systems.

97

IOS Features

• Support context help and abbreviations ( ? )

• Support of auto complete ( Tab button )

• Support syntax error detection

Page 98: 1 2 Networks Fundamentals Based On Cisco Systems.

98

Context help features

Page 99: 1 2 Networks Fundamentals Based On Cisco Systems.

99

Configuring Router Identification

Page 100: 1 2 Networks Fundamentals Based On Cisco Systems.

100

Configuring a Router Password

Page 101: 1 2 Networks Fundamentals Based On Cisco Systems.

101

Configuring Interfaces

Router#config tRouterA(config)# interface serial 0/0RouterA(config-if)# ip address 192.168.1.1 255.255.255.252RouterA(config-if)# no shutdownRouterA(config-if)# clock rate 56000 (required for serial DCE only)RouterA(config-if)# bandwidth 64 (a value in kbps)RouterA(config-if)# exit

RouterB(config)# int serial 0/1 RouterB(config-if)# ip address 192.168.1.2 255.255.255.252RouterB(config-if)# no shutdownRouterB(config-if)# exitRouterB(config)# exitRouter#To know which interface is the DCE :RouterA# show controller s0/0

S0/0S0/1

192.168.1.1/30192.168.1.2/30

Page 102: 1 2 Networks Fundamentals Based On Cisco Systems.

102

monitoring and debuggingshow commands are typed in both privileged EXEC and user EXEC modes

#show interfaces – Displays all the statistics for all the interfaces #show int s0/1 – Displays statistics for interface Serial 0/1#show ip interface brief – Displays a summary about interfaces#show flash – Displays info about flash memory and what IOS in it #show start – Displays the saved configuration located in NVRAM #show run – Displays the configuration currently running in RAM #show version – Displays info about the router and the IOS #show ARP – Displays the ARP table of the router#show protocol – Displays the global and interface specific status of any configured Layer 3 protocols

#show controllers serial0/0 – Displays information-specific to the interface hardware#erase nvram – erase the saved configuration file#reload – restart the router#copy run start – save the current configuration in RAM into the NVRAM

Page 103: 1 2 Networks Fundamentals Based On Cisco Systems.

103

show version Command

Page 104: 1 2 Networks Fundamentals Based On Cisco Systems.

104

Configuration Register Values

0x2100

0x2101

0x2102 to 0x210F

The configuration register value set the boot option

The value 0x2142 is used to bypass the NVRAM

Page 105: 1 2 Networks Fundamentals Based On Cisco Systems.

105

Boot system command

- beside the configuration register you can use the boot system command to force booting location.

Router(config)# boot system flash

Router(config)# boot system rom

Router(config)# boot system tftp

Page 106: 1 2 Networks Fundamentals Based On Cisco Systems.

106

show flash command

Page 107: 1 2 Networks Fundamentals Based On Cisco Systems.

107

• Displays the current and saved configuration

show running-config and show startup-config Commands

Page 108: 1 2 Networks Fundamentals Based On Cisco Systems.

108

show interfaces Command

Page 109: 1 2 Networks Fundamentals Based On Cisco Systems.

109

Interpreting the Interface Status

Layer 1 status Layer 2 status

- Serial0/1 is administratively down , line protocol is down

interface is shut down

-Serial0/1 is down , line protocol is down

interface or cable H/W failure ( no keep-alives )

-Serial0/1 is up , line protocol is down

different encapsulation type ( PPP , HDLC , FR ) or no clock rate on the DCE device.

Interface is working properly

Other interface status:

S0/1 S0/0

Page 110: 1 2 Networks Fundamentals Based On Cisco Systems.

110

• Shows the cable type of serial cables

Serial Interface show controller Command

Page 111: 1 2 Networks Fundamentals Based On Cisco Systems.

111

Discovering Neighbors with CDP

• CDP runs on routers with Cisco IOS to get information about the direct connected Cisco devices.

• Summary information includes:– Device identifiers– Address list– Port identifier– Capabilities list– Platform

Page 112: 1 2 Networks Fundamentals Based On Cisco Systems.

112

Using the show cdp neighbors Command

RouterA# show cdp neighbors detail

provide also the neighbors ip addresses.

Page 113: 1 2 Networks Fundamentals Based On Cisco Systems.

113

Using Telnet to Connect to Remote Devices

Telnet is used to check all the TCP/IP stack

Page 114: 1 2 Networks Fundamentals Based On Cisco Systems.

114

Using the ping and trace Commands

Ping commands tests the connectivity and path to a remote device( test layer 3 in TCP/IP )

Page 115: 1 2 Networks Fundamentals Based On Cisco Systems.

115

Cisco IOS copy Command

#

#

#

#

#

#

To save IOS image or configuration file

Page 116: 1 2 Networks Fundamentals Based On Cisco Systems.

116