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
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন