Cisco IOS software when the system is booted from the startup-config file or when commands are entered in the CLI while in configuration mode... Hot Keys and Shortcuts• Tab - Completes t
Trang 1Chapter 11 - Configuring and Testing Your Network
CCNA Exploration 4.0
Trang 2(IOS)
• Use Cisco CLI commands to perform basic router
and switch configuration and verification
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
and verify appropriate addressing parameters to a
host
between hosts
performance baseline for the network
Trang 3Role of Internetwork Operating System (IOS)
embedded
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 4Role of Internetwork Operating System (IOS)
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 5H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 8computer or terminal to the console port on the router or switch
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
where remote access is not possible
Trang 9Telnet and SSH
• Telnet
• Secure Shell (SSH) protocol
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Trang 10telephone dialup connection using a modem
connected to the router's AUX port
troubleshooting because it displays router startup,
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
troubleshooting because it displays router startup,
debugging, and error messages by default
Trang 11Role of Internetwork Operating System (IOS)
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 12Role of Internetwork Operating System (IOS)
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 13Configuration files
customize the functionality of a Cisco device
Cisco IOS software when the system is booted (from the startup-config file) or when commands are entered in the CLI while in configuration mode
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
CLI while in configuration mode
Trang 14Types of Configuration Files
• The running configuration file
affect the operation of the Cisco device
• The startup configuration file
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
the device is started
stored in non-volatile RAM (NVRAM)
Trang 15Role of Internetwork Operating System (IOS)
implications of modes
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 16Role of Internetwork Operating System (IOS)
prompts in the CLI
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 17H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 18H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 19Role of Internetwork Operating System (IOS)
commands
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 20IOS command Conventions
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 21Role of Internetwork Operating System (IOS)
using IOS and use these features to get help, take
shortcuts and ascertain success
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 22The Forms of Help
– Context-sensitive help
– Command Syntax Check
– Hot Keys and Shortcuts
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 23Command Syntax Check
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 24Command Syntax Check
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 25Hot Keys and Shortcuts
• Tab - Completes the remainder of the command or
keyword
• Ctrl-R - Redisplays a line
• Ctrl-Z - Exits configuration mode and returns to the EXEC
• Down Arrow - Allows user to scroll forward through former
• Ctrl-Shift-6 - Allows the user to interrupt an IOS process
such as ping or traceroute
• Ctrl-C - Aborts the current command and exits the
configuration mode
Trang 27H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 28H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 29IOS Configuration mode
purpose and their associated prompt
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 30IOS Configuration mode
• Interface mode - to configure one of the network
interfaces (Fa0/0, S0/0/0, )
• Line mode - to configure one of the lines (physical or
virtual) (console, AUX, VTY, )
• Router mode - to configure the parameters for one of the
routing protocols
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
routing protocols
Trang 31BASIC CONFIGURATION
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 32Naming a Device
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 35Naming a Device
should:
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 36Set Password
– Console password - limits device access using the
console connection
– Enable password - limits access to the privileged
EXEC mode
– Enable secret password - encrypted, limits access to
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
– Enable secret password - encrypted, limits access to
the privileged EXEC mode
– VTY password - limits device access using Telnet
Trang 38Set Password
configuration can be limited
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 40H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
– Router(config)#banner motd # Secured system #
Trang 41Manage configuration file
make changes to config, and replace the startup configwith the running config
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 42Manage configuration file
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 43Backup Configuration on TFTP Server
1 Enter the copy running-config tftp command
2 Enter the IP address of the host where the configuration file will be stored
3 Enter the name to assign to the configuration file
4 Answer yes to confirm each choice
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
4 Answer yes to confirm each choice
Trang 44Removing All Configurations
– Router# erase startup-config
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 45Use a text file to backup and restore config settings
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 46• When using HyperTerminal, follow these steps:
1 On the Transfer menu, click Capture Text
2 Choose the location
3 Click Start to begin capturing text
4 Once capture has been started, execute the show
running-config or show startup-config command at the
Use a text file to backup and restore config settings
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
running-config or show startup-config command at the privileged EXEC prompt Text displayed in the terminal window will be placed into the chosen file
5 View the output to verify that it was not corrupted
Trang 47Backup Configurations with Text Capture (TeraTerm)
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 481. On the File menu, click Log.
running-config or show startup-config command at the
Backup Configurations with Text Capture (TeraTerm)
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
running-config or show startup-config command at the
privileged EXEC prompt Text displayed in the terminal
window will be placed into the chosen file
TeraTerm: Log window
Trang 49Restoring Text Configurations
• When using HyperTerminal, the steps are:
1 Locate the file to be copied into the device and open the text document.
2 Copy all of the text.
3 On the Edit menu, click paste to host.
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
3 On the Edit menu, click paste to host.
• When using TeraTerm, the steps are:
1 On the File menu, click Send file.
2 Locate the file to be copied into the device and click Open.
3 TeraTerm will paste the file into the device.
Trang 50Configure Router Interfaces
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 51Configure Router Interface
one router
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 52Configure Router Interface
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 53Configure Interface Description
to a router
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Do not affect to router operation
Trang 54Select, Apply, and Verify Appropriate Addressing Parameters to a Host
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 55• Given a type of host and a master addressing scheme, trace the steps for assigning host parameters to a host
Select, Apply, and Verify Appropriate Addressing
Parameters to a Host
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 56• Trace the steps for using ipconfig/ifconfig to verify host parameter assignments and for using ping to test
Trang 57Select, Apply, and Verify Appropriate Addressing Parameters to a Host
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 58Use Common Utilities to Verify Network Connectivity Between Hosts
IP protocol is operational on a local host
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 59• Use the ping command to determine if the IP protocol
is properly bound to an NIC
Use Common Utilities to Verify Network Connectivity Between Hosts
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 60• Use the ping command to determine if a host can actively communicate across the local network
Use Common Utilities to Verify Network Connectivity Between Hosts
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 61• Use the ping command to verify that the local host can communicate across the internetwork to a given
Trang 62• Identify several conditions that might cause the test to fail
Use Common Utilities to Verify Network Connectivity Between Hosts
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 63Use Common Utilities to Establish a Relative
Performance Baseline for the Network
and repeated over time, to establish relative network performance
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 64• Use the output of the traceroute command, saved into logs, and repeated over time, to establish relative
network performance
Use Common Utilities to Establish a Relative
Performance Baseline for the Network
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 65• Trace the steps for verifying the physical addresses of the hosts
Use Common Utilities to Establish a Relative Performance Baseline for the Network
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 66How to know about PC connect to SW
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 67H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 68H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 69Commands (EXTRA)
H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com
Trang 70H ọ c vi ệ n m ạ ng Bách khoa - Website: www.bkacad.com