Sunteți pe pagina 1din 42

Configuring and Testing Your Network

Network Fundamentals Chapter 11

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Role of Internetwork Operating System (IOS)


The IOS file itself is several MB in size and is stored in a semi-permanent memory area called flash.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Accessing the Cisco IOS on a Device


Methods: Console, Telnet or SSH, AUX port

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Configuration Files

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Cisco IOS Modes


Recognize that Cisco IOS is modal and describe the implications of modes.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

IOS Prompt Structure

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

IOS Primary Mode


Two primary modes: User EXEC and Privileged EXEC

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Moving between the User EXEC and Privileged EXEC Modes Output similar to a Cisco switch

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Basic IOS Command Structure


Commands are not case-sensitive. A command might require one or more arguments. An argument is a value or variable defined by the user. After entering each complete command, including any arguments, press the <Enter> key to submit the command to the command interpreter.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

IOS Command Convention

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

10

Context-sensitive Help
IOS Help Forms: Context-sensitive help, Command, Syntax Check, Hot Keys and Shortcuts

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

11

Command Syntax Check

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

12

Hot Keys and Shortcuts

Tab - Completes the remainder of the command or keyword Ctrl-R - Redisplays a line Ctrl-Z - Exits configuration mode and returns to the EXEC Down Arrow - Allows user to scroll forward through former commands (Ctrl-N) Up Arrow - Allows user to scroll backward through former commands (Ctrl-P) Ctrl-Shift-6 - Allows the user to interrupt an IOS process such as ping or traceroute Ctrl-C - Aborts the current command and exits the configuration mode

Commands and keywords can be abbreviated to the minimum number of characters that identifies a unique selection.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

13

IOS Examination Commands


Identify the purpose of the show command and several of its variations

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

14

IOS Output show version

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

15

Other show outputs

show arp - Displays the ARP table of the device. show mac-address-table - (switch only) Displays the MAC table of a switch. show startup-config - Displays the saved configuration located in NVRAM. show running-config - Displays the contents of the currently running configuration file show ip interfaces - Displays IPv4 statistics for all interfaces on a router. To view the statistics for a specific interface, enter the show ip interfaces command followed by the specific interface slot/port number. Another important format of this command is show ip interface brief. This gets a quick summary of the interfaces and their operational states. When a --More-- prompt appears, press the Spacebar to view the next portion of output. To display only the next line, press the Enter key.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

16

Other IOS Configuration Modes

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

17

Configuring Host Names


If the hostname is not explicitly configured, a router uses the factory-assigned default hostname "Router." (Switch for a Cisco switch) It is a good practice to create the naming convention at the same time as the addressing scheme to allow for continuity within the organization. Device host names are only used by administrators when they use the CLI to configure devices. Unless configured to do so, the devices themselves do not use these names when they discover each other and interoperate.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

18

To negate the effects of a command, preface the command with the no keyword.

Configuring Host Names

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

19

Limiting Device Access Passwords and Banners


Passwords are the primary defense against unauthorized access to network devices. The passwords introduced here are:
Console password - limits device access using the console connection Enable password - limits access to the privileged EXEC mode Enable secret password - encrypted, limits access to the privileged EXEC mode VTY password - limits device access using Telnet

Use strong passwords that are not easily guessed. In our labs, simple passwords such as cisco or class will be used. These passwords are considered weak and easily guessable.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

20

Configuring Console Passwords

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

21

Use Cisco CLI Commands to Perform Basic Router & Switch Configuration and Verification
service password-encryption - causes the encryption of passwords to occur when a password is configured. The command applies weak encryption to all unencrypted passwords; weak encryption; irreversible

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

22

Banner MOTD
Because banners can be seen by anyone who attempts to log in, the message must be worded very carefully. Any wording that implies that a login is "welcome" or "invited" is not appropriate.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

23

Checking Configuration Files

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

24

Backing Up Configurations Offline


Configuration files should be stored as backup files in the event of a problem. Configuration files can be stored on a Trivial File Transfer Protocol (TFTP) server, a CD, a USB memory stick, or a floppy disk stored in a safe place. A configuration file should also be included in the network documentation..

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

25

Backup Configurations with Text Capture (HyperTerminal)


Use a text file to backup and restore config settings

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

26

Configuring Router Ethernet Interfaces

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

27

Configuring Router Serial Interfaces

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

28

Interface Descriptions
Explain the purpose of assigning interface descriptions to a router

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

29

Configuring Switch Interfaces

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

30

Test the Stack


Ping indicators: (!) - receipt of an ICMP echo reply; (.) indicates a timed out while waiting for a reply; (U) ICMP unreachable message

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

31

Interface Testing

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

32

Testing the Local NIC Assignment


Use the ping command to determine if the IP protocol is properly bound to an NIC

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

33

Testing Gateway Connectivity

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

34

Testing Remote Connectivity

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

35

Testing the Path to a Remote Host

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

36

Interpreting Test Results


Identify several conditions that might cause the test to fail

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

37

Use Common Utilities to Establish a Relative Performance Baseline for the Network
A baseline is a process for studying the network at regular intervals to ensure that the network is working as designed. It is more than a single report detailing the health of the network at a certain point in time. One method for starting a baseline is to copy and paste the results from an executed ping, trace, or other relevant command into a text file.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

38

Use Common Utilities to Establish a Relative Performance Baseline for the Network
Use the output of the traceroute command, saved into logs, and repeated over time, to establish relative network performance

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

39

Learning About Nodes on a Network


The arp command provides for the mapping of physical addresses to known IPv4 addresses. Another method for collecting MAC addresses is to employ a ping sweep

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

40

Learning About Switched Connections


One additional tool that can be helpful is a mapping of how hosts are connected to a switch.

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

41

ITE PC v4.0 Chapter 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

42

S-ar putea să vă placă și