Configuring a router name
3.1.2 This page will explain how a router name is configured.
A router should be given a unique name as one of the first configuration tasks. This task is accomplished in global configuration mode with the following command:
Router(config)#hostname Tokyo
Tokyo(config)#
When the Enter key is pressed, the prompt will change from the default host name, which is Router, to the newly configured host name, which is Tokyo.
The next page will show students how to configure router passwords.
Wednesday, May 12, 2010
Configuring a router name
Configuring a router name
3.1.2 This page will explain how a router name is configured.
A router should be given a unique name as one of the first configuration tasks. This task is accomplished in global configuration mode with the following command:
Router(config)#hostname Tokyo
Tokyo(config)#
When the Enter key is pressed, the prompt will change from the default host name, which is Router, to the newly configured host name, which is Tokyo.
Configuring router passwords
3.1.3
3.1.2 This page will explain how a router name is configured.
A router should be given a unique name as one of the first configuration tasks. This task is accomplished in global configuration mode with the following command:
Router(config)#hostname Tokyo
Tokyo(config)#
When the Enter key is pressed, the prompt will change from the default host name, which is Router, to the newly configured host name, which is Tokyo.
Configuring router passwords
3.1.3
CLI command modes
CLI command modes
3.1.1 This page will discuss some features that are available from global configuration mode.
All CLI configuration changes to a Cisco router are made from global configuration mode, which is sometimes called global config. Global config is the primary configuration mode. Specific modes are used for various configuration changes, but these modes are all subsets of the global configuration mode.
Global configuration mode commands are used in a router to apply configuration statements that affect the system as a whole. The following command moves the router into global configuration mode and allows entry of commands from the terminal:
Note:
The prompt changes to indicate that the router is now in global configuration mode.
Router#configure terminal
Router(config)#
The prompt will change to indicate that the router is in global configuration mode. Here are a few of the modes that can be entered from global configuration mode:
• Interface mode
• Line mode
• Router mode
• Subinterface mode
• Controller mode
When these specific modes are entered, the router prompt changes to indicate the current configuration mode. Any configuration changes that are made will apply only to the interfaces or processes covered by the particular mode.
Type exit from one of the specific modes to return a router to global configuration mode. Pressing Ctrl-Z leaves the configuration modes completely and returns the router to privileged EXEC mode.
The next page will teach students how to configure a router name in global configuration mode.
3.1.1 This page will discuss some features that are available from global configuration mode.
All CLI configuration changes to a Cisco router are made from global configuration mode, which is sometimes called global config. Global config is the primary configuration mode. Specific modes are used for various configuration changes, but these modes are all subsets of the global configuration mode.
Global configuration mode commands are used in a router to apply configuration statements that affect the system as a whole. The following command moves the router into global configuration mode and allows entry of commands from the terminal:
Note:
The prompt changes to indicate that the router is now in global configuration mode.
Router#configure terminal
Router(config)#
The prompt will change to indicate that the router is in global configuration mode. Here are a few of the modes that can be entered from global configuration mode:
• Interface mode
• Line mode
• Router mode
• Subinterface mode
• Controller mode
When these specific modes are entered, the router prompt changes to indicate the current configuration mode. Any configuration changes that are made will apply only to the interfaces or processes covered by the particular mode.
Type exit from one of the specific modes to return a router to global configuration mode. Pressing Ctrl-Z leaves the configuration modes completely and returns the router to privileged EXEC mode.
The next page will teach students how to configure a router name in global configuration mode.
Module 3: Configuring a Router / Overview
Overview
The initial steps that are used to configure a router are not very difficult. If students become familiar with these steps and learn how to move between the router user modes, it will be easier to perform complex router configurations. This module introduces the basic configuration modes of the router and provides opportunities to practice simple configurations.
A clear, easy to understand router configuration that is backed up regularly should be a goal of all network administrators. The Cisco IOS provides many tools that an administrator can use to add information to the configuration file for documentation purposes. A network administrator should provide as much information as possible in case another person becomes responsible for the network.
This module covers some of the objectives for the CCNA 640-801, INTRO 640-821, and ICND 640-811 exams. -
Students who complete this module should be able to perform the following tasks:
• Name a router
• Set passwords
• Examine show commands
• Configure a serial interface
• Configure an Ethernet interface
• Execute changes to a router
• Save changes to a router
• Configure an interface description
• Configure a message-of-the-day banner
• Configure host tables
• Understand the importance of backups and documentation
The initial steps that are used to configure a router are not very difficult. If students become familiar with these steps and learn how to move between the router user modes, it will be easier to perform complex router configurations. This module introduces the basic configuration modes of the router and provides opportunities to practice simple configurations.
A clear, easy to understand router configuration that is backed up regularly should be a goal of all network administrators. The Cisco IOS provides many tools that an administrator can use to add information to the configuration file for documentation purposes. A network administrator should provide as much information as possible in case another person becomes responsible for the network.
This module covers some of the objectives for the CCNA 640-801, INTRO 640-821, and ICND 640-811 exams. -
Students who complete this module should be able to perform the following tasks:
• Name a router
• Set passwords
• Examine show commands
• Configure a serial interface
• Configure an Ethernet interface
• Execute changes to a router
• Save changes to a router
• Configure an interface description
• Configure a message-of-the-day banner
• Configure host tables
• Understand the importance of backups and documentation
Sunday, May 2, 2010
Summary
Summary
This page summarizes the topics discussed in this module.
The Cisco IOS is embedded in all Cisco routers. The purpose of the Cisco IOS software is to provide basic routing and switching functions, to give the network scalability, and to provide a reliable and secure way to access the network resources.
The Cisco IOS software uses a command-line interface accessed through a console session or by using a dial-up connection through a modem connected to the router AUX port. A Telnet session to the router can be established remotely if at least one interface is configured with an IP address.
Cisco IOS software provides a command interpreter service known as the command EXEC. After each command is entered, the EXEC validates and executes the command.
There are two access levels available for added security. The user EXEC mode, which is identified by a > prompt, provides basic monitoring commands. From user EXEC mode, a user can run basic commands. For example, the user can view router properties or make temporary changes to the terminal settings. No password is required to access the user EXEC mode.
The privileged EXEC mode, which is identified by a # prompt, is the global configuration and management mode. This mode allows access to all router commands. Within privileged EXEC mode, a user can configure the router interfaces, connect to external sources, load protocols, and move or delete files.
The enable command is used to access privileged EXEC mode. Privileged EXEC mode can also be configured with user name and password for more security.
Enter ? to view a list of available commands in a given mode. If the system detects any errors in a command, a carat symbol (^) will display as a marker. In addition, the enhanced editing mode provides a set of editing key functions that allows the user to edit a command line as it is being typed.
Compatibility issues with the router flash and RAM memory are major considerations before a newer release of the Cisco IOS software can be installed. Use the show version command to check current resources and available memory. Newer releases with more features will typically require more memory. The show flash command is used to verify that the system has sufficient memory to load a new Cisco IOS image. Use of the Cisco Software Advisor provides the most current information and allows the selection of options that meet network requirements.
This page summarizes the topics discussed in this module.
The Cisco IOS is embedded in all Cisco routers. The purpose of the Cisco IOS software is to provide basic routing and switching functions, to give the network scalability, and to provide a reliable and secure way to access the network resources.
The Cisco IOS software uses a command-line interface accessed through a console session or by using a dial-up connection through a modem connected to the router AUX port. A Telnet session to the router can be established remotely if at least one interface is configured with an IP address.
Cisco IOS software provides a command interpreter service known as the command EXEC. After each command is entered, the EXEC validates and executes the command.
There are two access levels available for added security. The user EXEC mode, which is identified by a > prompt, provides basic monitoring commands. From user EXEC mode, a user can run basic commands. For example, the user can view router properties or make temporary changes to the terminal settings. No password is required to access the user EXEC mode.
The privileged EXEC mode, which is identified by a # prompt, is the global configuration and management mode. This mode allows access to all router commands. Within privileged EXEC mode, a user can configure the router interfaces, connect to external sources, load protocols, and move or delete files.
The enable command is used to access privileged EXEC mode. Privileged EXEC mode can also be configured with user name and password for more security.
Enter ? to view a list of available commands in a given mode. If the system detects any errors in a command, a carat symbol (^) will display as a marker. In addition, the enhanced editing mode provides a set of editing key functions that allows the user to edit a command line as it is being typed.
Compatibility issues with the router flash and RAM memory are major considerations before a newer release of the Cisco IOS software can be installed. Use the show version command to check current resources and available memory. Newer releases with more features will typically require more memory. The show flash command is used to verify that the system has sufficient memory to load a new Cisco IOS image. Use of the Cisco Software Advisor provides the most current information and allows the selection of options that meet network requirements.
The show version command
The show version command
2.2.10 This page will discuss the show version command. This command displays information about the Cisco IOS software version that is installed on the router. This includes the configuration register and the boot field settings.
Figure shows the following information from the show version command:
• IOS version and descriptive information
• Bootstrap ROM version
• Boot ROM version
• Router up time
• Last restart method
• System image file and location
• Router platform
• Configuration register setting
Use the show version command to identify a router IOS image and boot source.
This page concludes the lesson on basic router commands. The next page will summarize the main points from this module.
2.2.10 This page will discuss the show version command. This command displays information about the Cisco IOS software version that is installed on the router. This includes the configuration register and the boot field settings.
Figure shows the following information from the show version command:
• IOS version and descriptive information
• Bootstrap ROM version
• Boot ROM version
• Router up time
• Last restart method
• System image file and location
• Router platform
• Configuration register setting
Use the show version command to identify a router IOS image and boot source.
This page concludes the lesson on basic router commands. The next page will summarize the main points from this module.
Troubleshooting command line errors
Troubleshooting command line errors
2.2.9 This page will show students how to locate and fix command line errors.
Command line errors occur primarily from typing mistakes. If a command keyword is incorrectly typed, the user interface uses the caret symbol (^) to identify and isolate the error. The ^ appears at the point in the command string where an incorrect command, keyword, or argument was entered. The error location indicator and interactive help system allow the user to easily find and correct syntax errors.
Router#clock set 13:32:00 23 February
99
^
% Invalid input detected at '^' marker.
The caret symbol (^) and help response indicate an error at 99. To list the correct syntax, enter the command up to the point where the error occurred and then enter a question mark (?):
Router#clock set 13:32:00 23 February ?
<1993-2035> Year
Router#clock set 13:32:00 23 February
Use the correct syntax to add the year and press Enter or Return to execute the command.
Router#clock set 13:32:00 23 February 1999
If a command line is entered incorrectly, and the Enter key is pressed, the Up Arrow can be pressed to repeat the last command. Use the Right Arrow and Left Arrow keys to move the cursor to the location where the mistake was made. Then make the correction. If something needs to be deleted, use the Backspace key.
The next page will discuss the show version command.
2.2.9 This page will show students how to locate and fix command line errors.
Command line errors occur primarily from typing mistakes. If a command keyword is incorrectly typed, the user interface uses the caret symbol (^) to identify and isolate the error. The ^ appears at the point in the command string where an incorrect command, keyword, or argument was entered. The error location indicator and interactive help system allow the user to easily find and correct syntax errors.
Router#clock set 13:32:00 23 February
99
^
% Invalid input detected at '^' marker.
The caret symbol (^) and help response indicate an error at 99. To list the correct syntax, enter the command up to the point where the error occurred and then enter a question mark (?):
Router#clock set 13:32:00 23 February ?
<1993-2035> Year
Router#clock set 13:32:00 23 February
Use the correct syntax to add the year and press Enter or Return to execute the command.
Router#clock set 13:32:00 23 February 1999
If a command line is entered incorrectly, and the Enter key is pressed, the Up Arrow can be pressed to repeat the last command. Use the Right Arrow and Left Arrow keys to move the cursor to the location where the mistake was made. Then make the correction. If something needs to be deleted, use the Backspace key.
The next page will discuss the show version command.
Subscribe to:
Comments (Atom)
