You are on page 1of 2

ROUTER CONFIGURATION

Router>

Router>enable

Router# new prompt

Router#config t

Router(config)# new prompt

Router(config)#hostname <name given to router> NOTE: items between <>brackets


are variables entries ie <Router1> or <Switch3>

Router(config)#enable password <password> NOTE: PASSWORDS ARE


ALWAYS EITHER class OR cisco IN THIS CLASS. The command enable secret
<password> encrypts password. Use in production environment, not this classroom.

Router(config)#no ip domain-lookup

Router(config)#no service config

Configure interfaces: i.e. S0, F0/1, E1 etc

Router(config)#int <s1>

Router(config-if) new prompt

Router(config-if)#ip address <nnn.nnn.nnn.nnn sss.sss.sss.sss>

Router(config-if)#no shutdown

Router(config-if)#int <next int# ie s0>

Router(config-if)#clockrate <xxxxxx> NOTE: only required on DCE cable

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)# new prompt

Router(config)#router rip

Router(config-router)# new prompt


Router(config-router)# network <xxx.xxx.xxx.xxx> NOTE <network id of directly
attached network, not unicast or subnet ip address>

Router(config-router)# network <xxx.xxx.xxx.xxx> NOTE separate entry for every


directly connected network.

Router(config-router)# exit

Router(config)# new prompt

Router(config)# line con 0

Router(config-line)# new prompt

Router(config-line)# password <password> i.e. cisco or class

Router(config-line)# login

Router(config-line)# line vty 0 4

Router(config-line)# password <password>

Router(config-line)# login

Router(config-line)# <ctrl> Z

Router# new prompt back 2 levels

Router# sho run

Router# copy run start

You might also like