«

»

Mar 12

CISCO Router Configuration Basic

CISCO Router Configuration Basics:

This tutorial will guide you to how we can configure router components, we also learn the basic commands use in router configurations.  We can divide components in to external and internal components.  All CISCO routers have a console port for configuration but a router can be configured through any of under given are the router interfaces.

Console Port: Use for initial configurations and installation, we use console cable for configuration.

Auxiliary Port:  Router can be configured using auxiliary port.

Virtual Terminals: Router can be configured through Virtual Terminals/Telnet 0 through 4 but for this router must be install and configured in the network.

TFTP:  We can also download pre-saved configuration from our TFTP server from the network.  We can download and upload the configurations on TFTP server.

Network Management Stations: Router configuration can also be configure and managed through networking management software’s such as Cisco work, HP OpenView etc.

RAM/DRAM : RAM/DRAM are main storage of the router and contained the dynamic configuration data.

NVRAM: NVRAM has backup copy of the router configuration, on power lost or router reboot router takes the backup copy of configuration from NVRAM.

Flash Memory: Flash memory is a erasable and configurable read only memory which contain Cisco ISO software.

ROM : ROM ( Read Only Memory) contains initial and startup program.

Interfaces: The interfaces are connections from which the data packets inter and exit from the router.  Interfaces are Ethernet, PRI, BRI, Serial, Token Ring etc.

USER EXEC MODE AND COMMANDS:

When connect to router through any interface we start using user mode normally called EXEC mode.  Under given are commands we can use in this mode

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

PREVELIGE EXEC MODE COMMANDS:

We can use only limited command in this mode.  We can’t configure any interface using this mode.  For interface configuration we need to privilege EXEC mode.   Under given command take us from EXEC mode to Privilege EXEC mode.

Router>enable  press enter

Router#  ( here # sign indicate that we are in privilege mode)

Router#?

Under given are command which we can use in privilege Exec commands:

  auto        Exec level Automation

  clear       Reset functions

  clock       Manage the system clock

  configure   Enter configuration mode

  connect     Open a terminal connection

  copy        Copy from one file to another

  debug       Debugging functions (see also ‘undebug’)

  delete      Delete a file

  dir         List files on a filesystem

  disable     Turn off privileged commands

  disconnect  Disconnect an existing network connection

  enable      Turn on privileged commands

  erase       Erase a filesystem

  exit        Exit from the EXEC

  logout      Exit from the EXEC

  mkdir       Create new directory

  more        Display the contents of a file

  no          Disable debugging informations

  ping        Send echo messages

  reload      Halt and perform a cold restart

  resume      Resume an active network connection

  rmdir       Remove existing directory

  send        Send a message to other tty lines

  setup       Run the SETUP command facility

  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

  undebug     Disable debugging functions (see also ‘debug’)

  vlan        Configure VLAN parameters

  write       Write running configuration to memory, network, or terminal

GLOBAL CONFIGRATION MODE AND COMMANDS:

In this mode configuration effect the system as whole instead on just one protocol or interface , to enter in global configuration mode we first enter in to privilege EXEC mode.

Router>enable

Rotuer# configure terminal

Router(config)#?

Configure commands:

  aaa                Authentication, Authorization and Accounting.

  access-list        Add an access list entry

  banner             Define a login banner

  boot               Modify system boot parameters

  cdp                Global CDP configuration subcommands

  class-map          Configure Class Map

  clock              Configure time-of-day clock

  config-register    Define the configuration register

  crypto             Encryption module

  dial-peer          Dial Map (Peer) configuration commands

  do                 To run exec commands in config mode

  dot11              IEEE 802.11 config commands

  enable             Modify enable password parameters

  end                Exit from configure mode

  ephone             define ethernet phone

  ephone-dn          Configure ephone phone lines (Directory Numbers)

  exit               Exit from configure mode

  hostname           Set system’s network name

  interface          Select an interface to configure

  ip                 Global IP configuration subcommands

  ipv6               Global IPv6 configuration commands

  line               Configure a terminal line

  logging            Modify message logging facilities

  login              Enable secure login checking

  mac-address-table  Configure the MAC address table

  no                 Negate a command or set its defaults

  ntp                Configure NTP

  parser             Configure parser

  policy-map         Configure QoS Policy Map

  priority-list      Build a priority list

  privilege          Command privilege parameters

  queue-list         Build a custom queue list

  radius-server      Modify Radius query parameters

  router             Enable a routing process

  secure             Secure image and configuration archival commands

  security           Infra Security CLIs

  service            Modify use of network based services

  snmp-server        Modify SNMP engine parameters

  spanning-tree      Spanning Tree Subsystem

  tacacs-server      Modify TACACS query parameters

  telephony-service  Configure Cisco Unified Communications Manager Express

  username           Establish User Name Authentication

  vpdn               Virtual Private Dialup Network

  vpdn-group         VPDN group configuration

  zone               FW with zoning

  zone-pair          Zone pair command

INTERFACE CONFIGRATION MODE AND COMMANDS:

In interface configuration mode we can configure the interface such as FE(Fast Ethernet),Serial etc.  To enter any interface configuration we must have to be in global configuration mode.

Fast Ethernet Interface and its commands

Router(config)#interface FastEthernet0/0

Router(config-if)#?

  arp                Set arp type (arpa, probe, snap) or timeout

  bandwidth          Set bandwidth informational parameter

  cdp                CDP interface subcommands

  crypto             Encryption/Decryption commands

  custom-queue-list  Assign a custom queue list to an interface

  delay              Specify interface throughput delay

  description        Interface specific description

  duplex             Configure duplex operation.

  exit               Exit from interface configuration mode

  fair-queue         Enable Fair Queuing on an Interface

  hold-queue         Set hold queue depth

  ip                 Interface Internet Protocol config commands

  ipv6               IPv6 interface subcommands

  mac-address        Manually set interface MAC address

  mtu                Set the interface Maximum Transmission Unit (MTU)

  no                 Negate a command or set its defaults

  pppoe              pppoe interface subcommands

  priority-group     Assign a priority group to an interface

  service-policy     Configure QoS Service Policy

  shutdown           Shutdown the selected interface

  speed              Configure speed operation.

  standby            HSRP interface configuration commands

  tx-ring-limit      Configure PA level transmit ring limit

  zone-member        Apply zone name

Interface Serial and its commands

Router(config)#interface Serial2/0

Router(config-if)#?

  bandwidth          Set bandwidth informational parameter

  cdp                CDP interface subcommands

  clock              Configure serial interface clock

  crypto             Encryption/Decryption commands

  custom-queue-list  Assign a custom queue list to an interface

  delay              Specify interface throughput delay

  description        Interface specific description

  encapsulation      Set encapsulation type for an interface

  exit               Exit from interface configuration mode

  fair-queue         Enable Fair Queuing on an Interface

  frame-relay        Set frame relay parameters

  hold-queue         Set hold queue depth

  ip                 Interface Internet Protocol config commands

  keepalive          Enable keepalive

  mtu                Set the interface Maximum Transmission Unit (MTU)

  no                 Negate a command or set its defaults

  ppp                Point-to-Point Protocol

  priority-group     Assign a priority group to an interface

  service-policy     Configure QoS Service Policy

  shutdown           Shutdown the selected interface

  tx-ring-limit      Configure PA level transmit ring limit

  zone-member        Apply zone name

SUB-INTERFACE CONFIGRATION MODE AND COMMANDS:

There are multiple virtual interfaces called sub-interfaces can be configured on a single interface.  Subinterface allow multiple encapsulations for a protocol on a single interface.

Router>enable

Router#configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#interface FastEthernet0/0

Router(config-if)#int

Router(config-if)#int fa0/0.1

Router(config-subif)#

Router(config-subif)#?

  arp            Set arp type (arpa, probe, snap) or timeout

  bandwidth      Set bandwidth informational parameter

  delay          Specify interface throughput delay

  description    Interface specific description

  encapsulation  Set encapsulation type for an interface

  exit           Exit from interface configuration mode

  ip             Interface Internet Protocol config commands

  ipv6           IPv6 interface subcommands

  mtu            Set the interface Maximum Transmission Unit (MTU)

  no             Negate a command or set its defaults

  shutdown       Shutdown the selected interface

  standby        HSRP interface configuration commands

There are last configurations modes are available, most of them can be enter and configure through global configuration mode.