Thursday, December 10, 2015

How to configure router with packet tracer simulater

The router has  usually few modes to do some particular activities in each mode. There are  User Exec Mode ,Privileged Mode and Global Configuration Mode     

User Exec Mode (distinguished by the ">" prompt) is your first mode and it is also called enable mode , which is used to get statistics from router.
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


Privileged Mode (distingushed by the "#" prompt) is the second mode. Here you can enable or disable interfaces on the router, get more detailed information on the router, To come to privileged mode  type the "enable" command in the user mode.
 Router>enable
 Router#

Global Configuration Mode (distingushed by the (config)# prompt) is accessable via Privileged Mode. In this mode you're able to configure each interface individually, 
  •  setup banners and passwords,
  •  enable secrets (encrypted passwords), 
  •  enable and configure routing protocols 
  • etc...
We dare say that almost everytime you want to configure or change something on the router, you will need to be in this mode.
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#



there are steps which shows how to configure  a router 

Router>enable                                                                   //user mode
Router#configure terminal                                             //Privileged Mode
Router(config)#interface fastEthernet 0/0                 //global config Mode
                                                                                                                             select the port
 
Router(config-if)#ip address 192.168.1.1 255.255.255.0
 //set the IP address and mac address

Router(config-if)#no shutdown
Router(config-if)#ex
Router(config)#ex
or
 



No comments:

Post a Comment