Chapter 6 - YSU Computer Science & Information Systems

advertisement
Cisco S2 C6
Router Configuration 1
Router Boot Up
• Router uses following from config-startup
when it boots
–
–
–
–
–
Cisco IOS software version
Router identification
Boot file locations
Protocol information
Interface configurations
Configuration Commands
• configure terminal -- configures manually from
the console terminal
• configure memory -- loads configuration
information from NVRAM
• copy tftp running-config -- loads configuration
information from a network TFTP server into
RAM
• show running-config -- displays the current
configuration in RAM
• copy running-config startup-config -- stores the
current configuration from RAM into NVRAM
Configuration Commands Cont’d
• copy running-config tftp -- stores the
current configuration from RAM on a
network TFTP server
• show startup-config -- displays the saved
configuration, which is the contents of
NVRAM
• erase startup-config --erases the contents of
NVRAM
Pre 11 Configuration Commands
• Unfortunately for the short term you need to know
them
–
–
–
–
–
–
–
–
Config term
Write term
Config mem
Write mem
Config net
Write net
Show config
Write erase
configure from terminal
transfer to NVRAM
Copy Config file
• To copy do the following:
– Step 1 -- Enter the copy running-config tftp
command.
– Step 2 -- Enter the IP address of the host that
you want to use to store the configuration file.
– Step 3 -- Enter the name you want to assign to
the configuration file.
– Step 4 -- Confirm your choices by answering
yes each time.
Files
• File names are Unix based
• File extensions are limited to three
characters
• Server file names are limited to 8 characters
• Copy running-config tfpt
– Will prompt for remote host IP and file name
• !!!! (Ping character) indicate file copied
Commands to Manage NVRAM
• configure memory -- Loads
configuration
formation from NVRAM.
• erase startup-config -- Erases the contents of
NVRAM.
• copy running-config startup-config -- Stores the
current configuration from RAM (the running
configuration) into NVRAM (as the startup or
backup configuration).
• show startup-config -- Displays the saved
configuration, which is the contents of NVRAM.
Pre-11 Commands
•
•
•
•
Unfortunately you need to know them
Configure memory
Write erase
Write memory
Router Modes
•
•
•
•
•
•
•
Ctrl + Z terminates process
Exit
backs out one level
Interface
Sub-interface
Controller
Map-list
Map-class
Line
Router
IPX-router
Route-map
Global Configuration
• Router # Configure terminal
• Router (config)#
– One line commands
– System wide commands
– Enter mode
• Router (config)# interface type port
• Router (config-if)#
Router Interface commands
• Router (config-if)# media-type 10baseT
• Router (config-if)# int & 0.1 point-to-point
• LAB – practice commands
Passwords
• line console 0 -- establishes a password on the
console terminal
• line vty 0 4 -- establishes password protection on
incoming Telnet sessions
• enable password -- restricts access to privileged
EXEC mode
• enable secret password (from the system
configuration dialog to set up global parameters -uses a Cisco proprietary encryption process to
alter the password character string
Messages and Descriptions
• Router (config)# banner mtod #Welcome to
Cisco Semester 2#
• Router (config-if)# description this is a fun
class
Labs
• Labs, labs, and more labs
Download