Monday, September 29, 2008

CISCO: Basic Routing Configuration w/ Description

ROUTING CONFIGURATION

Would you like to enter configuration mode? N

Router> enable

- user-exec mode

Router# config t

- priviledged-exec mode

Router(config)#

- global configuration mode

Router(config)# hostname RTA

- rename/change router hostname

RTA(config)#banner motd #Authorized User Only! #

- banner

RTA(config)# line console 0

- set console password

RTA(config-line)# password RTAcon

RTA(config-line)# login

RTA(config)# line vty 0 4

- set telnet password

RTA(config)# password RTAtel

RTA(config)# login

RTA(config)# enable password RTApass

RTA(config)# enable secret RTAsec

RTA(config)# service password-encryption

CONFIGURATION INTERFACES

RTA(config)# interface s0/0

RTA(config)# ip add --IP-- --SM--

RTA(config)# clock rate 64000

- clocking for DCE only

RTA(config)#no shutdown

- to turn on int

SAVE CONFIGURATION

RTA# copy running-config startip-config

or

RTA# copy run start

or

RTA# wr

CISCO: Sample of basic configurationg of router

Router> enable
Router# configure terminal
Router(config)# hostname Zid>
Zid(config)# enable secret
Zid(config)# line vty 0 4
Zid(config-line)# password
Zid(config-line)# login
Zid(config-line)# line console 0
Zid(config-line)# password
Zid(config-line)# login
Zid(config-line)# exit
Zid(config)# interface fastethernet0/0
Zid(config-if)# ip address _ _ _._ _ _._ _ _._ _ _ _ _ _._ _ _._ _ _._ _ _
Zid(config-if)# no shutdown
Zid(config-if)# interface serial0/0/0
Zid(config-if)# ip address _ _ _._ _ _._ _ _._ _ _ _ _ _._ _ _._ _ _._ _ _
Zid(config-if)# clock rate 64000 (if DCE)
Zid(config-if)# no shutdown
Zid(config-if)# exit
Zid(config)# router rip
Zid(config-router)# network
Zid(config-router)# network
Zid(config-router)# exit
Zid(config)# exit
Zid#