0% found this document useful (0 votes)
32 views2 pages

Router Configuration (Tabulated) VERY NB

The document provides the basic syntax for configuring a router, including assigning a hostname, enabling passwords, configuring interfaces with IP addresses, enabling remote access via Telnet, assigning console passwords, and configuring OSPF routing. The summary includes setting the hostname to "Lab_A", configuring gigabit interfaces Gi0/0 and Gi0/1 and serial interfaces S0/0/0 and S0/0/1 with IP addresses, enabling Telnet access on VTY lines 0-4 and assigning a console password, and advertising the directly connected networks in OSPF process 1 and area 0.

Uploaded by

seekeroftheflame
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

Router Configuration (Tabulated) VERY NB

The document provides the basic syntax for configuring a router, including assigning a hostname, enabling passwords, configuring interfaces with IP addresses, enabling remote access via Telnet, assigning console passwords, and configuring OSPF routing. The summary includes setting the hostname to "Lab_A", configuring gigabit interfaces Gi0/0 and Gi0/1 and serial interfaces S0/0/0 and S0/0/1 with IP addresses, enabling Telnet access on VTY lines 0-4 and assigning a console password, and advertising the directly connected networks in OSPF process 1 and area 0.

Uploaded by

seekeroftheflame
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Basic Router configuration syntax

NOTE: Depending on router’s IOS, it might use different types of interfaces. Such as –
Ethernet interface 0 → E0 or F0/0 or Gi0/0 Ethernet interface 1 → E1 or F0/1 or Gi0/1 Serial interface 0 → S0 or S0/0 or S0/0/0 Serial interface 1 → S1 or S0/1 or S0/0/1

What for Configuration Syntax Comments


Factory default Router prompt Router>  this prompt is known as User mode

To go to PRIVILEGE MODE Router> enable  this prompt is known as Privilege mode


Router#
To go to GLOBAL MODE Router # config t  this prompt is known as Global Configuration
Router (config ) # mode
NOTE:
The values within { } braces are variables. So, you should change it according to your configuration need.
To assign Hostname for Router Router (config ) # hostname { any name for the router such as Lab_A }  Hostname can be any, it is a variable
Router (config ) # hostname Lab_A  Lab_A, is hostname here

To enable plain text password Lab_A (config) # enable password { any password you like to have }  Password can be any, it is a variable
To enable encrypted password Lab _A (config)# enable secret { any password you like to have but different from enable  Password can be any, it is a variable
password }

To go to Gigabit Interface 0/0 and to Lab _A (config) # interface Gi0/0


assign IP address and Subnet Mask Lab _A (config-if ) # ip address { ip address for Gi0/0 } { S. M. for Gi0/0 }
Lab _A (config-if ) # no shutdown

To go to Gigabit Interface 0/1 and to Lab _A (config) # int Gi0/1


assign IP address and Subnet Mask Lab _A (config-if ) # ip address { ip address for Gi0/1 } { S. M. for Gi0/1 }
Lab _A (config-if ) # no shutdown  Once inside interface prompt (config-if ) #, IP
and SM should be assigned.
To go to Serial Interface 0/0/0 and to Lab _A (config) # int s0/0/0
assign IP address and Subnet Mask Lab _A (config-if ) # ip address { ip address for s0/0/0 } { S. M. for s0/0/0 }  IP address is always accompanied by SM.
Lab _A (config-if ) # clock rate 64000
Lab _A (config-if ) # no shutdown  ‘No Shutdown’ command is a must to activate
Lab _A (config-if ) # exit the interface.

To go to Serial Interface 0/0/01 and to Lab _A (config) # int s0/0/1


assign IP address and Subnet Mask Lab _A (config-if ) # ip address { ip address for s0/0/1 } { S. M. for s0/0/1 }
Lab _A (config-if ) # clock rate 64000
Lab _A (config-if ) # no shutdown
Lab _A (config-if ) # exit
To activate remote TELNET ACCESS Lab _A (config ) # line vty 0 4  VTY stands for Virtual Tele Type.
Lab _A (config-line ) # password { any password you like to have }  Must, to have Password to connect remotely
Lab _A (config-line ) # login  ‘login’ allows to login remotely for vty users

To assign password on CONSOLE Lab _A (config ) # line con 0  ‘Console 0’ is a physical port on a router that
PORT Lab _A (config-line ) # password { any password you like to have } allows to connect a computer to manage a
Lab _A (config-line ) # login router using terminal applications such as Putty,
Lab _A (config-line ) # exit Hyper Terminal, SecureX, Minicom etc.

To ROUTE / To Advertise Lab _A (config ) # router ospf {process ID}  OSPF is an Open source dynamic routing
(Only advertise those networks which protocol. OSPF is accompanied by Process ID.
are directly connected to the router) Lab _A (config-router ) # network { network address for Gi0/0 } { wildcard mask } area 0
 Once inside routing prompt (config-router ) # ,
Lab _A (config-router ) # network { network address for Gi0/1 } { wildcard mask } area 0 ‘Network’ command is used to advertise the
directly connected networks on the router so
Lab _A (config-router ) # network { network address for s0/0/0 } { wildcard mask } area 0 that the remote routers will know these
networks via OSPF Hello packets.
Lab _A (config-router ) # network { network address for s0/0/1 } { wildcard mask } area 0
 Wild Card Mark is inverse of SM

 All the networks must be advertised in area 0

To exit Lab _A (config-router ) # exit  ‘exit’ is to go back to previous prompt


Lab _A (config ) # exit
Lab _A #

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy