|
Configuring your CISCO router
Before powering on your
router you will need to:
· Configure a terminal emulator program (HyperTerminal, etc..) on your
PC for 9600 baud, 8 data bits, no parity and 1 bit stop
· Determine the network protocol to be used (IP, IPX, AppleTalk)
· Which WAN protocol will be used (Frame Relay, HDLC, X.25, etc,
etc….)
· Connect the serial connector the your PC and the other end to the
console port on the router
Power on your router, wait for the stop scrolling through the screen.
You will then be prompted by the following message:
Would you like to enter
the initial configuration dialog? [yes/no]: no
(if you answer no, you will be prompted to terminate the Auto Install
and configure the router manually.)
The first set of instructions are for configuring a hostname, a
password and an IP address on the local Ethernet interface.
At the prompt issue the following commands:
· Router> enable
· Configure terminal
· Router (config) # hostname whoever (this is used to setup a hostname
for the router
· Whoever (config) # enable secret guessme (this is used to establish
a password for entering to Privileged mode. Substitute the word
guessme for you own password)
· Whoever (config)# Line console 0
· Whoever (config-line) # exec-timeout 0 0 (this will prevent your
session from timing out)
· Whoever (config-line)# exit (to return to global configuration mode)
· Whoever# ip routing (to establish IP routing protocol) [NOTE: to
enable Novell or Apple networks use the following commands, ipx
routing or AppleTalk routing]
· Whoever# configure terminal
· Whoever (config) # interface Ethernet 0/0 (this will take you into
the interface configuration mode where you can specify the IP address
for the interface)
· Whoever(config) # ip address 172.16.1.1 255.255.255.0
The instructions below are for setting up a serial interface. This
will start from privileged mode with the router name still being
“Whoever”.
· Whoever # configure terminal
· Whoever (config) # ip routing
· Whoever (config) # interface serial 0/0
· Whoever (config-if) # ip address 172.16.8.1 255.255.255.0 (to assign
the IP address to the serial interface)
· Whoever (config) # controller t1 0/0 (select the PRI interface to
configure)
· Whoever (config-controller) # clock source line (specify which end
of the circuit provides clocking. The clock source should be set to
use internal clocking only for testing the network or if the full T1
line is used as the channel group. Only one end of the T1 line should
be set to internal.)
· Whoever (config-controller) # framing esf (this is the framing type)
· Whoever (config-controller) # linecode b8zs (this is the line code
format)
· Whoever (config-controller) # channel-group 0 timeslots 1, 3-5, 7
(this specifies the channel group and time slots to be mapped. For
multiplex trunk interfaces, only channel 0 can be configured)
· Type exit, or hit Ctrl + Z (to return to privilege mode and save the
configurations)
· copy running-config startup-config (to save the existing
configuration over the default configuration)
After following the
above instructions you will need to go into interface mode and bring
the Ethernet and Serial interfaces online. The following will show you
how to achieve this. (the router name is still “Whoever”)
While in privilege mode do the following:
· Whoever# configure terminal
· Whoever (config) # interface Ethernet 0/0
· Whoever (config-int) # no shutdown
· Whoever (config-int) # interface Serial 0/0
· Whoever (config-int) # no shutdown
· Type exit, or hit Ctrl + Z (to return to privilege mode and save the
configurations)
· copy running-config startup-config (to save the existing
configuration over the default configuration)
To configure your router for telnet access you will need to do the
following:
· Whoever # configure terminal (to go into global configuration mode)
· Whoever (config) # line vty 0 4 (this allows the maximum amount of
connections)
· Whoever (config-line) # login
· Whoever (config-line) # password guessme (this is the password that
will need to be used when someone telnets into the system. REPLACE THE
WORD quessme WITH YOUR OWN PASSWORD)
... Marcus Gill
|
|
|