0% found this document useful (0 votes)
8 views2 pages

Cau Hinh Co Ban 2510

Uploaded by

Hoang Tran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Cau Hinh Co Ban 2510

Uploaded by

Hoang Tran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Trực tiếp: Console


2. Remote: - telnet, ssh

Cisco IOS:

pass
1. User mode: chua cau hinh duoc, chi co the kiểm tra được giới hạn 1 vài thông số.
>
Switch>
Router>

pass
2. Pri exec mode: chưa cấu hình được, nhưng có thể kiểm tra đầy đủ thông tin
#
Switch#
Router#
3. Global config: bắt đầu cấu hình ở đây
(config)#

user mode --> exec mode: enable


exec mode --> global config: configure terminal

exit: back lai phia truoc 1 cap


end: back ve mode #
tab: ho tro dien not keywork
ho tro go tat
ctrl + shift + 6: break tien trinh

Cau hinh co ban:

Switch(config)#hostname SW1-Floor1
SW1-Floor1(config)#
SW1-Floor1(config)#
SW1-Floor1(config)#
SW1-Floor1(config)#
SW1-Floor1(config)#banner motd "This is SW1"

Pass line console:

SW1-Floor1(config)#line console 0
SW1-Floor1(config-line)#password bkacad
SW1-Floor1(config-line)#login
SW1-Floor1(config-line)#exit

Pass enable:
SW1-Floor1(config)#
SW1-Floor1(config)#enable password bkacad (k ma hoa)
hoac
SW1-Floor1(config)#enable secret bkacad (ma hoa)

Ma hoa toan bo password:


SW1-Floor1(config)#service password-encryption

Kiem tra file cau hinh:


SW1-Floor1#show running-config
SW1-Floor1(config)#do show running-config

Cau hinh telnet:


SW1-Floor1(config)#interface vlan 1
SW1-Floor1(config-if)#
SW1-Floor1(config-if)#
SW1-Floor1(config-if)#no shutdown
SW1-Floor1(config-if)#
SW1-Floor1(config-if)#ip address 192.168.1.100 255.255.255.0
SW1-Floor1(config-if)#exit
SW1-Floor1(config)#
SW1-Floor1(config)#
SW1-Floor1(config)#line vty 0 15
SW1-Floor1(config-line)#
SW1-Floor1(config-line)#password bkacad
SW1-Floor1(config-line)#login
SW1-Floor1(config-line)#exit

Tren PC test:
telnet 192.168.1.100
pass

Luu cau hinh:


SW1-Floor1#write memory
Building configuration...
[OK]
SW1-Floor1#wr
Building configuration...
[OK]

SW1-Floor1#copy running-config startup-config


Destination filename [startup-config]?
Building configuration...

RAM: running-config
NVRAM: startup-config
FLASH: ios

You might also like