File

advertisement
1
Console Connectivity
RJ-45
Connector
Console Port
Rollover
Cable
RJ-45 to DB-9
Converter
Computer
2
Console Connectivity
•
Connect a rollover cable to the router console port (RJ-45
connector).
•
Connect the other end of the rollover cable to the
to DB-9 converter
•
Attach the female DB-9 converter to a PC Serial Port.
•
Open emulation software on the PC.
RJ-45
3
Emulation Software
WINDOWS
•
Start  Programs  Accessories  Communications 
HyperTerminal  HyperTerminal.
•
Give the Connection Name & Select Any Icon
•
Select Serial (Com) Port where Router is Connected.
•
In Port Settings  Click on Restore Defaults
4
Console Connectivity
Con 0
E0
LAN - 192.168.1.0/24
5
6
7
8
9
10
11
12
abc
13
14
15
16
17
18
System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 2048 Kbytes of main memory
Notice: NVRAM invalid, possibly due to write erase.
F3: 5575260+78596+410108 at 0x3000060
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
19
Cisco Internetwork Operating System Software
IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Mon 30-Sep-02 20:43 by srani
Image text-base: 0x0302EA54, data-base: 0x00001000
Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memory
Processor board ID 11169613, with hardware revision 00000001
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
--- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: n
20
Press RETURN to get started!
00:00:20: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
00:00:20: %LINK-3-UPDOWN: Interface Serial0, changed state to down
00:00:20: %LINK-3-UPDOWN: Interface Serial1, changed state to down
00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Ethernet0, changed state to up
00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,
changed state to down
00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to down
00:12:43: %LINK-5-CHANGED: Interface Ethernet0, changed state to
administratively down
00:12:43: %LINK-5-CHANGED: Interface Serial0, changed state to
administratively down
00:12:43: %LINK-5-CHANGED: Interface Serial1, changed state to
administratively down
00:12:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Ethernet0, changed state to down
00:12:46: %SYS-5-RESTART: System restarted
21
Cisco Internetwork Operating System Software
IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Mon 30-Sep-02 20:43 User
by srani
Mode
Router> enable
Privileged Mode
Router# show running-config
Building configuration .....
Current configuration:
!
version 12.1
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Router
!
interface Ethernet0
no ip address
shutdown
--More--
22
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
no ip classless
!
!
line con 0
line aux 0
line vty 0 4
login
!
end
Router# show startup-config
% Non-volatile configuration memory has not been set up or bad checksum
Router#
23
Router# show flash
System flash directory:
File Length
Name/status
1
8108960 /c2500-ipx-ip.bin
[8109024 bytes used, 8668192 available, 16777216 total]
16384K bytes of processor board System flash (Read ONLY)
Router# show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L),Version 12.1(17),RELEASE SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 04-Jan-99 17:27 by ashah
Image text-base: 0x03040148, data-base: 0x00001000
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c),
RELEASE SOFTWARE (fc1)
--More--
24
Router uptime is 1 hour, 28 minutes
System restarted by power-on
System image file is "flash:/c2500-ipx-ip.bin", booted via flash
Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memo
Processor board ID 11169613, with hardware revision 00000001
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non-volatile configuration
memory.Mode
Global Configuration
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# hostname Hyderabad
Hyderabad(config)#
End with CNTL/Z.
25
Hyderabad(config)# interface ethernet 0
Hyderabad(config-if)#ip address 192.168.1.150 255.255.255.0
terface Mode
Hyderabad(config-if)# no shutdown
In
Hyderabad(config-if)# exit
Ethernet interface
4
Hyderabad(config)# line vty 0Configuring
Router(config)#
login interface ethernet <no.>
Hyderabad(config-line)#
Setting
the Enable password
password
Hyderabad(config-line)#
Router(config-if)#
ip netmetric
address <address><mask>
Router(config)#enable
password <password>
exit
Hyderabad(config-line)#
Router(config-if)#Setting
no shutdown
Telnet password
line con 0
Hyderabad(config)#
Router(config)#enable
secret <password>
Router(config)#
line vty 0 4
login Setting
Hyderabad(config-line)#
Console password
Router(config-line)#
login
password
ccna
Hyderabad(config-line)#
Router(config)#
line
con 0
exit
Hyderabad(config-line)#
Router(config-line)#
password <password>
Router(config-line)#
login
Hyderabad(config)# line aux 0
Router(config-line)#
password <password>
login
Hyderabad(config-line)#
Hyderabad(config-line)# password cisco
Hyderabad(config-line)# exit
Setting Auxilary password
Hyderabad(config)# enable password cisco
Router(config)#
aux 0
Hyderabad(config)#
enable secretline
netmetric
^Z
Hyderabad(config)#
Router(config-line)#
login
Router(config-line)# password <password>
26
Hyderabad# show running-config
Building configuration .....
Current configuration:
!
version 12.1
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Hyderabad
!
enable secret 5 $1$60nw$8XzAJ445GBzx1mgYJTUjo1
enable password cisco
!
interface Ethernet0
ip address 192.168.1.150 255.255.255.0
!
interface Serial0
no ip address
shutdown
--More--
27
interface Serial1
no ip address
shutdown
!
no ip classless
!
line con 0
login
password ccna
line aux 0
login
password cisco
line vty 0 4
login
password zoom
!
end
Hyderabad# show startup-config
% Non-volatile configuration memory has not been set up or bad checksum
Hyderabad#
28
Hyderabad# copy running-config startup-config
Building configuration .....
[OK]
Saving Router Configuration
show startup-config
Hyderabad#
Router#copy
running-config startup-config
Building configuration .....
or
Current configuration:
Router#write memory
!
version 12.1
or
no service password-encryption
Router#wr
no service
udp-small-servers
no service tcp-small-servers
!
hostname Hyderabad
!
enable secret 5 $1$60nw$8XzAJ445GBzx1mgYJTUjo1
enable password cisco
!
interface Ethernet0
ip address 192.168.1.150 255.255.255.0
--More--
29
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
no ip classless
!
line con 0
login
password ccna
line aux 0
login
password cisco
line vty 0 4
login
password zoom
!
end
Hyderabad#
30
Console Connectivity
Con 0
E0
LAN - 192.168.1.0/24
31
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad#
32
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad#
33
The show version command
Router>show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-D-L), Version 12.0(5), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Tue 15-Jun-99 20:08 by phanguye
Image text-base: 0x030380DC, data-base: 0x00001000
IOS Version
ROM: System Bootstrap, Version 11.0(10c)XB2, PLATFORM SPECIFIC RELEASE SOFTWARE
(fc1)
ROM Version – not usually an issue
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c)XB2, PLATFORM
SPECIFIC RELEASE SOFTWARE (fc1)
Router uptime is 49 minutes
Router boot information
System restarted by reload
System image file is "flash:c2500-d-l_120-5.bin"
Booted this IOS file from flash
cisco 2516 (68030) processor (revision J) with 6144K/2048K bytes of memory.
Processor board ID 10375144, with hardware revision 00000001
Bridging software.
Model & CPU
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
14 Ethernet/IEEE 802.3 repeater port(s)
Router interfaces
2 Serial network interface(s)
1 ISDN Basic Rate interface(s)
Amount of NVRAM
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
Rick Graziani
Router>
graziani@cabrillo.edu
Amount of
RAM memory
Amount of Flash
Configuration Register, important for
password recovery. Must press space or
34return to get this last line!
Router modes
1. Router>
2. Router#
3. Router(config)#
4.
5.
6.
7.
1. User mode
2. Privelege mode
3. Global configuration
mode.
4. Interface mode.
Router(config-if)#
5. Subinterface mode.
Router(config-subif)#
6. Line mode.
Router(config-line)#
Router(config-router)# 7. Router configuration
mode
Download