Вы находитесь на странице: 1из 3

EIGRP CCNA!

!
!
!
!
!
ip cef
no ipv6 cef

 To enable encryption type service password-ecryption

R1(config)#service password-encryption
R1(config)#

 Now validate password is encrypted as below by running show running config

version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R1
!
!
!
enable password 7 0822455D0A16
!
!
!
!
!
!
ip cef
no ipv6 ce

 To disable password encrption run no service password encryption

 To enabe password encrypt level 5 use below command , where ccna is password

R1(config)#enable secret ccna


R1(config)#

 Now see how password is visible both in level and level 7 method
R1#show running-config
Building configuration...

Current configuration : 683 bytes


!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$Bok4KDfVutXOJolNq009M/
enable password 7 0822455D0A16
!

 To enable console login password first connect PC to router using console cable and go
to terminal

 To enter into console config

R1(config)#line console 0
R1(config-line)#
 to set password to login to console type "password ccna" where ccna is password and
type login .

R1(config-line)#password ccna
R1(config-line)#login

 To enable ssh on swtich


1. first need to setup hostname .
2. Then setup domain use below comand
SW1(config)#ip domain-name kushaal.com
SW1(config)#
3. Then run crypto-generate
SW1(config)#crypto key generate rsa
The name for the keys will be: SW1.kushaal.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.

How many bits in the modulus [512]:


% Generating 512 bit RSA keys, keys will be non-exportable...[OK]

4. Then to set up ssh ver 2 use ip version 2

SW1(config)#ip ssh version 2


*Mar 3 1:10:44.465: %SSH-5-ENABLED: SSH 1.99 has been enabled
SW1(config)#

 To Setup IP address to ssh

SW1(config)#interface Vlan 1
SW1(config-if)#

SW1(config-if)#ip address 192.168.0.11 255.255.255.0


SW1(config-if)#

http://www.freeccnaworkbook.com/workbooks/ccna

Вам также может понравиться