IP ADDRESSING
IP Addressing
Decimal Equivalents of Bit Patterns
IP Address Classes
Host Addresses
IP Addressing
private IP address InterNIC has reserved certain IP addresses as private addresses for use with internal web sites or intranets. Are meant for devices that reside behind a router. Private IP addresses are sometimes referred to as Non-Routable IP.
private IP address There are three blocks of private IP addresses: – through – through – through
–A CLI is used to enter commands. –Users type or paste entries in the console command modes. –Enter key instructs device to parse and execute the command. –Two primary EXEC modes are user mode and privileged mode. –Command modes have distinctive prompts. Cisco IOS User Interface Functions
There are two main EXEC modes for entering commands. Cisco IOS Software EXEC Mode
Cisco IOS Software EXEC Mode (Cont.)
Global Configuration Mode Used to make global changes to the router. –Router# configure terminal –Router(conf)#
Viewing the Configuration
(Automatic scrolling of long lines.) Ctrl-AMove to the beginning of the command line. Ctrl-EMove to the end of the command line. Esc-BMove back one word. Esc-FMove forward one word. Ctrl-BMove back one character. Ctrl-FMove forward one character. Ctrl-DDelete a single character. Router>$ value for customers, employees, and partners. Enhanced Editing Commands (cont.)
Ctrl-P or Up ArrowRecalls last (previous) commands Ctrl-N or Down ArrowRecalls more recent commands show history Shows command buffer contents history size line Sets the buffer size permanently Router Command History terminal history size lines Sets session command buffer size
show version Command wg_ro_a#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1) Copyright (c) by cisco Systems, Inc. Compiled Mon 08-Feb-99 18:18 by phanguye Image text-base: 0x03050C84, data-base: 0x ROM: System Bootstrap, Version 11.0(10c), SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE(fc1) wg_ro_a uptime is 20 minutes System restarted by reload System image file is "flash:c2500-js-l_120-3.bin" (output omitted) --More-- Configuration register is 0x2102
show running-config and show startup-config Commands wg_ro_c#show startup-config Using 1359 out of bytes ! version 12.0 ! -- More -- wg_ro_c#show running-config Building configuration... Current configuration: ! version 12.0 ! -- More -- In NVRAM In RAM Displays the current and saved configuration
Using Telnet to Connect to Remote Devices Telnet is a protocol that enables one computer to connect to another computer. This process is also referred to as remote login. The remote computer can be physically located in the next room, the next town, or in another country.
Using the ping and trace Commands Tests the connectivity and path to a remote device Router###ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms Router#trace Type escape sequence to abort. Tracing the route to p1r1 ( ) 20 msec 16 msec 16 msec 2 p1r2 ( ) 48 msec * 44 msec Router#
Using Telnet to Connect to Remote Devices
Viewing Telnet Connections
Suspending and Resuming a Telnet Session
Closing a Telnet Session