Basic Cisco Router Config

Some folks from class expressed interest in a straight-forward reference for configuring  Cisco routers, so here it is. I recommend looking the commands up if you aren’t sure what they do. Blindly entering them is no way to learn, but this should help out in a pinch!


Initial

Router> enable
Router# configure terminal
Router(config)# hostname R1
R1(config)# banner motd # set your banner between the hash signs like this #
R1(config)# enable secret cisco
R1(config)# enable password class
R1(config)# line aux 0
R1(config-line)# password class
R1(config-line)# login
R1(config-line)# line console 0
R1(config-line)# password class
R1(config-line)# login
R1(config-line)# exec-timeout 0 0
R1(config-line)# logging synchronous
R1(config-line)# line vty 0 15
R1(config-line)# password class
R1(config-line)# login
R1(config-line)# exit
R1(config)# end
R1# show runing-config
R1# copy running-config startup-config

Interface config

R1> enable
R1# config t
R1(config)# interface FastEthernet 0/0
R1(config-if)# description Enter a Description of the Interface Here
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# ^Z
R1#

Help can always be found with the question mark:

R1(config)# interface ?

or by hitting the tab key to use auto-completion.

About

Tony is a system administrator from Seattle, WA. He specializes in secure, minimal, Linux installations.

Posted in Cisco Tagged with: , , ,

What did you think?

Subscribe

Enjoy what we do? Want to stay updated? Enter a valid E-mail address, and never miss a thing.

%d bloggers like this: