Monday, September 29, 2008

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#

No comments: