PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations



Similar documents
Lab Configure Basic AP Security through IOS CLI

Chapter 8 Lab B: Configuring a Remote Access VPN Server and Client

Objectives. Background. Required Resources. CCNA Security

Device Interface IP Address Subnet Mask Default Gateway

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Lab Configuring Syslog and NTP (Instructor Version)

CCNA Security. Chapter Two Securing Network Devices Cisco Learning Institute.

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

Skills Assessment Student Training Exam

Lab Configuring Access Policies and DMZ Settings

Lab 2.5.2a Configure SSH

Lab 8.3.3b Configuring a Remote Router Using SSH

Lab Diagramming External Traffic Flows

Configuring Devices for Use with Cisco Configuration Professional (CCP) 2.5

Packet Tracer 3 Lab VLSM 2 Solution

CCNA Security 1.1 Student Lab Manual

- The PIX OS Command-Line Interface -

Lab Developing ACLs to Implement Firewall Rule Sets

Lab Configure Syslog on AP

Applicazioni Telematiche

LAN-Cell to Cisco Tunneling

Lab 5.5 Configuring Logging

Lab Configuring Basic Router Settings with the Cisco IOS CLI

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Lab Organizing CCENT Objectives by OSI Layer

Lab Creating a Logical Network Diagram

Savvius Insight Initial Configuration

ENetwork Basic Configuration PT Practice SBA

Lab Configuring Access Policies and DMZ Settings

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Packet Tracer - Connecting a Wired and Wireless LAN Topology

Lab Configuring the PIX Firewall as a DHCP Server

Using Two-Factor Authentication Configuration to Combat Cybersecurity Threats

Lab: Basic Router Configuration

Configuration Professional: Site to Site IPsec VPN Between Two IOS Routers Configuration Example

Telnet, Console and AUX Port Passwords on Cisco Routers Configuration Example

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Mobility System Software Quick Start Guide

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

Lab Diagramming Intranet Traffic Flows

LAB Configuring NAT. Objective. Background/Preparation

ISE TACACS+ Configuration Guide for Cisco NX-OS Based Network Devices. Secure Access How-to User Series

Felix Rohrer. PT Activity 7.5.3: Troubleshooting Wireless WRT300N. Topology Diagram

Windows Server 2008 R2 Initial Configuration Tasks

Configuring a Leased Line

Lab Load Balancing Across Multiple Paths

Lab 4.4.8a Configure a Cisco GRE over IPSec Tunnel using SDM

Lab Review of Basic Router Configuration with RIP. Objective. Background / Preparation. General Configuration Tips

CCNA Discovery Working at a Small to Medium Business or ISP Student Packet Tracer Lab Manual

Lab Configuring DHCP with SDM and the Cisco IOS CLI

Classroom Management network FAQ and troubleshooting

Lab Advanced Telnet Operations

Lab 5.3.9b Managing Router Configuration Files Using TFTP

APNIC Members Training Course Security workshop. 2-4 July, Port Vila Vanuatu. In conjunction with PACNOG 4

Cisco ISE Command-Line Interface

Lab Configure Cisco IOS Firewall CBAC

Abstract. Avaya Solution & Interoperability Test Lab

Cisco Configuration Professional Workshop

Configure ISDN Backup and VPN Connection

Lab Configure Intrusion Prevention on the PIX Security Appliance

Lab Configuring PAT with SDM and Static NAT using Cisco IOS Commands

Lab Configuring LEAP/EAP using Local RADIUS Authentication

Chapter 1: Planning Maintenance for Complex Networks. TSHOOT v6 Chapter , Cisco Systems, Inc. All rights reserved.

3.1 Connecting to a Router and Basic Configuration

How to Configure Web Authentication on a ProCurve Switch

CCNA Discovery Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

Fundamentals of UNIX Lab Networking Commands (Estimated time: 45 min.)

Lab Configure IOS Firewall IDS

Lab Configure Remote Access Using Cisco Easy VPN

Prestige 314 Read Me First

Using LiveAction with Cisco Secure ACS (TACACS+ Server)

Tera Term Telnet. Introduction

- Basic Router Security -

BRI to PRI Connection Using Data Over Voice

How to Setup PPTP VPN Between a Windows PPTP Client and the DIR-130.

Lab - Configure a Windows 7 Firewall

Lab - Using IOS CLI with Switch MAC Address Tables

Lab a Configure Remote Access Using Cisco Easy VPN

Configuring a Router

How to configure MAC authentication on a ProCurve switch

Lab 8.4.3a Managing Cisco IOS Images with TFTP

Lab 3.5.1: Basic VLAN Configuration (Instructor Version)

Configuring the Cisco Secure PIX Firewall with a Single Intern

Configuring the PIX Firewall with PDM

Using the Advanced GUI

Cisco Configuring Secure Shell (SSH) on Cisco IOS Router

Lab Diagramming Traffic Flows to and from Remote Sites

How to Configure the Cisco UC500 for use with Integra Telecom SIP Solutions

Table of Contents. Configuring IP Access Lists

DRO-210i LOAD BALANCING ROUTER. Review Package Contents

Lab Load Balancing Across Multiple Paths Instructor Version 2500

Network Simulator Lab Study Plan

Using VDOMs to host two FortiOS instances on a single FortiGate unit

TotalCloud Phone System

School of Information Technology and Engineering (SITE) CEG 4395: Computer Network Management. Lab 4: Remote Monitoring (RMON) Operations

Prestige 650R-31/33 Read Me First

How to Configure an Initial Installation of the VMware ESXi Hypervisor

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications

Transcription:

PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations Instructor Version Topology Diagram Addressing Table Device Interface IP Address Subnet Mask Default Gateway Switch Port R1 FA0/1 192.168.1.1 255.255.255.0 N/A S1 FA0/5 S0/0/0 (DCE) 10.1.1.1 255.255.255.252 N/A N/A R2 S0/0/0 10.1.1.2 255.255.255.252 N/A N/A S0/0/1 (DCE) 10.2.2.2 255.255.255.252 N/A N/A R3 FA0/1 192.168.3.1 255.255.255.0 N/A S3 FA0/5 S0/0/1 10.2.2.1 255.255.255.252 N/A N/A PC-A NIC 192.168.1.5 255.255.255.0 192.168.1.1 S1 FA0/6 PC-B NIC 192.168.1.6 255.255.255.0 192.168.1.1 S2 FA0/18 PC-C NIC 192.168.3.5 255.255.255.0 192.168.3.1 S3 FA0/6 All contents are Copyright 1992 2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 5

Learning Objectives Configure routers as NTP clients. Configure routers to update the hardware clock using NTP. Configure routers to log messages to the syslog server. Configure routers to timestamp log messages. Configure local users. Configure VTY lines to accept SSH connections only. Configure RSA key pair on SSH server. Verify SSH connectivity from PC client and router client. Introduction The network topology shows three routers. You will configure NTP and Syslog on all routers. You will configure SSH on R3. Network Time Protocol (NTP) allows routers on the network to synchronize their time settings with an NTP server. A group of NTP clients that obtain time and date information from a single source have more consistent time settings and Syslog messages generated can be analyzed more easily. This can help when troubleshooting issues with network problems and attacks. When NTP is implemented in the network, it can be set up to synchronize to a private master clock, or to a publicly available NTP server on the Internet. The NTP Server is the master NTP server in this lab. You will configure the routers to allow the software clock to be synchronized by NTP to the time server. Also, you will configure the routers to periodically update the hardware clock with the time learned from NTP. Otherwise, the hardware clock will tend to gradually lose or gain time (drift) and the software clock and hardware clock may become out of synchronization with each other. The Syslog Server will provide message logging in this lab. You will configure the routers to identify the remote host (Syslog server) that will receive logging messages. You will need to configure timestamp service for logging on the routers. Displaying the correct time and date in Syslog messages is vital when using Syslog to monitor a network. If the correct time and date of a message is not known, it can be difficult to determine what network event caused the message. R2 is an ISP connected to two remote networks: R1 and R3. The local administrator at R3 can perform most router configurations and troubleshooting; however, since R3 is a managed router, the ISP needs access to R3 for occasional troubleshooting or updates. To provide this access in a secure manner, the administrators have agreed to use Secure Shell (SSH). You use the CLI to configure the router to be managed securely using SSH instead of Telnet. SSH is a network protocol that establishes a secure terminal emulation connection to a router or other networking device. SSH encrypts all information that passes over the network link and provides authentication of the remote computer. SSH is rapidly replacing Telnet as the remote login tool of choice for network professionals. The servers have been pre-configured for NTP and Syslog services respectively. NTP will not require authentication. The routers have been pre-configured with the following: Enable password: ciscoenpa55 Password for vty lines: ciscovtypa55 Static routing All contents are Copyright 1992 2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 5

Task 1: Configure routers as NTP Clients. Test Connectivity Ping from PC-C to R3. Ping from R2 to R3. Step 2. Telnet from PC-C to R3. Exit the Telnet session. Telnet from R2 to R3. Exit the Telnet session. Configure R1, R2 and R3 as NTP clients. R1(config)# ntp server 192.168.1.5 R2(config)# ntp server 192.168.1.5 R3(config)# ntp server 192.168.1.5 Verify client configuration using the command show ntp status. Step 3. Configure routers to update hardware clock. Configure R1, R2 and R3 to periodically update the hardware clock with the time learned from NTP. R1(config)# ntp update-calendar R2(config)# ntp update-calendar R3(config)# ntp update-calendar Verify that the hardware clock was updated using the command show clock. Step 4. Configure routers to timestamp log messages. Configure timestamp service for logging on the routers. Step 0. R1(config)# service timestamps log datetime msec R2(config)# service timestamps log datetime msec R3(config)# service timestamps log datetime msec Task 2: Configure routers to log messages to the Syslog Server. Configure the routers to identify the remote host (Syslog Server) that will receive logging messages. R1(config)# logging host 192.168.1.6 R2(config)# logging host 192.168.1.6 R3(config)# logging host 192.168.1.6 The router console will display a message that logging has started. Step 2. Verify logging configuration using the command show logging. Step 3. Examine logs of the Syslog server. Step 0. From the Config tab of the Syslog server s dialogue box, select the Syslog services button. Observe the logging messages received from the routers. Log messages can be generated on the server by executing commands on the router. For example, entering and exiting global configuration mode will generate an informational configuration message. All contents are Copyright 1992 2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 5

Task 3: Configure R3 to support SSH connections. Configure a domain name. Configure a domain name of ccnasecurity.com on R3. R3(config)# ip domain-name ccnasecurity.com Step 2. Configure users for login from the SSH client on R3. Create a user ID of SSHadmin with the highest possible privilege level and a secret password of R3(config)# username SSHadmin privilege 15 secret ciscosshpa55 Step 3. Configure the incoming VTY lines on R3. Use the local user accounts for mandatory login and validation. Accept only SSH connections. R3(config)# line vty 0 4 R3(config-line)# login local R3(config-line)# transport input ssh Step 4. Erase existing key pairs on R3. Any existing RSA key pairs should be erased on the router. R3(config)#crypto key zeroize rsa If no keys exist, you might receive this message: % No Signature RSA Keys found in configuration. Step 5. Generate the RSA encryption key pair for R3. The router uses the RSA key pair for authentication and encryption of transmitted SSH data. Configure the RSA keys with a modulus of 1024. The default is 512, and the range is from 360 to 2048. R3(config)# crypto key generate rsa [Enter] The name for the keys will be: R3.ccnasecurity.com Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes. How many bits in the modulus [512]:1024 % Generating 1024 bit RSA keys, keys will be non-exportable...[ok] The command to generate RSA encryption key pairs for R3 in Packet Tracer differs from those used in the lab. Step 6. Verify the SSH configuration. Use the show ip ssh command to see the current settings. Verify that the authentication timeout and retries are at their default values of 120 and 3. Step 7. Configure SSH timeouts and authentication parameters. The default SSH timeouts and authentication parameters can be altered to be more restrictive. Set the timeout to 90 seconds, the number of authentication retries to 2, and the version to 2. R3(config)# ip ssh time-out 90 R3(config)# ip ssh authentication-retries 2 R3(config)# ip ssh version 2 Issue the show ip ssh command again to confirm that the values have been changed. All contents are Copyright 1992 2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 5

Step 8. Attempt to connect to R3 via Telnet from PC-C. Open the Desktop of PC-C. Select the Command Prompt icon. From PC-C, enter the command to connect to R3 via Telnet. PC> telnet 192.168.3.1 This connection should fail, since R3 has been configured to accept only SSH connections on the virtual terminal lines. Step 9. Connect to R3 using SSH on PC-C. Open the Desktop of PC-C. Select the Command Prompt icon. From PC-C, enter the command to connect to R3 via SSH. When prompted for the password, enter the password configured for the administrator PC> ssh l SSHadmin 192.168.3.1 Step 10. Connect to R3 using SSH on R2. In order to troubleshoot and maintain the R3 router, the administrator at the ISP must use SSH to access the router CLI. From the CLI of R2, enter the command to connect to R3 via SSH version 2 using the SSHadmin user account. When prompted for the password, enter the password configured for the administrator: R2# ssh v 2 l SSHadmin 10.2.2.1 Step 11. Check results. Your completion percentage should be 100%. Click Check Results to see feedback and verification of which required components have been completed. All contents are Copyright 1992 2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 5