Download presentation
Published byMelanie Jefferson Modified over 9 years ago
1
Cisco Router MODES Configuration Prompt Interface Router(config-if)#
Line Router(config-line)# Router Router(config-router)# Route-map Router(config-route-map)# All of these commands are done in the ‘Global Configuration Mode’. Type exit from one of these specific configuration modes to return to global configuration mode Type Ctrl-Z to return to privileged EXEC mode
2
Configure a Router Hostname : Router> enable
Router# configure terminal Router(config)# hostname Tokyo Tokyo(config)#
3
Configure a Router - Passwords
Configure Console password : Router(config)# line console 0 Router(config-line)# login Router(config-line)# password cisco Configure Virtual terminal : Router(config)# line vty 0 4 Router(config-line)# login Router(config-line)# password cisco
4
Configure a Router - Passwords
Configure enable password: Router(config)# enable password password Configure secret password Router(config)# enable secret password NOTE: “enable secret” has preference over “enable password”
5
Configure a Router – Show commands
We may compile a list of “show” commands to help debug the router. Some of these commands are: show interface show interface serial port show version show protocol show startup-configuration show running-configuration
6
Configure a Router - Interfaces
In the following commands, type, refers to either, ethernet, or serial ports. Router(config)# interface type port OR Router(config)# interface type slot/port To bring a port down, or ‘shut it down’: Router(config)# interface type port Router(config-if)# shutdown To bring ‘up’ an interface or ‘initialize’ it: Router(config)# interface type port Router(config-if)# no shutdown
7
Configure a Router – Interfaces (cont.)
Example: Router(config)# interface serial 1 Router(config-if)# no shutdown Router(config)# interface serial 1/0 Router(config-if)# no shutdown Router(config)# interface ethernet0 Router(config-if)# no shutdown
8
Configure a Router – Interfaces (cont.)
By default, the interfaces are ‘down’ Before one does a ‘no shutdown’, all interfaces are in the state: administrative down, line protocol down
9
Configure a Router – Interfaces (cont.)
When you are at interface mode, you need to give characteristics to the ethernet or serial port: Router(config)# interface serial 0/0 Router(config-if)# ip address <ip address> <netmask> If the serial port is the DCE, then the clock rate must be applied: Router(config)# interface serial 0/0 Router(config-if)# ip address <ip address> <netmask> Router(config-if)# clock rate 56000 Router(config-if)# no shutdown
10
Configure a Router - Interfaces (cont.)
When you are at interface mode, you need to give characteristics to the ethernet or serial port: Router(config)# interface serial 0 Router(config-if)# ip address If the serial port is the DCE, then the clock rate must be applied: Router(config)# interface serial 0/0 Router(config-if)# ip address Router(config-if)# clock rate 56000 Router(config-if)# no shutdown
11
Configure a Router – erase configuration
To erase the configuration of a router: Router# erase startup-config Router# reload To load the running configuration of a router into NVRAM, do: Router# copy running-config startup-config There are some ‘bad’ results with ‘start’ if you misspell ‘start’. So use wr memory
12
Configure a Router Give a description to an interface: Router(config)#
interface e0 Router(config-if)# description CET LAN, Bldg 19 Give a message of the day (MOTD): Router(config)# banner motd #You have entered a secure area! #
13
Configure a Router – ip host command
Give host name resolution, or a mini-DNS table, do: Router(config)# ip host Auckland Router(config)# ip host Beirut Router(config)# ip host Dallas
14
Configure a Router London Paris e1 s0 e0 s1 e0 e1 175.11.11.1
e1 s0 e0 s1 London Paris e0 e1 Router(config)# hostname London London(config)# ip host Paris Router(config)# hostname Paris Paris(config)# ip host London These ping commands would give you the same results London# ping London# ping Paris These ping commands would give you the same results Paris# ping Paris# ping Paris
15
Configure a Router To copy information from one place to another:
Router# copy <from file> <to file> Router#copy running-config startup-config Router#copy running-config tftp Router#copy tftp startup-config
16
Standards It’s important to create a standard for networking consistency to alleviate router configuration by: reducing complexity limiting unplanned downtime limiting events that may impact network performance
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.