cisco router modes

22
Electronic Presentation --MNS Protected©2013-- Version 1.1

Upload: mazenetsolution

Post on 14-May-2015

113 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Cisco router modes

Electronic Presentation

--MNS Protected©2013--

Version 1.1

Page 2: Cisco router modes

Disclaimer• This presentation is a property of MAZENET SOLUTION

PVT Ltd , intended to be used for training purpose only.• Reproducing and unauthorized distribution of this

document is prohibited.

MNS Protected©2013 | Ver 1.1 2

Page 3: Cisco router modes

Working Modes Of a Router

1. User Mode (Default mode)

2. Privilege or Administrative Mode

3. Global Configuration Mode

4. Interface Configuration Mode

5. Line Configuration Mode

6. Router Mode

7. Sub-Interface Mode

MNS Protected©2013 | Ver 1.1 3

Page 4: Cisco router modes

Overview of Router Modes

MNS Protected©2013 | Ver 1.1 4

Page 5: Cisco router modes

USER MODE

• Router> is the user mode, I.e. the default prompt. It means

that when ever a router boots successfully it lands into the

user mode. Router cannot be configured from this mode, but

it is used for monitoring purpose.

• Router> enable

• Router #

MNS Protected©2013 | Ver 1.1 5

Page 6: Cisco router modes

Privilege Mode

• Router# it is the administrating mode, we can check whether the settings and configurations made have been implemented or not.

Eg-• “Router # Show ip interface brief ”. If it is new router all the

interfaces are by default shut down, so the message will be, “ administratively down, line protocol is down.”

MNS Protected©2013 | Ver 1.1 6

Page 7: Cisco router modes

Global Configuration Mode

• As the name indicates, it is a global configuration mode I.e. we can configure routing and any interface from this mode, just by entering into the interface mode.

• Router# Configure Terminal

• Router (Config)#

MNS Protected©2013 | Ver 1.1 7

Page 8: Cisco router modes

Router Modes

MNS Protected©2013 | Ver 1.1 8

Page 9: Cisco router modes

User Mode Commands

MNS Protected©2013 | Ver 1.1 9

Page 10: Cisco router modes

Privileged Mode Commands

MNS Protected©2013 | Ver 1.1 10

Page 11: Cisco router modes

Specific Configuration Modes

MNS Protected©2013| Ver 1.1 11

Page 12: Cisco router modes

Configuring a Router’s Name

• A router should be given a unique name as one of the first configuration tasks.

• This task is accomplished in global configuration mode using the following commands:

• Router(config)#hostname TokyoTokyo(config)#

• As soon as the Enter key is pressed, the prompt changes from the default host name (Router) to the newly configured host name (which is Tokyo in the example above).

MNS Protected©2013 | Ver 1.1 12

Page 13: Cisco router modes

Message Of The Day (MOTD)

• A message-of-the-day (MOTD) banner can be displayed on all connected terminals.

• Enter global configuration mode by using the command Router# configure terminal

Enter the command

Router(Config)#banner motd $The message of the day goes here$

• Save changes by issuing the command copy run start

MNS Protected©2013 | Ver 1.1 13

Page 14: Cisco router modes

The “Clock” Command

• The clock command is used to set the clock of Router.

Syntax

• Router# clock set hh:mm:ss Day of week Month Year

E.g.

• Router#clock set 16:35:00 20 Oct 2013

• Note* This is the only configuration which can be done from privilege mode, every other configuration should be done at global configuration mode only.

MNS Protected©2013 | Ver 1.1 14

Page 15: Cisco router modes

Show commands in privilege mode

• Router# show clock

• show interface(interface name e.g. e0)

• Show history

• Show running-config

• Show startup-config

To save configuration from Ram to Nvram

• Router#Copy Running-config Startup-config (or) Write

MNS Protected©2013 | Ver 1.1 15

Page 16: Cisco router modes

Router Password Configuration

1. Privilege Mode Password

2. Virtual Terminal Password

3. Console Password

4. Auxiliary Password

MNS Protected©2013 | Ver 1.1 16

Page 17: Cisco router modes

Router Password Configuration

• Privilege Passwords

MNS Protected©2013 | Ver 1.1 17

Enable Password

Enable Secret

Enable Password:- It is global command restricts access to the privilege mode, the password is in clear text.

Router(config)#Enable password 123

Enable Secret:-Here the password is in encrypted form

Router(config)#Enable secret cisco

Page 18: Cisco router modes

Virtual Terminal Password

• It establishes a login password on incoming Telnet sessions.

• Router#conf t

• Router(config)#Line vty 0 15

• Router(config-line)#Login

• Router(config-line)#password cisco

• Router(config-line)#^Z

MNS Protected©2013 | Ver 1.1 18

Page 19: Cisco router modes

Console Password

• It establishes a login password on the console terminal.

• Router# configure terminal

• Router(config)#Line Console 0

• Router(config-line)#Login

• Router(config-line)#Password cisco

• Router(config-line)#^Z

MNS Protected©2013 | Ver 1.1 19

Page 20: Cisco router modes

Auxillary Password

• It establishes a login password to remote administration.

• Router# configure terminal

• Router(config)#Line Aux 0

• Router(config-line)#Login

• Router(config-line)#Password cisco

• Router(config-line)#^Z

MNS Protected©2013 | Ver 1.1 20

Page 21: Cisco router modes

Configuring Interfaces

• Router(config)#Interface Fast Ethernet 0/0

• Router(config-if)#ip address 10.1.1.2 255.0.0.0

• Router(config-if)#no shutdown

• Router(config-if)#^Z

• Router# Show Interface Fastethernet 0/0

MNS Protected©2013 | Ver 1.1 21

Page 22: Cisco router modes

Serial (WAN)

• Router(config)#Interface Serial 0/0/0

• Router(config-if)#Ip Address 150.10.1.1 255.255.0.0

• Router(config)#clock rate 64000

• Router(config-if)#No shutdown

• Router(config-if)#^Z

MNS Protected©2013 | Ver 1.1 22