Command line Interface LA 1 LnP 01.03 : are/release/12.1_11_yj4/command/reference/intro.html.

Slides:



Advertisements
Similar presentations
© 2003, Cisco Systems, Inc. All rights reserved..
Advertisements

CCNA2 MODULE 5.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
© 2004 Cisco Systems, Inc. All rights reserved. Operating and Configuring Cisco IOS Devices Starting a Switch INTRO v2.0—8-1.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—2-1 Ethernet LANs Operating Cisco IOS Software.
Cisco Router. Overview Understanding and configuring the Cisco Internetwork Operating System (IOS) Connecting to a router Bringing up a router Logging.
1 CCNA 2 v3.1 Module 3. 2 CCNA 2 Module 3 Configuring a Router.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
CCNA 2 v3.1 Module 2.
Summer Classes Router - Initial Configuration By Roshan Chaudhary Lecturer Islington College.
© 2004 Cisco Systems, Inc. All rights reserved. Operating and Configuring Cisco IOS Devices Starting a Router INTRO v2.0—8-1.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
CSE 304 COMPUTER NETWORK LAB LECTURE 01 Md. Mamunur Rashid Akand Lecturer, Department of CSE, BUBT.
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
COMP 417 CISCO IOS CLI (Command-Line Interface). CLI Access Modes User EXEC Provides basic access to the IOS with limited command availability. Basically.
CISCO ROUTER.  The Cisco router IOS  Enhanced editing  Administrative functions  Hostnames  Banners  Passwords  Interface descriptions  Verifying.
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
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—1-1 Small Network Implementation Introducing the Review Lab.
Copyright 2003 CCNA 3 Chapter 7 Switch Configuration By Your Name.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 CCNA 3 v3.1 Module 6 Switch Configuration Claes Larsen, CCAI.
VTP VLAN Trunking Protocol
Building Cisco Multilayer Switched Networks (BCMSN)
CCNA Guide to Cisco Networking
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
1 Pertemuan 9 Switch Configuration. Discussion Topics Starting the Switch Configuring the Switch 2.
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 2 Introduction to Routers.
VTP VLAN Trunking Protocol Create once and send to the other switches.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Sybex CCNA Chapter 4: Cisco’s IOS and SDM Instructor & Todd Lammle.
NETWORK ADMINISTRATION CPIT 470 Instructor: Mrs Aisha Ehsan.
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.
Introduction to Routers
1 CCNA Semester 2 Introduction to Routers Unit 2 Review JEOPARDY.
Routers 1st semester
Configuration Modes and TFTP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Chapter 2: Configure a Network Operating System
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
Router Startup and Setup & Router Configuration 1 Semester 2 Chapter 5/6 By: William Widulski.
Cisco S2 C6 Router Configuration 1. Router Boot Up Router uses following from config-startup when it boots –Cisco IOS software version –Router identification.
© 2002, Cisco Systems, Inc. All rights reserved..
COMPUTER NETWORK AND DESIGN
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
VTP VLAN Trunking Protocol Create once and send to the other switches. VTP is a messaging protocol that uses Layer 2 trunk frames to manage the addition,
Cisco CLI (command line interface). login with the user password enter privileged mode with the enable password disable or quit Advanced help features:
+ Lecture#8:VTP Create once and send to the other switches. Asma ALosaimi.
LAN Switching Virtual LANs. Virtual LAN Concepts A LAN includes all devices in the same broadcast domain. A broadcast domain includes the set of all LAN-connected.
Chapter 6.  Upon completion of this chapter, you should be able to:  Configure switches  Configure VLANs  Verify configuration settings  Troubleshoot.
Sem 2v2 Chapter 3 Using the Router Understand the Basics of Router's Command Line Interface. Demonstrate How to Log into the Router. Demonstrate How to.
Managing Your Network Environment
Instructor Materials Chapter 2: Configure a Network Operating System
Chapter 2: Configure a Network Operating System
Switch Commands Exec Commands Switch#? exec Commands
CISCO IOS CLI (Command-Line Interface)
Router Startup and Setup
Cisco S2 C5 Router Startup.
Lecture#9:VTP Create once and send to the other switches.
Chapter 2: Configure a Network Operating System
Instructor & Todd Lammle
Instructor & Todd Lammle
Fundamentals of Computer Networks
Router Startup and Setup
Presentation transcript:

Command line Interface LA 1 LnP : are/release/12.1_11_yj4/command/reference/intro.html

CLI Command Modes  CLI – Command Line Interface  Command modes support specific Cisco IOS commands. These are the main command modes:  User EXEC  Privileged EXEC  Global configuration  Interface configuration  Sequence configuration  Config-vlan  VLAN configuration  Line configuration

CLI Command Modes Command Mode Access MethodPromptExit or Access Next Mode User EXEC This is the first level of access. (For the switch) Change terminal settings, perform basic tasks, and list system information. Switch>Enter the logout command to exit from the switch. To enter privileged EXEC mode, enter the enable command. Privileged EXEC From user EXEC mode, enter the enable command. Switch#To exit to user EXEC mode, enter the disable command. To enter global configuration mode, enter the configure command.

Command Mode Access MethodPromptExit or Access Next Mode Global configuration From privileged EXEC mode, enter the configure command. Switch(config )# To exit to privileged EXEC mode, enter the exit or end command, or press Ctrl-Z. To enter interface configuration mode, enter the interface command. Interface configuration From the global configuration mode, enter the interface command (with a specific interface). Switch(config- if)# To exit to global configuration mode, enter exit. To exit to privileged EXEC mode, enter Ctrl-Z or end.

Command Mode Access MethodPromptExit or Access Next Mode Sequence configuration From the global configuration mode, specify the sequence by entering the lre sequence command (with a specific interface). Switch(config- seq)# To exit to global configuration mode, enter exit. To exit to privileged EXEC mode, enter Ctrl-Z or end. Config-vlanFrom the global configuration mode, enter the vlan vlan-id command. Switch(config- vlan)# To exit to global configuration mode, enter the exit command. To return to privileged EXEC mode, enter the end command, or press Ctrl-Z.

Command Mode Access MethodPromptExit or Access Next Mode VLAN configuration From privileged EXEC mode, enter the vlan database command. Switch(vlan)#To exit to privileged EXEC mode, enter the exit command. Line configuration From global configuration mode, specify a line by entering the line command. Switch(config- line)# To exit to global configuration mode, enter the exit command. To return to privileged EXEC mode, enter the end command, or press Ctrl-Z.

User EXEC Mode  After you access the device, you are automatically in user EXEC command mode.  The EXEC commands available at the user level are a subset of those available at the privileged level. In general, use the user EXEC commands to change terminal settings temporarily, to perform basic tests, and to list system information.  The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch> ?

Privileged EXEC Mode  Because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use.  The privileged command set includes those commands contained in user EXEC mode, as well as the configure command through which you access the remaining command modes.  If your system administrator has set a password, you are prompted to enter it before being granted access to privileged EXEC mode.  The password does not appear on the screen and is case sensitive.

Privileged EXEC Mode  The privileged EXEC mode prompt is the device name followed by the pound sign (#).  Switch#  Enter the enable command to access privileged EXEC mode:  Switch> enable  Switch#

Privileged EXEC Mode  The supported commands can vary depending on the version of IOS software in use.  To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch# ?  To return to user EXEC mode, enter the disable command.  Switch#disable

Global Configuration Mode  Global configuration commands apply to features that affect the device as a whole.  Use the configure privileged EXEC command to enter global configuration mode. The default is to enter commands from the management console.  When you enter the configure command, a message prompts you for the source of the configuration commands:  Switch# configure

Global Configuration Mode  Configuring from terminal, memory, or network [terminal]?  You can specify either the terminal or nonvolatile RAM (NVRAM) as the source of configuration commands.  This example shows you how to access global configuration mode:  Switch# configure terminal  Enter configuration commands, one per line. End with CNTL/Z.  Switch(config)#

Global Configuration Mode  The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch(config)# ?  To exit global configuration command mode and to return to privileged EXEC mode, enter the end or exit command, or press Ctrl-Z.  Switch(config)#end

Interface Configuration Mode  Interface configuration commands modify the operation of the interface.  Interface configuration commands always follow a global configuration command, which defines the interface type.  Use the interface type_number subif command to access interface configuration mode. The new prompt shows interface configuration mode.  Switch(config-if)#

Interface Configuration Mode  The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch(config-if)# ?  To exit interface configuration mode and to return to global configuration mode, enter the exit command. To exit interface configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z.

Sequence Configuration Mode  Sequence configuration commands apply only to LRE interfaces.  Use this command to create a sequence or to add profiles to an existing sequence.  Sequence configuration commands always follow a global configuration command, which defines the interface.

Sequence Configuration Mode  Use the lre sequence sequence-name command to access sequence configuration mode. The new prompt shows sequence configuration mode.  Switch(config-seq)#  To exit sequence configuration mode and to return to global configuration mode, enter the exit command. To exit sequence configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z.

config-vlan Mode  Use this mode to configure normal-range VLANs (VLAN IDs 1 to 1005) or, when VTP mode is transparent, to configure extended- range VLANs (VLAN IDs 1006 to 4094) when the enhanced software image is installed.  When VTP mode is transparent, the VLAN and VTP configuration is saved in the running configuration file, and you can save it to the switch startup configuration file by using the copy running-config startup-config privileged EXEC command.  The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database if VTP is in transparent or server mode. The extended- range VLAN configurations are not saved in the VLAN database.  Enter the vlan vlan-id global configuration command to access config-vlan mode:  Switch(config)# vlan 2000  Switch(config-vlan)#

config-vlan Mode  The supported keywords can vary but are similar to the commands available in VLAN configuration mode. To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch(config-vlan)# ?  For extended-range VLANs, all characteristics except MTU size must remain at the default setting.  To return to global configuration mode, enter exit; to return to privileged EXEC mode, enter end. All commands except shutdown take effect when you exit config-vlan mode.

VLAN Configuration Mode  You can use the VLAN configuration commands to create or modify VLAN parameters for VLANs 1 to  Enter the vlan database privileged EXEC command to access VLAN configuration mode:  Switch# vlan database  Switch(vlan)#

VLAN Configuration Mode  The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch(vlan)# ?  To return to privileged EXEC mode, enter the abort command to abandon the proposed database. Otherwise, enter exit to implement the proposed new VLAN database and to return to privileged EXEC mode.

Line Configuration Mode  Line configuration commands modify the operation of a terminal line.  Line configuration commands always follow a line command, which defines a line number. Use these commands to change terminal parameter settings line-by-line or for a range of lines.  Use the line vty line_number [ending_line_number] command to enter line configuration mode. The new prompt indicates line configuration mode.  This example shows how to enter line configuration mode for virtual terminal line 7:  Switch(config)# line vty 0 7

Line Configuration Mode  The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt.  Switch(config-line)# ?  To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z.