You are on page 1of 28

QUIZ

Objectives
• Basic Configuring for Cisco IOS Software
CLI Access Options
Console Connection to a Switch
Terminal Settings for Console Access
Cisco IOS Software Command Help
Key Sequences for Command Edit and Recall
Key Sequences for Command Edit and Recall
Common Switch Configuration Modes
Cisco Switch Memory Types
Two Main Cisco IOS Configuration Files
How Configuration Mode Commands Change the Running-Config
File, Not the Startup-Config File
Hostname
Router>enable
Router#configure terminal
Router(config)#hostname ACEH-R1
Privilege mode password
ACEH-R1(config)#enable password cisco

ACEH-R1(config)#enable secret cisco

The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
Establish User Name Authentication
ACEH-R1(config)#username admin privilege 15 secret admin
SSH
hostname ACEH-R1

ip domain-name pandu.com

username admin privilege 15 secret admin


crypto key generate rsa
ip ssh version 2
ip ssh time-out 60
line vty 0 4
login local
transport input telnet ssh
SSH
crypto key generate rsa

The name for the keys will be: ACEH-R1.pandu.com


Choose the size of the key modulus in the range of 360 to 4096
for your
General Purpose Keys. Choosing a key modulus greater than 512
may take
a few minutes.

How many bits in the modulus [1024]:


Generating 512 bit RSA keys, keys will be non-exportable...[OK]
SSH
BANDUNG-R1#ssh -l admin -v 2 192.168.2.1
Time
ACEH-R1(config)#clock timezone GMT 7 0

ACEH-R1#clock set 17:30:00 27 NOVEMBER 2023


Time (NTP)
Time (NTP)
ACEH-R1(config)#ntp master

BANDUNG-R1(config)#clock timezone GMT 7 0


BANDUNG-R1(config)#ntp server 192.168.2.1

show ntp status


show ntp association
Console Access
line con 0
logging synchronous
login local
Interface
interface GigabitEthernet0/1
description WAN CONNECTION TO BANDUNG
bandwidth 10000
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
Static Routing
ACEH-R1(config)#ip route 192.168.3.0
255.255.255.0 192.168.2.2

BANDUNG-R1(config)#ip route 192.168.1.0


255.255.255.0 192.168.2.1
Save config
ACEH-R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

ACEH-R1#write memory
Building configuration...
[OK]

You might also like