- Advanced IOS Functions -



Similar documents
3.1 Connecting to a Router and Basic Configuration

Basic Configuration of the Cisco Series Internet Router

Objectives Understand Cisco IOS system architecture components. Work with the Cisco IOS Command Line Interface (CLI) and common commands.

Lab Advanced Telnet Operations

Cisco Router Configuration Basics. Scalable Infrastructure Workshop

Cisco Router Configuration Tutorial

Connecting to the Firewall Services Module and Managing the Configuration

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

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

- Basic Router Security -

Configuring a Cisco 2509-RJ Terminal Router

CCNA 2 Chapter 5. Managing Cisco IOS Software

Lab 8.4.3a Managing Cisco IOS Images with TFTP

Using Cisco IOS Software

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

Basic Software Configuration Using the Cisco IOS Command-Line Interface

Angelos Stavrou. OF COURSE there is no Magic so lets see show things work in practice...

Router Lab Reference Guide


Configuring Basic Settings

Basic Router and Switch Instructions (Cisco Devices)

Password Recovery Procedure for the Cisco 806, 826, 827, 828, 831, 836, 837 and 881 Series Routers

Password Recovery Procedure for the Cisco 3600 and 3800 Series Routers

ROM Monitor. Entering the ROM Monitor APPENDIX

Backing Up and Restoring Data

Flow-Based per Port-Channel Load Balancing

How to Configure Cisco 2600 Routers

Configuring NetFlow Switching

DNS Commands ip dns spoofing

Configuring the Content Routing Software

Send document comments to

DHCP Server Port-Based Address Allocation

USB Disable for Cisco ISRs Feature Module

Lab Creating a Network Map using CDP Instructor Version 2500

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

Applicazioni Telematiche

Lab 5.3.9b Managing Router Configuration Files Using TFTP

Router Recovery with ROM Monitor

File Transfers. Contents

Configuring DHCP. DHCP Server Overview

Layer 3 Redundancy with HSRP By Sunset Learning Instructor Andrew Stibbards

Lab Creating a Logical Network Diagram

How To Install Cisco Asr 9000 Series Router Software On A Mini Mini Mini (Cisco Ios) Router

Router Security Audit Logs

File Transfers. Contents

GLBP - Gateway Load Balancing Protocol

HOW TO CONFIGURE CISCO FIREWALL PART I

Lab Load Balancing Across Multiple Paths

Password Recovery Procedure for the Cisco Catalyst 2948G L3, 4840G, and 4908G L3 Switch Routers

Configuring Basic Settings

You can specify IPv4 and IPv6 addresses while performing various tasks in this feature. The resource

Configuring a Load-Balancing Scheme

Image Verification. Finding Feature Information. Restrictions for Image Verification

Installing and Configuring External Flash Memory Cards in Cisco 3600 Series Routers

How Do I Upgrade Firmware and Save Configurations on PowerConnect Switches?

NetFlow Subinterface Support

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

Lab 8.4.3b Managing Cisco IOS images with ROMMON and TFTP

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

Transferring Files Using HTTP or HTTPS

Lab - Observing DNS Resolution

Encrypted Preshared Key

Encrypted Preshared Key

Administering the Network Analysis Module. Cisco IOS Software. Logging In to the NAM with Cisco IOS Software CHAPTER

Password Recovery Procedure for the Cisco 2900 Series Integrated Services Router

Lab: Basic Router Configuration

Lab Introductory Lab 1 - Getting Started and Building Start.txt

Comware versus Cisco IOS Command Guide

Chapter 6 Updating Software Images and Configuration Files

Configuring a Load-Balancing Scheme

Lab Configuring Basic Router Settings with the Cisco IOS CLI

Configuring the Switch with the CLI-Based Setup Program

IPv6 for Cisco IOS Software, File 2 of 3: Configuring

Managing Software and Configurations

Cisco Configuration Professional Quick Start Guide

PIX/ASA: Upgrade a Software Image using ASDM or CLI Configuration Example

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

Introduction to Cisco router configuration

Enabling NetFlow and NetFlow Data Export (NDE) on Cisco Catalyst Switches

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

Lab Introductory Lab 1 Getting Started and Building Start.txt

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

Configuring System Message Logging

Lab 3 Routing Information Protocol (RIPv1) on a Cisco Router Network

Managing ACE Software Licenses

Skills Assessment Student Training Exam

Configuring Port Security

Supported Platforms. Supported Standards, MIBs, and RFCs. Prerequisites. Related Features and Technologies. Related Documents. Improved Server Access

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

The Purpose and Use of the Configuration Register on All Cisco Routers

Configuring a Router

IP Application Services Commands show vrrp. This command was introduced. If no group is specified, the status for all groups is displayed.

Configuring NTP. Information about NTP. NTP Overview. Send document comments to CHAPTER

Brocade to Cisco Comparisons

Controlling Access to a Virtual Terminal Line

Table of Contents. Cisco How to Download a Software Image to a Cisco 2600 through TFTP Using the tftpdnld ROMmon Command

Lab Configuring OSPF with Loopback Addresses

Upgrading Software Using the Online Installer

Backup and Recovery Procedures

Transcription:

1 The Configuration Register - Advanced IOS Functions - The configuration register (config-register) is a hexadecimal value that controls various aspects of how a router boots, including: Baud Rate Boot Messages (enable/disable) Break (disable/ignore) Flash (read-only, read-write) NVRAM (use startup-config/bypass startup-config) The default config-register is 0x2102. To view your router s current configregister setting: Router# show version <snip> 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read ONLY) Configuration register is 0x2102 Common config-register settings include: Value Baud Rate Boots Into? Flash Startup-Config 0x2101 9600 IOS from ROM Read/Write Uses 0x2102 9600 IOS from Flash Read/Only Uses 0x2142 9600 IOS from Flash Read/Only Bypass Remember, 0x2102 is the default config-register value on Cisco routers. In order to upgrade the Cisco IOS, the config-register must be changed to 0x2101, so that the Flash memory becomes writeable. To change the config-register from the IOS: Router(config)# config-register 0x2142 This configuration change does not take affect until the next reboot. (Reference: http://www.cisco.com/en/us/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml)

2 Backing up and Restoring the Cisco IOS The Cisco IOS is stored in flash. Multiple IOS files can be loaded into flash, assuming there is enough free space. You can view available free space, and the name of any file(s) in flash, by typing: Router# show flash System flash directory: File Length Name/status 1 4467254 c2500-ik9s-mz.122-4 [4467254 bytes used, 12309962 available, 16777216 total] 16384K bytes of processor board System flash (Read/Write) To backup the IOS, a TFTP server is required. The TFTP server must have IP connectivity to the router. To backup the IOS file from the router s flash to the TFTP server: Router# copy flash tftp You will be prompted for the following information: Address of remote host (the TFTP server) Source file name (the name of the file in flash) Destination file name To load an IOS file from a TFTP server to the router s flash: Router# copy tftp flash The process is nearly identical to copy a startup-configuration file to or from a router s NVRAM: Router# copy startup tftp Router# copy tftp startup

3 CDP (Cisco Discovery Protocol) CDP is a Cisco propriety protocol used to collect information about locally attached Cisco switches and routers. CDP is enabled by default on all IOS enabled routers and switches, and sends out updates every 60 seconds. CDP will provide the following information about directly connected neighbors: Device ID hostname of remote router/switch Local Interface interface that remote router/switch is directly connected to Holdtime amount of time before remote device information is purged from CDP table Capability Type of remote device (router, switch, host) Platform Model of remote device To view CDP timers and hold-down information: Router# show cdp To display neighbor information: Router# show cdp neighbors To display traffic statistics: Router# sh cdp traffic To display port and interface information: Router# sh cdp interface To disable CDP on an interface: To globally disable CDP: Router(config-if)# no cdp enable Router(config)# no cdp run

4 Resolving Hostnames on Cisco IOS Devices There are two ways to resolve hostnames on Cisco devices: Building a host table on each router Pointing each router to a centralized DNS server To manually build a host table on a router: To view your host table: Router(config)# ip host Router1 172.16.1.1 Router(config)# ip host Router2 172.17.1.2 Router# show hosts To disable DNS lookups: Router(config)# no ip domain-lookup To point your router to a DNS server: Router(config)# ip name-server IPADDRESS To add a domain name to your router: Router(config)# ip domain-name CISCO.COM Telnet It is possible to telnet from a router into a remote device, using either the hostname or IP address of the remote device: To exit a telnet session: Router# telnet Router2 Router# telnet 172.17.1.2 Router2# exit To return to the router you telnetted from, without exiting the session: Hold CTRL+SHIFT+6 and then release Type the character x To view all open telnet sessions: Router# show sessions

5 Privilege Levels IOS devices have a total of 16 privilege levels, numbered 0 through 15. User Exec mode is privilege level 1. Privileged Exec mode is privilege level 15. We can create a custom Privilege level, including the commands users are allowed to input at that mode: Router(config)# privilege exec all level 3 show interface Router(config)# privilege exec all level 3 show ip route Router(config)# privilege exec all level 3 show reload To then enter that privilege level from User Mode: Router> enable 3 Observing Performance Statistics on Cisco Routers To view the processor load on a Cisco Router: Router# show processes cpu