Documente Academic
Documente Profesional
Documente Cultură
Configuring a Router
Version 3.1
Version 3.1
Console
3. Configure interfaces
4. Configure routing protocol
5. Configure hostname table
Version 3.1
Version 3.1
Password Configuration
Passwords are set for:
privileged EXEC mode
Enable password (not used if secret password is
set)
Enable secret password (restricts going from user to
privileged)
line passwords
console interface
VTY or virtual terminals
Version 3.1
Password Configuration
Setting Passwords are set for:
privileged EXEC mode
Enable password
Router(config)#enable password password
Version 3.1
Password Configuration
Setting Passwords are set for:
line passwords
console interface
Router(config)#line console 0
Router(config-line)#password password
Router(config-line)#login
Version 3.1
Password Configuration
Password Encryption may set
The service password-encryption command may
be used to set passwords to not display in clear text
when viewing running configuration.
Router(config)#line console 0
Router(config-line)#password password
Router(config-line)#login
Router(config-line)#service passwordencryption
If no
password
is set for
virtual
terminal
sessions,
no one
can log
into the
router
using a
virtual
terminal
session
Password Configuration
Can set 5
different
passwords
for the VTY
lines
Version 3.1
show commands
show interfaces stats on the router interfaces
show controllers serial hardware info re serial
interfaces
show clock Shows the time set in the router
show hosts Displays a cached list of host names and
addresses
show users Displays all users who are connected to
the router
show history history of commands
show flash info about flash memory and the IOSs
stored there
Version 3.1
10
show commands
show version info about router and IOS running in
RAM
show ARP Displays the ARP table of the router
show protocol Displays the global and interface
specific status of any configured Layer 3 protocols
show startup-configuration Displays the saved
configuration located in NVRAM
show running-configuration Displays the
configuration currently running in RAM
Version 3.1
11
Version 3.1
12
A router is by default
administratively down,
until it is brought up
13
Configuring a router
14
FastEthernet
Router#config t
Router(config)#interface fastethernet 0
Router(config-if)#ip address 192.10.10.1 255.255.255.0
Router(config-if)#no shutdown
Version 3.1
15
Version 3.1
16
Interface Descriptions
Identifies important information as to what the interface
is connected to
Ft_Worth#config t
Ft_Worth(config)#interface serial 0
Ft_Worth(config-if)#description WAN link to San Antonio
Ft_Worth(config-if)#ip address 192.10.10.1 255.255.255.0
Ft_Worth(config-if)#no shutdown
Version 3.1
17
Login Banners
They are seen by everyone (telnet, AUX port, console
port)
Can convey message to all users
Might want to include a warning not to access the
device
Use a delimiting character before and after
Router#config t
Router(config)#banner motd # Authorized Users Only!!! #
Version 3.1
18
19
TFTP SERVER
Used to save a copy of the configuration on a computer
Router#copy running-config tftp
Software has to be set up beforehand and running
You will be prompted for information about IP address of
tftp server and the file name
Version 3.1
20
Version 3.1
21