Basics of router configuration pdf
If you were to continue typing, the command would execute properly, even though it looks wrong on the screen TIP see no 5 : Ever type in a command incorrectly and left having to wait for a minute or two as the router tries to translate your command to a domain server of H.
Swaih The router is set by default to try to resolve any word that is not a command to a DNS server at address If you are not going to set up DNS, turn this feature off to save you time as you type, especially if you are a poor typist. This is best done by restarting the device using the reload command at the privileged EXEC mode prompt. When initiating a reload, the IOS will detect that the running config has changes that were not saved to startup configuration.
A prompt will appear to ask whether to save the changes made. To discard the changes, enter n or no. Example: Router reload Some show commands: 1 Router show? Lists all show commands available 2 Router show ip interface brief Displays a summary of all interface, including status and IP address assigned. These are the names and addresses of hosts on the network to which you can connect 9 Router show users Displays all users connected to device 10 Router show history Displays history of commands used 11 Router show flash Displays info about Flash memory 12 Router show version Displays info about loaded software version 13 Router show arp Displays the ARP table 14 Router show protocols Displays status of configured Layer 3 protocols 15 Router show startup-config Displays configuration saved in NVRAM 16 Router show running-config Displays configuration currently running in RAM H.
Swaih Some useful commands 1. Using the Question Mark for Help Router cl? Swaih 6. Related Papers. By Ayan Shah. You can use the command in many ways. First, use it when you don't know what command to type. The show interfaces command presents all the available interfaces that can be configured on your Cisco device. An enable mode command that saves the active config, type? I'm trying to use some packet tracer labs I found on the interweb to refresh my skills, replacing the startup config when a Cisco network device initializes.
For example, and bring myself back up to a rough state of being. The basic CLI commands for all of them are the same, which simplifies Cisco device management. This document is Cisco Public. Related articles.
If the show vlan and show interface switchport commands are not available, the show mac address-table command can also help identify the access VLAN.
A list of download links to 19 of these labs is about half way down this page. For documentation about basic router configuration from Cisco, visit their page. This first lab covers basic Cisco router network configuration. I will walk you through all of the commands to accomplish each objective of this lab. Before we get started, I will explain how to configure routers in the Packet Tracer lab environment.
The way this lab has been setup resembles how you would configure a router in actuality. You must use the PC to open a terminal console session to the router in order to configure it via the command line interface CLI.
This is the PC that has a console light blue cable connected to the router that will be configured. Your prompt will show the router name followed by a greater than sign. Remember that pressing the enter key will tell the router to execute the command you have typed.
The router name is now followed by a pound symbol to show this. This will save you lots off typing although it is not always necessary to have each word in a command completely spelled out. You type in configuration commands and use show commands to get the output from the router or switch. This might sound dated but with so many commands that are available to use, the CLI is much easier to work with than any of the graphical interfaces.
Cisco Router Commands Pdf. In the end,. Privileged EXEC mode only provides commands to change or configure router operation. A list of download links to 19 of these labs is about half way down this page. For documentation about basic router configuration from Cisco, visit their page.
This first lab covers basic Cisco router network configuration. I will walk you through all of the commands to accomplish each objective of this lab. Before we get started, I will explain how to configure routers in the Packet Tracer lab environment. The way this lab has been setup resembles how you would configure a router in actuality. You must use the PC to open a terminal console session to the router in order to configure it via the command line interface CLI.
This is the PC that has a console light blue cable connected to the router that will be configured. Your prompt will show the router name followed by a greater than sign. Remember that pressing the enter key will tell the router to execute the command you have typed. The router name is now followed by a pound symbol to show this. This will save you lots off typing although it is not always necessary to have each word in a command completely spelled out.
HINT: Use the question mark? It will show you which of all the available commands are for the command mode you are in. You can use it after typing a few letters of a word or after one or two words of a command. Router config line vty 0 Router config-line password cisco This command will Set password to cisco on five vty lines Router config-line login.
After securing your router with different password, the most basic setting is to change the router name or host name of your cisco router. If you are beginner then it is better to turn off automatic domain lookup.
It will save your time because if domain lookup is not disabled then router tries to resolve every word that is not a command. And every incorrectly typed command will result a wait of one or two minute. To understand the concept of automatic domain lookup any random word on cisco router and press enter and see the results. You can disable it with the help of command:. Configuring an IP address of a Cisco router is a most common and easy task.
You can setting the IP address to any router interface with the following details. Now select interface you want to configure. There are different type of interfaces available in Cisco router e.
Ethernet, fastethernet, serial interfaces etc. You can configure all type of interface in a same way. Following commands can be used for configuring the Cisco router interfaces. The Loopback interfaces are not physical interface but these are the logical interfaces used for different purpose.
Loopback interface remain always up and most network professional use these interfaces for testing to test IP software without worrying about broken or corrupted drivers or hardware. A different IP scheme is designated for loopback IP address with start number You can configure the loopback interface on Cisco Router with commands as under:. Router1 config interface loopback 1 Router1 config-if ip address Router1 config interface loopback 2 Router1 config-if ip address For configuring an IPv6 address on Cisco router, you need to enable it as it is not enable on Cisco Router by-default.
You can save the configuration of cisco router to local device using the TFTP server. Following cisco commands will do the task for you. Router2 copy running-config tftp Address or name of remote host []? The purpose of default gateway is to direct packets addressed to networks not found in the routing-table. In presence of default routes all packets with the unknown destinations are forwarded to default gateway. All above commands will set the cisco router default gateway to R1 config ip dhcp excluded-address Exclude-address command will define the range of IP address which will not be assigned to hosts.
DNS makes Domain names easy for people to remember. You can configure DNS on Cisco by help of following commads:. R1 configure terminal R1 config ip dns server R1 config ip domain-lookup R1 config ip name-server 4.
With ACL you can apply different restrictions and can assign different permission for data packet. For example you can deny or permit a network to enter or out from an interface.
0コメント