Configuring for the First Time

Similar documents
Command-Line Interface (CLI) Basics

Cisco IOS Software Basic Skills

Initial Configuration on ML-Series Card

Initial Configuration

CCNA 1 Chapter 2 v5.0 Exam Answers 2013

CCNA 1 Chapter 2 v5.0 Exam Answers %

Using Cisco IOS Software

First-Time Configuration

Cisco 4000 Series Virtual Configuration Register

MiPDF.COM. 3. Which procedure is used to access a Cisco 2960 switch when performing an initial configuration in a secure environment?

Powering On the Cisco VG224 Voice Gateway

Upgrading the Software

Using the Command-Line Interface

Command-Line Interfaces

King Fahd University of Petroleum & Minerals. Configuration of Routers and Establishing Routed Networks

Maintaining the MGX RPM-PR

Lab 1. CLI Navigation. Scenario. Initial Configuration for R1

IOS and Configuration Basics

Command-Line Interfaces

No Service Password-Recovery

LAB 3 Basic Switch Configuration Commands

Using Cisco IOS XE Software

Configurations for the Layer 3 Switch Router

Lab 7 Configuring Basic Router Settings with IOS CLI

Using the Command-Line Interface

ord Recovery Procedure for the Cisco Catalyst 8510 Multiserv

2.1. Device Connection

Password Recovery Procedure for the Cisco 3600 and 3800 Series Routers

Configuring the Switch with the CLI-Based Setup Program

Using Cisco IOS Software

Troubleshooting Initial Startup Problems

Using the Command-Line Interface

Using the setup Command Facility

Packet Tracer - Configuring Initial Switch Settings

VLAN Range. Feature Overview

Configuring the Switch with the CLI-Based Setup Program

Password Recovery Procedure for the Cisco 1700 and 1800 Series Routers

Assigning the Switch IP Address and Default Gateway

Chapter 5 Router and IOS Basics

Using the Command-Line Interface

ROM Monitor. Using ROM Monitor APPENDIX

Initial Configuration for the Switch

Cisco 7500 Series Line Card Configuration Commands

Lab Using the Boot System Command. Objective. Background/Preparation

Using the Command-Line Interface

Cisco NCS 4216 Initial Configuration

AutoQoS. Prerequisites for AutoQoS CHAPTER

Antonio Cianfrani. Packet Tracer

II+/II+TS/II+10GE/III/IV/V/V 10GE

Controlling Switch Access with Passwords and Privilege Levels

Configuring the Eight-Port FXS RJ-21 Module

Configuring the Cisco ubr904 Cable Modem

Finding Support Information for Platforms and Cisco IOS Software Images

co Password Recovery Procedure for the Cisco 1700 Series R

Lab - Building a Switch and Router Network

Lab Using the CLI to Gather Network Device Information Topology

Configuring Passwords and Privileges

Password Recovery Procedure for the Cisco 801, 802, 803, 804, 805, 811, and 813 Series Routers

Lab Student Lab Orientation

Table of Contents. Cisco Password Recovery Procedure for the Cisco 2000, 2500, 3000, 4000, AccessPro, 7000 (RP), AGS, IGS, STS

Controlling Switch Access with Passwords and Privilege Levels

Password Recovery Procedure for the Cisco 1900 Series Integrated Services Routers

VLAN Range. Feature Overview

config mode: Router> enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z.

Hochschule Bremen Networking Lab

Getting Started. Getting Started with Your Platform Model. Factory Default Configurations CHAPTER

Configuring the Switch with the CLI Setup Program

Lab - Configuring a Switch Management Address

Configuration File Management Commands

SEMESTER 2 Chapter 1 Planning and Cabling a Network V 4.0

Lab Powering Up a Switch

RPR+ on Cisco 7500 Series Routers

Configuring InterVLAN Routing

Chapter 11. Configuring and Testing Your Network

Lab Command Line Fundamentals Instructor Version 2500

Command Reference for Voice VLAN

Cisco IAD2430 Series Integrated Access Devices Software Configuration Guide

Configuring Interfaces

Configuring Cisco IOS CNS Agents

Lab Catalyst 2950T and 3550 Series Basic Setup

Lab Router Configuration Using Setup Instructor Version 2500

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

Lab Troubleshooting IP Address Issues Instructor Version 2500

CCNA 1 Final Exam Answers UPDATE 2012 eg.2

CCNA 1 Chapter 11 V4.0 Answers

CCNA Explorer 1 Chapter 11 Configuring & Testing Your Network

Configuring Interfaces

Configuring a Basic Wireless LAN Connection

Checklists for Configuring the Gateway

CHAPTER 2 ACTIVITY

Using the Command-Line Interface

Cisco IOS Configuration Fundamentals Using Configuration Tools

Backup a copy of a router IOS from flash to a TFTP server. Reload the backup IOS software image from a TFTP server into flash on a router.

Cisco Smart Install CLI Commands

Basic IOS Command Structure. Router#disable Router>

This feature was introduced.

Using Cisco Unity Express Software

Using the Cisco NCS Command-Line Interface

Version 4.1. Configuring Network Devices

Maintaining the Cisco 7202 Router

Transcription:

CHAPTER 2 This section describes the initial steps of configuring the Catalyst 4224 and outlines the features of the Cisco IOS command line interface (CLI). Use this tool when you configure Catalyst 4224 interfaces. This section contains the following topics: First-Time Configuration, page 2-1 Using the Cisco IOS CLI, page 2-5 First-Time Configuration This section contains the following topics: Booting the Catalyst 4224, page 2-1 Downloading an Image to Boot Flash Memory, page 2-2 Configuring the Management Port, page 2-3 Interface Numbering, page 2-4 2-1

First-Time Configuration Chapter 2 Booting the Catalyst 4224 The factory configures the Catalyst 4224 to automatically load a Cisco IOS image. The software configuration register in the Catalyst 4224 determines where to find the image. The factory sets this register to load the Cisco IOS image into boot flash memory from configuration register 0x0101. This register enables autoboot at register 0x0103. Table 2-1 shows the Catalyst 4224 default configuration. Table 2-1 Catalyst 4224 Default Configuration Feature Host name Interface configuration VLAN configuration Password encryption Break to console Default Value Router None None Disabled Ignore After booting the Catalyst 4224 for the first time, you can configure the interfaces and then save the configuration to a file in NVRAM. Downloading an Image to Boot Flash Memory Note Before you can download an image, you must first configure the management port. See Configuring the Management Port section on page 2-3. If you have already configured the Catalyst 4224, you can download a run-time image from a TFTP server on the network. TFTP downloads can take place over the Ethernet management port. To download an image to boot flash memory, use privileged mode to enter the following command: copy tftp: [/directory] /filename [/directory] /filename 2-2

Chapter 2 First-Time Configuration Connecting a Terminal Connecting a Modem To connect a terminal to the console port using the cable and adapters provided with the Catalyst 4224, connect to the port using the RJ-45-to-RJ-45 cable and RJ-45-to-DB-25 DTE adapter or RJ-45-to-DB-9 DTE adapter (labeled Terminal). Check the documentation that came with your terminal to determine the baud rate. The baud rate of the terminal must match the default baud rate (9600 baud) of the console port. Set up the terminal as follows: 9600 baud Eight data bits No parity Two stop bits No flow control Connect the modem to the port using the RJ-45-to-RJ-45 cable and the RJ-45-to-DB-25 DCE adapter (labeled Modem). Configuring the Management Port You can manage the Catalyst 4224 through the 10/100 management port by assigning it an IP address. Caution By default, the Fast Ethernet interface does not route data traffic. Cisco recommends that you do not override this default configuration. If the Ethernet 10/100 management port is up and an IP address has been configured, the Catalyst 4224 selects the IP address assigned to the 10/100 Ethernet management port. 2-3

First-Time Configuration Chapter 2 If the selected network management IP address is removed or the interface or subinterface associated with this IP address is shut down, the Catalyst 4224 selects another IP address as a replacement. If all the interfaces are down or no IP address has been assigned to any interface or subinterface that is running, the IP address for network management is 0.0.0.0. Interface Numbering The Catalyst 4224 has three slots in which you can install interface cards: Slot 1 supports voice interface cards (VICs), WAN interface cards (WICs), and voice and WAN interface cards (VWICs). Slot 2 supports VICs, WICs, and VWICs. Slot 3 supports VICs and VWICs but does not support WICs. Slot 4 supports an eight-port FXS RJ21 Module. Slot 5 supports 10/100 Ethernet switching ports. Each individual interface is identified by a slot number and a port number. The slots are numbered as follows: Slot 0 supports the following interfaces embedded in the mainboard: Console port (con 0) Ethernet Management port (Fast Ethernet 0/0) Slot 1 ports are numbered from right to left (1/1 and 1/0). Note On the WIC-2A/S, the top slot is 1 and the bottom slot is 0. Slot 2 ports are numbered from right to left (2/1 and 2/0). Slot 3 ports are numbered from right to left (3/0 and 3/1). When you configure an interface, identify the interface name before the slot and port numbers. For example, if you install a serial T1 VWIC interface in Slot 2, port 0 would be labeled as serial 2/0. Figure 2-1 shows the Catalyst 4224 front panel. 2-4

Chapter 2 Using the Cisco IOS CLI Figure 2-1 Catalyst 4224 Front Panel 10/100 Ethernet (slot 5) CATALYST 4224 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 CONSOLE 0 4 1 5 2 6 3 7 VWIC 1 VWIC 2 VIC 3 WS-U4604-8FXS HDA STATUS ACCESS GATEWAY SWITCH STATUS PS RPS 55803 Status LED Switch utilization VWIC (slots 1 and 2) VIC (slot 3) 10/100 Mgt port 8-Port RJ21 FXS (slot 4) Using the Cisco IOS CLI Cisco voice gateways run versions of Cisco IOS software that includes specialized adaptations for Voice over IP (VoIP) and Media Gateway Control Protocol (MGCP). If you are familiar with other versions of Cisco IOS, you will find configuring Cisco voice gateways straightforward because you will use the Cisco IOS CLI, with which you are familiar. If you have never used the Cisco IOS CLI, you should still be able to perform the configuration required using the instructions and examples provided in this guide. To help get you started, this section provides a brief overview of some of the main features of the CLI. For further information, refer to the Cisco IOS configuration guides and command references for details about specific commands. This section contains the following topics: Getting Help, page 2-6 Command Modes, page 2-6 Disabling a Command or Feature, page 2-8 Saving Configuration Changes, page 2-8 2-5

Using the Cisco IOS CLI Chapter 2 Getting Help Use the question mark (?) and arrow keys to help you enter commands, as follows: For a list of available commands, enter a question mark, for example: Gateway>? To complete a command, enter a few known characters followed by a question mark (with no space), for example: Gateway> s? For a list of command variables, enter the command followed by a space and a question mark, for example: Gateway> show? To redisplay a command you previously entered, press the Up Arrow key. You can continue to press the Up Arrow key for more commands. Command Modes The Cisco IOS interface is divided into different modes. Each command mode permits you to configure different components on your gateway. The commands available at any given time depend on which mode you are currently using. Entering a question mark (?) at the prompt displays a list of commands available for each command mode. Table 2-2 lists the most common command modes. Table 2-2 Common Command Modes Gateway Prompt Command Mode Access Method Displayed User EXEC Log in. hostname> Exit Method Use the logout command. router> Privileged EXEC From user EXEC mode, enter the enable command. hostname# router# To exit to user EXEC mode, use the disable, exit, or logout command. 2-6

Chapter 2 Using the Cisco IOS CLI Table 2-2 Common Command Modes (continued) Command Mode Access Method Gateway Prompt Displayed Exit Method Global configuration From the privileged EXEC mode, enter the configure terminal command. hostname (config)# router (config)# To exit to privileged EXEC mode, use the exit or end command, or press Ctrl-Z. Interface configuration From the global configuration mode, enter the interface type number command, such as FastEthernet int 0/0. hostname (config-if)# router (config-if)# To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, press Ctrl-Z. Dial-peer configuration From the global configuration mode, enter the dial-peer voice command, such as dial-peer voice 1 pots/voip. hostname(configdial-peer) router (config-dial-peer)# To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, press Ctrl-Z. Timesaver Each command mode restricts you to a subset of commands. If you are having trouble entering a command, check the prompt and enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using the wrong syntax. 2-7

Using the Cisco IOS CLI Chapter 2 In the following example, which uses the default prompt (router>), notice how the prompt changes after each command to indicate a new command mode: router> enable Password: <enable password> router# configure terminal router(config-if)# line 0 router(config-line)# controller t1 1/0 router(config-controller)# exit router(config)# exit router# %SYS-5-CONFIG_I: Configured from console by console The last message is normal and does not indicate an error. Press Return to return to the prompt. Note You can press Ctrl-Z in any mode to return immediately to privileged EXEC mode (router#), instead of entering exit, which returns you to the previous mode. Disabling a Command or Feature If you want to undo a command you entered or disable a feature, enter the keyword no before most commands; for example, no mgcp. Saving Configuration Changes You need to enter the copy running-config startup-config command to save your configuration changes to nonvolatile random-access memory (NVRAM), so the changes are not lost if there is a system reload or power outage; for example: router# copy running-config startup-config Building configuration... Note It might take a minute or two to save the configuration to NVRAM. After the configuration has been saved, the privileged EXEC mode prompt (router#) reappears. 2-8