Header Ads Widget

Responsive Ads Here

বৃহস্পতিবার, ৫ নভেম্বর, ২০২০

Router Password Break

 RV082-EU - Buy Router - Cisco Small Business - Distrelec

 

Real device

 

# First time router Console port connect cable then connect Laptop.

Software: Putty, Tera term

Port: Serial

# Second time router off and same time on and click keyboard Break key +Ctrl key

# Then will get Rommon mode


# Type 

 

rommon 1 > confreg

rommon 2 > confreg 0x2142  [boots from flash without using NVRAM]

rommon 3 > reset

 

Then click no


Router>enable

Router# copy startup-config running-config    [NVRAM brings a copy of data from memory to RAM]

Then Enter

(shortcut comment# copy start run)

 

Router(config)#enable secret cisco          [New password ]

Router(config)#config-register 0x2102     [NVRAM -startup configuration memory]

Router# copy running-config  startup-config  [NVRAM brings data from RAM ]

(shortcut comment #copy run start)

Router#reload




Packet Tracer

First time router Console port connect cable then connect Laptop RS232 port.

 

The router has to be opened with the laptop Terminal.

 


Third time router off and same time on and click keyboard Break key +Ctrl key

 

# Then will get Rommon mode


# Type

rommon 1 > confreg

rommon 2 > confreg 0x2142  [boots from flash without using NVRAM]

rommon 3 > reset

 

Then click no


Router>enable

Router# copy startup-config running-config    [NVRAM brings a copy of data from memory to RAM]

Then Enter

(shortcut comment# copy start run)

 

Router(config)#enable secret cisco          [New password ]

Router(config)#config-register 0x2102     [NVRAM -startup configuration memory]

Router# copy running-config  startup-config  [NVRAM brings data from RAM ]

(shortcut comment #copy run startup-config)

Router#reload

 

 

বুধবার, ৪ নভেম্বর, ২০২০

Cisco Router configuration

Cisco ONE ASR1001-HX 8-Port 10GbE Router w 8xGbE, 2xPS, Optional  (C1-ASR1001-HX/K9)
Cisco Router configuration

 

 

User EXEC mode, privilege mode and global configuration mode

 

→Router>              [ > User EXEC mode]

Router >enable

Router #              [ # privilege mode]

Router #config terminal  

Router (config)#  [ (config)#  global configuration mode]

Router (config)#exit

 

configure host name

You must enter global configuration mode

Router (config)#hostname R1

→R1(config)#exit

 

show running configuration

You must enter privileged mode

R1#show running-config

 

Enable Password

You must enter global configuration mode

→ R1(config)#enable password cisco

R1(config)#exit

 

Username and secret password

You must enter global configuration mode

R1(config)#username cisco password cisco

 

Save

You must enter privileged mode

R1#copy running-config startup-config

 

Show IP interface

You must enter privileged mode

R1#show ip interface brief

 

Interface Add IP Addressing

You must enter global configuration mode

R1(config-if)#interface fastEthernet0/0

R1(config-if)#no shutdown

R1(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

R1(config-if)#ip address 10.10.10.1 255.255.255.0

Remote access-All

Virtual Teletype lines [same time login -0 15]

You must enter global configuration mode

 

1.     Just login

R1(config)#line vty 0 4        [0 – 4 people login same time]

R1(config-line)#login           [Just need a password]

% Login disabled on line 322, until 'password' is set

% Login disabled on line 323, until 'password' is set

% Login disabled on line 324, until 'password' is set

% Login disabled on line 325, until 'password' is set

% Login disabled on line 326, until 'password' is set

 

R1(config-line)#password 12345

R1(config-line)#transport input all     [Telnet and SSH will run]

R1(config-line)#exit

2.     Login local

R1(config)#line vty 0 4              [0 – 4 people login same time]

R1(config-line)#login local        [Just need a Username and password]

R1(config-line)#transport input all      [Telnet and SSH will run]

 

Remote access-Telnet

You must enter global configuration mode

 

R1(config)#line vty 0 4              [0 – 4 people login same time]

R1(config-line)#login local        [Just need a Username and password]

R1(config-line)#transport input telnet      [Telnet and SSH will run]

 

Remote access-SSH

You must enter global configuration mode

 

R1(config)#ip domain name saba.com   [Domain name is required]

R1(config)#crypto key generate rsa        [''rsa'' is a encryption algorithm]

The name for the keys will be: R1.saba.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]: 1024         [key bit size]

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

 

Local Clock

R1#show clock

 R1#clock set 7:09:00 18 sep 2019

 

Banner

R1(config)#banner motd #

Enter # to end the message  

 

Console password

R1(config)#line console 0     [console 0 means is console  0 interface]

R1(config-line)#login

R1(config-line)#password 12345

R1(config)#do show run

 

Router History

R1#show history

 

Router Model number

R1#show version

 

 

Delete

R1#erase startup-config

Or

R1#write erase

R1#reloted

Cisco packet tracer-(not Translate)

 

R1(config)# no ip domain lookup

Auxiliary login port

 

R1(config)#line aux 0          [auxiliary 0 means is auxiliary  0 interface]

R1(config-line)#password cisco

R1(config-line)#login