USING IOS CONTENT SENSITIVE HELP


Using IOS content sensitive help (?)


The "?" provides context sensitive help, it provides the command syntax or the commands supported in the various lOS modes.
Example 1:
Router>?
Exec commands:
<1-99>                Session number to resume
  Connect             Open a terminal connection
  Disable              Turn off privileged commands
  Disconnect         Disconnect an existing network connection
  Enable               Turn on privileged commands
  exit                   Exit from the EXEC
  logout               Exit from the EXEC
  ping                  Send echo messages
  resume              Resume an active network connection
  show                 Show running system information
  ssh                   Open a secure shell client connection
  telnet               Open a telnet connection
  terminal            Set terminal line parameters
  traceroute         Trace route to destination
--- More ---

Example 2:
Router(config)#interface ?
Ethernet                   IEEE 802.3
 FastEthernet           FastEthernet IEEE 802.3
 GigabitEthernet      GigabitEthernet IEEE 802.3z
 Loopback               Loopback interface
Multilink                 Multilink-group interface
Null                       Null interface
 Serial                   Serial
 Tunnel                  Tunnel interface
 Vlan                     Catalyst Vlans
 Range                  Interface range command
Similarly the context sensitive help can be used in all IOS modes and Commands.
            Command Line editing:
·         Tab        -> for command completion
·         Ctrl + a  -> to beginning of the command
·         Ctrl + e  -> to end of the command
·         Esc + b  -> back by one word
·         Esc + f  -> forward by one word


Wrong Command notification:
Router#comfigure termainal
                 ^
% Invalid input detected at '^' marker.
Router#
Note: Command line error occur primarily from typing mistakes

SHOW COMMANDS OUTPUT VERFICATION

SHOW COMMANDS OUTPUT VERFICATION


Delhi#show running-config
Building configuration...
Current configuration: !
version 12.0
no service password-encryption
!
hostname Delhi
!
no logging console
enable secret 5 $l$IQzR$veVuUBtwlXP2T0pUUTuvC0
enable password cisco
!
memory-size iomem 15
ip subnet-zero
no ip domain-lookup
!
Interface Ethernet0/0
Ip address 10.0.0.1 255.0.0.0
!
Interface Serial0/0
No ip address
Shutdown
!
!
Interface Serial0/1
No ip address
Shutdown
!
ip classless
!
!
line con 0
 password zoom
 login
 line auxO
 password zoom
login
line vty0 4
 password zoom
login
!
end




Router#show flash
System flash directory:
File      Length             Name/status
1          3498453          c2600-i-mz_120-9.bin      
[3420536 bytes used, 4968072 available, 8388608 total]
8192K bytes of processor board System flash (Read/Write)



Router#show Version
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team

ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

System returned to ROM by power-on
System image file is "flash:c1841-advipservicesk9-mz.124-15.T1.bin"

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.
Processor board ID FTX0947Z18E
M860 processor: part number 0, mask 49
2 FastEthernet/IEEE 802.3 interface(s)
2  Serial(sync/async) network interface(s)
191K bytes of NVRAM.
63488K bytes of ATA Compact Flash (Read/Write)

Configuration register is 0x2102

VARIOUS MODES ON ROUTER


VARIOUS MODES ON ROUTER


To configure Cisco Router lOS commands are used. There are different lOS modes for various configurations.
The lOS modes are:

1.       User Mode:
Router>
                                Router is the default hostname and can be changed, '>' Symbol implies "User Mode".
                        This is the first mode user interface with the IOS. It is a restricted mode and support
only a very few basic commands.

2.       Privilege Mode: 
Router#
‘#’ symbol implies Privilege Mode". This mode has full administrative rights. This
 mode is generally used for advance troubleshooting using 'shov/ and 'debug'
 command. This is also called as the EXEC mode.

3.        Global Configuration Mode 
Router(config)#
'(config)#' symbol implies "Global Configuration Mode". Configuration of the Router
 starts from this mode. In this mode configurations that affect the complete router
are given. Example, hostname of the router.

4.       Interface Configuration Mode 
Router(config-if)#
‘(config-if)#' symbol implies "Interface Configuration Mode". This mode is used to
configure a specific interface.
The different types of interfaces are:-
1.      LAN interface
a.      Ethernet
b.      Fastethernet
c.       Gigabiteethernet

2.      WAN Interface

a.      Serial
Each interface.is identified by a number. The first interface is numbered as 0 the
second interface is numbered as 1 and so on. In a modular router the number is given
as 'module number/interface number'. Example 0/0.

5.       Line Configuration Mode 
Router(config-line)#
'(config-line)#’  symbol implies "Line Configuration Mode". This mode is used to
Configure Telnet, Console and Auxiliary.

6.       Router Mode 
Router(config-router)#

'(config-router)#' symbol implies "Router  Mode". This mode is used to advertise
network under dynamic routing protocols.

INITIAL CONFIGURATION


INITIAL CONFIGURATION


A brand new router does not have any configurations. Initial configuration has to be done first. As part of initial configuration the following configurations needs to be done!
1.      Hostname
2.      IP Address to Ethernet interface
3.      Passwords
a.      Console
b.      Auxiliary
c.       VTY (Telnet)
d.      Enable
4.      Save the configuration


Initial Configuration – Example

Router >
Router > enable
Router #

Router #show running-config
Router # show startup-config
Router # show flash
Router # show version

Router # configure terminal or conf t
Router(config)#

Router # hostname Delhi

Delhi(config) #interface ethernat 0
Delhi(config-if) #
Delhi(config-if) #ip address 192.168.1.1 255.255.255.0
Delhi(config-if) #no shutdown
Delhi(config-if) #exit

Delhi(config) #line vty 0 4
Delhi(config-line) #
Delhi(config-line) #password THN
Delhi(config-line) #login
Delhi(config-line) #exit

Delhi(config) #line con 0
Delhi(config-line) #password CCNA
Delhi(config-line) #login
Delhi(config-line) #exit

Delhi(config) #line aux 0
Delhi(config-line) #password CCNA
Delhi(config-line) #login
Delhi(config-line) #exit

Delhi(config) #enable password cisco
Delhi(config) # enable secret thn
Delhi(config) #exit

Verify the Configuration
Delhi #show running-config
Delhi #show startup-config

Commands to save the configuration:
Delhi #copy running-config startup-config
                        (OR)
Delhi #write memory
                        (OR)
Delhi #wr

Verify the Startup Configuration
Delhi #show running-config

CONFIGURATION OF HYPER TERMINAL

                                           Configure Hyper-Terminal

Steps to configure Hyper Terminal

Click   Start -> Programs -> Accessories -> Communication -> Hyper Terminal

















HyperTerminal will open a dialog box, give a name (user defined) and click “ok”

Select the "COM" port to which the console cable is connected and click "ok"



Click on “Restore Defaults” and click “OK”






Default values are:-
Bits per second:         9600
Data Bits:                    8
Parity:                         None
Stop Bits:                    1
Flow Control:             None
Once Hyper Terminal is ready, now switch on Router.



















After the Router boots-up completely, (on a new Cisco Router) it displays the following question:
            ------System Configration Dialog------
Would you like to enter the initial configuration dialog? [Yes|No]:       No
Would you like to terminate autoinstall? [Yes]:

If you choose “yes” IOS will prompt Questions to gather the information to configure the Router, it is recommended to choose “no”, since we can configure the Router using IOS commands.










CONNECTIVITY FOR INITIAL CONFIGURATION

                                           Connectivity for Initial configuration

Connect the console cable from the Console port of the Router to the COM port of the PC and setup the Hyper-terminal.




ICONS FOR NETWORK DEVICES.

         ICONS FOR NETWORK DEVICES.



CONNECTIVITY LINK SYMBOLS