Router Configuration (Tabulated) VERY NB
Router Configuration (Tabulated) VERY NB
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
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 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