CLI modes Accessing the configuration Basic configuration (hostname and DNS) Authentication and authorization (AAA) Log collection Time Synchronization.

Slides:



Advertisements
Similar presentations
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
1 Passwords and Banners Cisco Devices Packet Tracer.
1 CCNA 2 v3.1 Module 3. 2 CCNA 2 Module 3 Configuring a Router.
Introduction to the Cisco IOS
Chapter 9 Managing a Cisco Internetwork Cisco Router Components Bootstrap - Brings up the router during initialization POST - Checks basic functionality;
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir CCNP-SWITCHING Mohamed Samir YouTube channel Double.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—7-1 Minimizing Service Loss and Data Theft Securing Network Services.
Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Initial Switch Configuration Internetworking Fundamentals Instructor: Abdirahman I. Abdi.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Configuring Network Devices Working at a Small-to-Medium Business or ISP – Chapter.
Sybex CCNA Chapter 7: Managing a Cisco Internetwork Instructor & Todd Lammle.
1 © 2002, Cisco Systems, Inc. All rights reserved. Router boot procedure.
Introduction to OSPF Campus Networking Workshop These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license.
Routers A router is a computer Computers have four basic components:
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
Basic Router Configuration Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 9: Managing a Cisco Internetwork.
NMS Labs Mikko Suomi LAB1 Choose SNMP device managment software Features: –Gives Nice overview of network –Bandwith monitoring –Multible.
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
Configuring a network os
2010 Cisco Configuration Elements APRICOT 2010 Kuala Lumpur, Malaysia.
CLI modes Accessing the configuration Basic configuration (hostname and DNS) Authentication and authorization (AAA) Log collection Time Synchronization.
© 2007 – 2010, Cisco Systems, Inc. All rights reserved. Cisco Public TSHOOT v6 Chapter 1 1 Chapter 1: Planning Maintenance for Complex Networks CCNP TSHOOT:
© Wiley Inc All Rights Reserved. CHAPTER 4: Introduction to the Cisco IOS CCNA: Cisco Certified Network Associate Study Guide.
Instructor & Todd Lammle
Instructor & Todd Lammle
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 1 – Chapter 9 Ethernet Switch Configuration 1.
Discovery 2 Internetworking Module 5 JEOPARDY John Celum.
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008 Cisco configuration elelements.
Cisco Configuration Elements Network Monitoring and Management Tutorial.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
User Access to Router Securing Access.
Release 16/07/2009Jetking Infotrain Ltd. Basic Router Configuration Chapter 5.
Module 3 Configuring a Router.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Sybex CCNA Chapter 6: Cisco’s IOS Instructor & Todd Lammle.
Chapter 5 Managing a Cisco Internetwork
Configuring AAA requires four basic steps: 1.Enable AAA (new-model). 2.Configure security server network parameters. 3.Define one or more method lists.
Routers and Routing Basics CCNA 2 Chapter 3 1.
Will learn to use router modes and configuration methods to update a router's configuration file with current and prior versions of Cisco Internetwork.
Carlos Armas Roundtrip Networks Hervey Allen NSRC.
Routers 1st semester
Configuration Modes and TFTP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Lesson 3a © 2005 Cisco Systems, Inc. All rights reserved. CSPFA v4.0—19-1 System Management and Maintenance.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Understanding Cisco Router Security.
Chapter 2: Configure a Network Operating System
Cisco S2 C6 Router Configuration 1. Router Boot Up Router uses following from config-startup when it boots –Cisco IOS software version –Router identification.
 Router Configurations part1 2 nd semester
Configuring a Router Module 3 Semester 2. Router Configuration Tasks Name a router Set passwords Examine show commands Configure a serial interface Configure.
Routers and Router Configuration 2 nd semester
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Chapter 6.  Upon completion of this chapter, you should be able to:  Configure switches  Configure VLANs  Verify configuration settings  Troubleshoot.
Cisco LAN Switches.
Introduction to networking (Yarnfield) Configure a router.
CISCO CONFIGURATION ELEMENTS 1. Overview Basic things that we need to make sure are configured on a Cisco router (and switch) to do proper network management.
Cisco configuration elelements
CCNA Routing and Switching Routing and Switching Essentials v6.0
Instructor & Todd Lammle
Cisco Switching Basics
Chapter 10: Device Discovery, Management, and Maintenance
Cisco configuration elements
CCNA Routing and Switching Routing and Switching Essentials v6.0
Chapter 10: Device Discovery, Management, and Maintenance
Understanding Cisco Router Security
Configuring a Router Module 3 Semester 2.
Presentation transcript:

CLI modes Accessing the configuration Basic configuration (hostname and DNS) Authentication and authorization (AAA) Log collection Time Synchronization (date/timezone) SNMP configuration Cisco Discovery Protocol (CDP)

 User EXEC ◦ Limited access to the router ◦ Can show some information but cannot view nor change configuration rtr>  Privileged EXEC ◦ Full view of the router’s status, troubleshooting, manipulate config, etc. rtr> enable rtr# CLI Modes

 Before setting up SSH ◦ telnet x.254 ◦ login “cisco” and “cisco” (user and password)  Privileged user can go to privileged mode: ◦ rtr>enable(default password is “cisco”) ◦ rtr#configure terminal ◦ rtr(config)#  Type in configuration commands  Exit and save the new configuration ◦ rtr(config)#exit ◦ rtr#write memory Accessing the router

 There are two configurations: ◦ Running config is the actual configuration that is active on the router  Stored in RAM (will be gone if router is rebooted) rtr# configure terminal(conf t) rtr(config)#end rtr# show running-config ◦ Startup config  Stored in NVRAM (Non-Volatile RAM) rtr# copy running-config startup-config (or) rtr# write memory(wr mem) rtr# show startup-config(sh start) Accessing the configuration

Basic configuration (hostname and DNS) Assign a name rtr(config)# hostname rtrX Assign a domain rtr(config)# ip domain-name ws.nsrc.org Assign a DNS server rtr(config)# ip name-server Or, disable DNS resolution rtr(config)# no ip domain-lookup if no dns this is very useful to avoid long waits

 Configure passwords in the most secure manner. ◦ Use the improved method which uses hash function  Example: #enable secret 5 wer56$21 #user admin secret 5 sdf!231

 Use SSH, disable telnet (only use telnet if no other option) rtr(config)#line vty 0 4 rtr(config)#transport input ssh  Configuring with a 2048 byte key: rtr(config)#aaa new-model rtr(config)#crypto key generate rsa (you will be prompted for the key size)  Verify key creation: rtr#show crypto key mypubkey rsa  Restrict to only use SSH version 2. Optionally register events: rtr(config)#ip ssh logging events rtr(config)#ip ssh version 2

 Send logs to the syslog server: #logging x.x  Identify what channel will be used (local0 to local7): # logging facility local5  Up to what priority level do you wish to record? #logging trap Logging severity level emergencies System is unusable (severity=0) alerts Immediate action needed (severity=1) critical Critical conditions (severity=2) errors Error conditions (severity=3) warnings Warning conditions (severity=4) notifications Normal but significant conditions (severity=5) informational Informational messages (severity=6) debugging Debugging messages (severity=7)

It is essential that all devices in our network are time-synchronized In config mode: # ntp server pool.ntp.org # clock timezone To use UTC time # no clock timezone If your site observes daylight savings time you can do: # clock summer-time recurring last Sun Mar 2:00 last Sun Oct 3:00 Verify # show clock 22:30: UTC Tue Feb # show ntp status Clock is synchronized, stratum 3, reference is nominal freq is Hz, actual freq is Hz, precision is 2**18 reference time is D002CE85.D35E87B9 (11:21: CMT Tue Aug ) clock offset is msec, root delay is msec root dispersion is msec, peer dispersion is 2.20 msec

 Start with SNMP version 2 ◦ It’s easier to configure and understand ◦ Example: rtr(config)#snmp-server community public ro 99 r10(config)#access-list 99 permit r10(config)#access-list 99 permit SNMP Configuration

 From a Linux machine (once snmp utils are installed), try: snmpwalk –v2c –c public x254 sysDescr Checking SNMP configuration

Enabled by default in most modern routers If it’s not enabled: cdp enable cdp run in older CISCO IOS versions To see existing neighbors: show cdp neighbors Tools to visualize/view CDP announcements: tcpdump cdpr Wireshark

HP Switches

 Using telnet or ssh (telnet by default)  By default, no user, only a password:  Password: ******  SW1#  Menu mode: not all options available!  Shell mode: similar to Cisco IOS shell  i.e.: spanning-tree not enabled by default, and cannot be enabled via the menu:  SW1# conf t  SW1(config)# spanning-tree Accessing

 Like Cisco, but specify FQDN: ◦ SW1# conf t ◦ SW1 (config)# hostname sw1.ws.nsrc.org ◦ SW1 (config)# ^Z ◦ SW1# Hostname

 HP layer 2 switches don't support DNS resolution DNS

◦ SW1# conf t ◦ SW1 (config)# sntp server ◦ SW1 (config)# sntp server unicast ◦ SW1 (config)# ^Z ◦ SW1# NTP

◦ SW1 (config)# crypto key generate ssh Installing new RSA key. If the key/ entropy cache is depleted, this could take up to a minute. ◦ SW1 (config)# ip ssh ◦ SW1 (config)# no telnet-server ◦ SW1 (config)# ^Z ◦ SW1# write mem ◦ SW1#  SSH is now enabled – by default the user you log in as is ignored, only the password matters. TELNET IS DISABLED!

◦ SW1 (config)# logging x.x ◦ SW1 (config)# logging facility local5 ◦ SW1 (config)# ^Z ◦ SW1# write mem Syslog

◦ SW1 (config)# snmp-server community public ◦ SW1 (config)# ^Z ◦ SW1# write mem  By default, community is RO (read only) snmp

 HP equipmentt supports both Cisco's discovery protocol (CDP) as well as the open standard 802.1ab (LLDP – Link Layer Discovery Protocol)  By default, CDP is enabled ◦ SW1 (config)# cdp run ◦ SW1 (config)# cdp enable 1-24 ◦ SW1 (config)# ^Z ◦ SW1# write mem CDP and LLDP/802.1ab

? Questions