Module 1

Module Overview

Module Title: Basic Device Configuration

Course: Switching, Routing and Wireless Essentials v7.0 (SRWE)

Module Objectives

Objective: Equip students with the skills to configure network devices while implementing security best practices to ensure optimal operation.


Topics:

  • Configure a Switch with Initial Settings

  • Configure Switch Ports

  • Secure Remote Access

  • Basic Router Configuration

  • Verify Directly Connected Networks


1.1 Configure a Switch with Initial Settings

Switch Boot Sequence

Five-step Boot Process:
  1. Load POST (Power-On Self-Test) from ROM, checking hardware components - CPU, DRAM, and Flash file system.

  2. Load boot loader software stored in ROM to facilitate further operations.

  3. Perform low-level CPU initialization, setting configuration registers for proper CPU functionality.

  4. Initialize the Flash file system to prepare it for access to IOS.

  5. Locate and load the default IOS (Internetwork Operating System) software to enable the switch's operational capabilities.

Boot System Command

Functionality:

  • The switch attempts to boot using the specified BOOT environment variable; if it’s not found, it defaults to loading the first executable file available in flash memory.

  • Executes commands from the startup-config file located in flash memory (represented as config.text).

Example Commands:

  • boot system flash: – main command to initiate booting using the flash file system.

  • c2960-lanbasek9-mz.150-2.SE/ – path to the image stored on the storage device.

  • c2960-lanbasek9-mz.150-2.SE.bin – actual IOS filename necessary for switch operation.

Switch LED Indicators

LED Functions:

  • SYST: Indicates power state.

  • RPS: Shows Redundant Power Supply status, alerting if the PSU has failed or is inactive.

  • STAT: Reflects the operational status of the switch ports (green for active).

  • DUPLX: Displays the duplex mode (green indicates full-duplex operation).

  • SPEED: Indicates the current speed of the operating ports.

  • PoE: Displays the status of Power over Ethernet capabilities.

Recovering from a System Crash

  • Accessing bootloader via a console connection: In case of an OS failure, recovery can be performed by connecting a PC to the console port and following these steps:

    • Disconnect the power supply and reconnect it while simultaneously pressing the Mode button.

    • This allows access to the boot loader which can be used for recovery processes, such as reloading the IOS or restoring previous configuration settings.

Switch Management Access

IP Configuration: Assign an IP address, subnet mask, and default gateway to facilitate remote management access. This is primarily done through the Switch Virtual Interface (SVI).

SVI Configuration Example


Configure Management Interface:Commands to set up IPv4 and optionally IPv6 addresses:

interface vlan 99  
ip address 172.17.99.11 255.255.255.0  
no shutdown  


Configure Default Gateway:ip default-gateway 172.17.99.1


Verify Configuration:Commands to check the status and correctness of interface settings, e.g. show ip interface brief to list all interfaces and their states.


1.2 Configure Switch Ports

Duplex Communication

  • Full-Duplex: Allows simultaneous data transmission in both directions, significantly improving network efficiency and throughput.

  • Half-Duplex: Permits only one-directional data flow at a time, which can lead to performance issues due to potential collisions and retransmission requirements.

Configuring at the Physical Layer


  • Manual Configuration of Duplex and Speed Settings:Cisco switches typically default to auto mode for speed and duplex settings. However, manual adjustments can enhance troubleshooting efforts during connectivity issues.

  • Auto-MDIX: Automatically recognizes the cable type (straight-through or crossover) and is enabled by default in newer switch models, which simplifies connections.

Switch Verification Commands

Key Commands:

  • show interfaces [interface-id] – Displays status and configuration details for the specified interface.

  • show mac-address-table – Provides a view of the MAC address table, crucial for troubleshooting connectivity issues by establishing which devices are connected where.

Verify Switch Port Configuration: Utilize show running-config to affirm VLAN and IP settings are correct and operational.


1.3 Secure Remote Access

Telnet Operation

  • Port 23: It utilizes unsecured plaintext communication, making all traffic vulnerable to interception, and is generally deemed insecure for remote administration.

SSH Operation

  • Port 22: Enables encrypted communication, safeguarding data during transmission. SSH is strongly recommended over Telnet due to its enhanced security features.

Configure SSH


Requirements:Ensure you are using a version of IOS that supports encryption features.

  • Set up a unique hostname and required network settings.

Configuration Steps:

  1. Configure IP domain: ip domain-name domain-name

  2. Generate RSA keys: crypto key generate rsa

  3. Set the VTY lines for SSH access: transport input ssh


1.4 Basic Router Configuration

Basic Configuration Steps

  • Involves similar steps as switch configurations, necessitating device naming and password configuration to secure administrative access.

Router Interface Configuration

  • Assign IP addresses to router interfaces and activate them using the no shutdown command. Effective router management is crucial for proper traffic forwarding.

Loopback Interfaces

  • Logical Interfaces: Beneficial for testing and management tasks, typically configured as interface loopback x, where x can be any number to identify the logical interface conveniently.


1.5 Verify Directly Connected Networks

Interface Verification Commands

Key Commands:

  • show ip interface brief – This command displays the statuses of all interfaces on the device, allowing administrators to quickly ascertain which interfaces are up or down.

  • show running-config interface interface-id – Provides detailed configuration data for a specific interface to verify settings.

  • show ip route – Displays routing entries to verify to ensure proper routing protocols and routes are functional.


1.6 Module Practice and Quiz

Recap of Key Learning Objectives

  • Understanding the boot sequence and configuration initialization processes essential for network device management.

  • Implementing secure communication protocols, specifically SSH over vulnerable Telnet options.

  • Familiarizing with essential configuration validation commands necessary for both routers and switches.

New Terms and Commands

  • Introduced important commands related to configurations and troubleshooting in networking, such as boot system flash, auto-mdix, ip ssh version 2, among others, all pivotal for effective device management and security in networking operations.