Always Read for Knowledge

Friday 29 April 2011

CCNA LAB Practice - Router Basic IOS


Router Basic IOS

 Objective


This lab includes basic commands of Router IOS on 2500 Series.

Diagram





Configuration         

Step 1: After connecting your PC to the Console Port.

Router con0 is now available

Press RETURN to get started.
Router>

Step 2: To Enter Into Privilege mode/Executive Mode From User Mode & Vice-

                 Versa.


Router>enable
Router#
Router#disable
Router>

Step 3: To change the Host Name of Router.

Router#setup

         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: y

At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.

Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system

Would you like to enter basic management setup? [yes/no]: y

Configuring global parameters:
  Enter host name [Router]: R1

  The enable secret is a password used to protect access to
  privileged EXEC and configuration modes. This password, after
  entered, becomes encrypted in the configuration.
  Enter enable secret: cisco1

  The enable password is used when you do not specify an
  enable secret password, with some older software versions, and
  some boot images.
  Enter enable password: cisco

  The virtual terminal password is used to protect
  access to the router over a network interface.
  Enter virtual terminal password: cisco

  Configure SNMP Network Management? [no]:

Current interface summary

Interface              IP-Address       OK? Method     Status                              Protocol

Ethernet0           unassigned      YES NVRAM  administratively down down

Serial0                unassigned      YES NVRAM  administratively down down

Serial1                unassigned      YES NVRAM  administratively down down

Enter interface name used to connect to the
management network from the above interface summary: Ethernet0

Configuring interface Ethernet0:
  Configure IP on this interface? [no]: yes

    IP address for this inerface:  10.0.0.20
    Subnet mask for this interface [255.0.0.0] : 255.0.0.0
    Class A network is 10.0.0.0, 8 subnet bits; mask is /8

The following configuration command script was created:

hostname R1
enable secret 5 $1$ZFA2$ZR288i7VkOufhqSdIyiOs.
enable password cisco
line vty 0 4
password cisco
no snmp-server
!
no ip routing
!
interface Ethernet0
no shutdown
ip address 10.0.0.20 255.0.0.0
!
interface Serial0
shutdown
no ip address
!
!
interface Serial1
shutdown
no ip address
!
end

[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]: 0

% You can enter the setup, by typing setup at IOS command prompt
Router#

Step 4: To Enter Into Global Configuration Mode.

Router#configure terminal
Router(config)#

Step 4: To change the Host Name of Router.

Router(config)#hostname R1
R1(config)#

Step 5(A): Set the Line Console Password on the Router.

R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login

Step 5(B): Verification Line Console Password on the switch.

R1 con0 is now available

Press RETURN to get started.

User Access Verification

Password:
R1>enable

Step 6(A): Set the privileged mode password in clear text.

R1(config)#enable password cisco

Step 6(B): Verifying the privileged mode password in clear text.

R1#disable
R1>enable
Password:
R1#

Step 7(A): Set the Privileged Mode password in encrypted form.

R1(config)#enable secret cisco

The enable secret you have chosen is the same as your enable password.
This is not recommended.  Re-enter the enable secret.

R1(config)#enable secret cisco1

Step 7(B): Verifying the Privileged Mode password in encrypted form.

R1#disable
R1>enable
Password:       (Enter Clear Text Password)
Password:       (Enter Encrypted Password)
R1#

Step 8: Set the Line VTY Password on the Router.

R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login

Step 9: Set the Line Auxiliary Password on the Router.

R1(config)#line aux 0
R1(config-line)#password cisco
R1(config-line)#login

Step 10(A): Set the System Clock, Date & Time on the Router

R1#clock set ?

  hh:mm:ss  Current Time

R1#clock set 6:30:45 ?

  <1-31>  Day of the month
  MONTH   Month of the year

R1#clock set 6:30:45 1 JAN ?

  <1993-2035>  Year

R1#clock set 6:30:45 1 JAN 2005

Step 10(B): Verify the System Clock, Date & Time on the Router

R1#show clock

06:32:33.527 UTC Sat Jan 1 2005

Step 11(A): Set the Message of the Day Banner on the Router.

R1(config)#banner motd # HELLO & WELCOME TO CISCO WORLD #

Step 11(B): Verify the Message of the Day Banner on the Router.

R1 con0 is now available

Press RETURN to get started.

 HELLO & WELCOME TO CISCO WORLD

User Access Verification

Password:
R1>enable
Password:
R1#

Step 12: Show contents of Current Configuration (RAM).

R1#show running-config

Building configuration...

Current configuration:
!
! Last configuration change at 06:35:33 UTC Sat Jan 1 2005
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
enable secret 5 $1$AuWm$zCssEZ4eNAqcED9e.qUE9.
enable password cisco
!
ip subnet-zero
!
interface Ethernet0
 no ip address
 no ip directed-broadcast
 shutdown
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
 no fair-queue
!
interface Serial1
 no ip address
 no ip directed-broadcast
 shutdown
!
ip classless
no ip http server
!
banner motd ^C HELLO & WELCOME TO CISCO WORLD ^C
!
line con 0
 password cisco
 login
 transport input none
line aux 0
 password cisco
 login
line vty 0 4
 password cisco
 login
end


Step 13: Remove the Privileged Mode Password (Level 15) in clear form.

R1(config)#no enable password cisco

Step 14: Remove the Privileged Mode Secret Password (Level 15) in encrypted 
                 form.

R1(config)#no enable secret cisco1

Step 15: Display the Flash Information.

R1#dir

OR


R1#show flash:

System flash directory:
File  Length   Name/status
  1   7432656  c2500-i-l[1].120-7.T.bin
[7432720 bytes used, 955888 available, 8388608 total]
8192K bytes of processor board System flash (Read ONLY)

Step 16: Display the Version Information of the Switch.

R1#show version

Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-I-L), Version 12.0(7)T,  RELEASE SOFTWARE (fc2)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 06-Dec-99 14:50 by phanguye
Image text-base: 0x0303C728, data-base: 0x00001000

ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
R1 uptime is 1 minute
System returned to ROM by reload
System image file is "flash:c2500-i-l[1].120-7.T.bin"

cisco 2500 (68030) processor (revision F) with 16384K/2048K bytes of memory.
Processor board ID 04851445, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2102

Step 17: Display the information of All Interfaces on the Router.

R1#show ip interface brief

Interface              IP-Address       OK Method            Status                          Protocol

Ethernet0           unassigned      YES NVRAM  administratively down      down

Serial0                unassigned      YES NVRAM  administratively down      down

Serial1                unassigned      YES NVRAM  administratively down      down

Step 18(A): Display the Detailed Information of the Ethernet Interface on the
                           Router.

R1#show interfaces ethernet 0

Ethernet0 is administratively down, line protocol is down
  Hardware is Lance, address is 00e0.b055.3d29 (bia 00e0.b055.3d29)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 252/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:19:04, output hang never
  Last clearing of "show interface" counters never
  Queueing strategy: fifo
  Output queue 0/40, 0 drops; input queue 0/75, 0 drops
  <Output Omitted>


Step 18(B): Display the Detailed Information of the Serial Interface on the
                           Router.

R1#show interfaces serial 0
Serial0 is administratively down, line protocol is down
  Hardware is HD64570
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set
  Keepalive set (10 sec)
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Queueing strategy: fifo
  Output queue 0/40, 0 drops; input queue 0/75, 0 drops
  <Output Omitted>

No comments:

Post a Comment