✅CONFIGURACIÓN BÁSICA de un ROUTER CISCO --- Cisco Packet Tracer
Router Configuration with Cisco Packet Tracer
Introduction to Router Setup
- The video begins with an introduction to configuring a Cisco router using Cisco Packet Tracer software.
- Users are guided to select a router model from the available options in the software for configuration.
Connecting Devices
- The tutorial explains two methods for accessing the router: directly through the interface or via a console cable connected to a computer.
- A console cable is selected, connecting one end to the computer's RS232 port and the other end to the router's console port.
Accessing Command Line Interface (CLI)
- After accessing the PC, users open the terminal window, keeping default parameters for initial setup.
- Upon starting, users are prompted whether they want assistance with initial configuration; opting out allows manual setup.
Entering Privileged Mode
- To enter privileged mode, users must type
enable, changing their command prompt symbol indicating access level.
- In privileged mode, further configurations can be made. Users can enter global configuration mode by typing
configure terminal.
Configuring Router Settings
- Users can change the router's hostname using
hostname r1, which updates their command prompt accordingly.
- Setting up a password for privileged mode is crucial; common choices include "cisco" for educational purposes.
Adding Welcome Message and Exiting Modes
- A welcome message can be configured using
banner motdfollowed by custom text within quotes.
- To exit back to user mode from privileged mode, users type
exit, returning them stepwise through previous modes.
Protecting User Access
- If left idle, routers display a blank screen; pressing enter reveals any configured welcome messages and prompts for passwords.
- To secure user access further, passwords must be set up in global configuration under line settings like console lines.
Finalizing Console Line Security
- Entering line configuration mode (
line con 0) allows setting passwords that will be required upon first access attempts.
Router Configuration and LAN Setup
Understanding Router Ports and Initial Setup
- The first step in configuring the router is to identify its physical ports, which can be Ethernet, Fast Ethernet, or Gigabit Ethernet. This specific router has three Gigabit Ethernet ports.
- A common use case for one of these ports is to set it up as a gateway for a Local Area Network (LAN). To create this network, a switch will be required.
Connecting Devices
- After selecting a switch from the network devices section, three computers are added to the setup for demonstration purposes.
- When connecting different types of devices (like computers and switches), it's essential to use direct cables. For this connection, a "copper straight-through" cable is chosen.
Establishing Connections
- The first computer connects via its only available Ethernet port to the first port on the switch using a direct cable. Successful connections are indicated by green lights on both devices.
- To complete the LAN setup, connect the switch to one of the router's ports designated as a gateway using another direct cable.
IP Address Configuration
- It's crucial to manage IP addresses effectively; each computer must have its own unique static IP address within the same subnet. For example, 192.168.50.x with a subnet mask of 24 is used here.
- The first computer is assigned an IP address of 192.168.50.10 with a gateway of 192.168.50.1; subsequent computers receive addresses ending in .11 and .12 respectively.
Router Interface Configuration
- Accessing the router's console through terminal commands allows configuration changes such as setting up interfaces and assigning IP addresses.
- The command
ip address 192.168.50.1assigns an IP address to the gateway interface followed by enabling it withno shutdown.
Verifying Connectivity
- Once configured correctly, connectivity between devices should be established; indicators change from red to green when successful connections are made.
- Using ping tests from any computer verifies communication across all devices in the LAN setup.
Final Checks and Information Retrieval
- After confirming that all devices communicate well with each other and with the gateway, further checks can be performed using commands like
show ip interfacefor detailed information about router interfaces.
Router Configuration Overview
Interface Status and Configuration
- The Gigabit Ethernet ports 0, 1, and 2 are disabled, limiting the information available about the router interfaces.
- A summary command
show ip interface briefis introduced to display a concise table of all interfaces, indicating their status (enabled/disabled) and assigned IP addresses.
Remote Access Setup
- Transitioning to terminal configuration allows remote access via Telnet; the command
line vtyis used to set up this access for three computers (from machine 0 to machine 2).
- A password (
pl) is configured for Telnet access, enabling verification from any of the three designated computers.
Connecting Remotely
- To connect remotely, users enter
telnetfollowed by the router's IP address (e.g.,192.168.1.50), receiving a welcome message and prompting for the configured password.
- After entering the correct password (
cisco), users can access privileged mode and perform configurations as if connected directly via console cable.
Saving Configurations
- To save configurations made so far, exit to privileged mode and use the command
copy running-config startup-config, transferring data from volatile RAM to non-volatile memory.
- Users confirm saving changes when prompted; an "OK" message indicates successful storage of configurations.
Verifying Configuration Persistence
- Simulating a power cycle involves turning off the router briefly; upon rebooting, default factory settings appear initially.