You are on page 1of 5

TT YÊU CẦU THAM SỐ LỆNH THAM KHẢO

1 Cấu hình các


tham số cơ
bản cho thiết enable router>enable
- Cấu hình
hostname configuration terminal router#conf terminal
hostname “tên Router” router(config)#hostname “tên router”
Tên router(config)#
- Cấu hình tài Username ….password ….. TÊN SWITCH(config)# username vrd password VQ1-
khoản truy cập MT@viettelrd.vn
thiết bị

- Cấu hình mật enable password …… TÊN SWITCH(config)# enable password


khẩu kích hoạt enR3935@VQ1-MT
thiết bị

Bật chế độ mã service password- TÊN SWITCH(config)# service password-encryption


-
hóa mật khẩu encryption
trên thiết bị
TT YÊU CẦU THAM SỐ LỆNH THAM KHẢO

ip domain name vq2 TÊN SWITCH(config)# ip domain name vq2


Cấu hình giao TÊN SWITCH(config)# crypto key generate rsa
crypto key generate rsa
- thức truy cập từ
modulus 2048 modulus 2048
xa SSH
ip ssh version 2 TÊN SWITCH(config)# ip ssh version 2
line vty 0 15 TÊN SWITCH(config)# line vty 0 15
transport TÊN SWITCH(config-line)# transport input ssh
input ssh TÊN SWITCH(config-line)#exec-timeout 5
exec-timeout TÊN SWITCH(config-line)#login local
- Cho phép truy 5 TÊN SWITCH(config-line)#exit
cập từ xa bằng
login local
SSH
exit
- Vô hiệu hóa quản no ip http server TÊN SWITCH(config)# no ip http server
trị qua HTTP, no ip http TÊN SWITCH(config)# no ip http secure-server
HTTPS secure-
3 Cấu hình giao server
diện Router
TT YÊU CẦU THAM SỐ LỆNH THAM KHẢO

3.1 Cấu hình port kết Interface Interface gi 0/0/1


nối tường lửa gi…. No shut
No shut
Ip addr 86.38.200.254 255.255.255.0
Des…….
Description ket noi tuong lua
Ip addr
…… Ip ospf 1 area 6
Ip ospf 1 exit
area …..
3.2 Kết nối wan Interface Interface gi 0/0/0
gi…. No shut
No shut
Ip addr 86.40.255.205
Des…….
Description ket noi f367
Ip addr
…… Ip ospf 1 area 0
Ip ospf 1 Exit
area …..
TT YÊU CẦU THAM SỐ LỆNH THAM KHẢO
Router ospf 1 Router ospf 1
Area 6 stub no-sumary Area 6 stub no-sumary

- Cấu hình định


tuyến động ospf
TT YÊU CẦU THAM SỐ LỆNH THAM KHẢO

6 Lưu cấu hình write memory TÊN SWITCH# write memory


vào bộ nhớ

You might also like