Tải bản đầy đủ (.pdf) (5 trang)

HƯỚNG DẪN VỀ CCNA LAB- P34 potx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (186.96 KB, 5 trang )


Created by: Dương Văn Toán – CCNP, CCSP, MCSE, LPI level 1.
166

Hình 24-1


* Chú ý : Trong sơ đồ trên sử dụng thiết bị Adtran Atlas 550 để giả lập là đám mây Frame
Relay. Ba port vật lý (1/1, 2/1, 2/2) được sử dụng để kết nối đến ba thiết bị ở 3 thành phố.

Edmonton Router
router>enable Chuyển cấu hình vào chế độ Privileged
router#configure terminal Chuyển cấu hình vào chế độ Global
Configuration.
router(config)#host Edmonton Đặt tên router là Edmonton
Edmonton(config)#no ip domainlookup Tắt tính năng phân dải câu lệnh khi người
dùng nhập sai.
Edmonton(config)#enable secret
Cisco
Đặt mật khẩu enable secret là cisco.
Edmonton(config)#line console 0 Chuyển cấu hình vào chế độ Line console
Edmonton(config-line)#login Cho phép router yêu cầu người dùng xác
thực khi truy cập router thông qua port

Created by: Dương Văn Toán – CCNP, CCSP, MCSE, LPI level 1.
167

console.
Edmonton(config-line)#password
Class
Đặt mật khẩu truy cập console là Class


Edmonton(config-line)#logging
Synchronous
Không cho phép ngắt câu lệnh khi các
thông điệp loggin hiển thị trên màn hình
console.
Edmonton(config-line)#exit Trở về chế độ Global Configuration
Edmonton(config)#interface
fastethernet 0/0
Chuyển cấu hình vào chế độ interface
fa0/0.
Edmonton(config-if)#ip address
192.168.20.1 255.255.255.0
Gán địa chỉ IP và subnet mask cho
interface fa0/0.
Edmonton(config-if)#no shutdown Bật interface.
Edmonton(config-if)#interface
serial 0/0/0
Chuyển cấu hình vào chế độ interface
s0/0/0.
Edmonton(config-if)#encapsulation
frame-relay
Cho phép đóng gói dữ liệu bằng giao
thức Frame Relay.
Edmonton(config-if)#no shutdown Bật interface.
Edmonton(config-if)#interface
serial 0/0/0.12 point-to-point
Tạo subinterface loại poin – to –point với
chỉ số là 12.
Edmonton(configsubif)#
description link to

Winnipeg router DLCI 12
Cấu hình mô tả cho subinterface.
Edmonton(config-subif)#ip address
192.168.1.1 255.255.255.0
Gán địa chỉ IP và subnet mask cho
subinterface.
Edmonton(config-subif)#framerelay
interface-dlci 12 point-topoint
Gán giá trị DLCI local cho interface.
Edmonton(config-subif)#interface
serial 0/0/0.21
Tạo subinterface với chỉ số là 21.
Edmonton(configsubif)#
description link to Calgary
router DLCI 21
Cấu hình mô tả cho subinterface.
Edmonton(config-subif)#ip address
192.168.3.1 255.255.255.0
Gán địa chỉ IP và subnet mask cho
subinterface.
Edmonton(config-subif)#framerelay
interface dlci 21
Gán giá trị DLCI local cho subinterface.
Edmonton(config-subif)#exit Trở về chế độ interface configuration.
Edmonton(config-if)#exit Trở về chế độ Global Configuration.
Edmonton(config)#router eigrp 100 Cho phép router chạy giao thức định
tuyến EIGRP với AS là 100
Edmonton(config-router)#network
192.168.1.0
Quảng bá mạng kết nối trực tiếp vào

interface của router.
Edmonton(config-router)#network
192.168.3.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Edmonton(config-router)#network
192.168.20.0
Quảng bá mạng kết nối trực tiếp vào

Created by: Dương Văn Toán – CCNP, CCSP, MCSE, LPI level 1.
168

interface của router.
Edmonton(config-router)# ctrl – z Trở về chế độ Privileged.
Edmonton#copy running-config
startup-config
Lưu file cấu hình đang chạy trên RAM vào
NVRAM.

Winnipeg Router
router>enable Chuyển cấu hình vào chế độ Privileged
router#configure terminal Chuyển cấu hình vào chế độ Global
Configuration.
router(config)#host Winnipeg Đặt tên router là Winnipeg
Winnipeg(config)#no ip domainlookup Tắt tính năng phân dải câu lệnh khi người
dùng nhập sai.
Winnipeg(config)#enable secret
Cisco
Đặt mật khẩu enable secret là cisco.
Winnipeg(config)#line console 0 Chuyển cấu hình vào chế độ Line console

Winnipeg(config-line)#login Cho phép router yêu cầu người dùng xác
thực khi truy cập router thông qua port
console.
Winnipeg(config-line)#password
Class
Đặt mật khẩu truy cập console là Class
Winnipeg(config-line)#logging
Synchronous
Không cho phép ngắt câu lệnh khi các
thông điệp loggin hiển thị trên màn hình
console.
Winnipeg(config-line)#exit Trở về chế độ Global Configuration
Winnipeg(config)#interface
fastethernet 0/0
Chuyển cấu hình vào chế độ interface
fa0/0.
Winnipeg(config-if)#ip address
192.168.30.1 255.255.255.0
Gán địa chỉ IP và subnet mask cho
interface fa0/0.
Winnipeg(config-if)#no shutdown Bật interface.
Winnipeg(config-if)#interface
serial 0/0/0
Chuyển cấu hình vào chế độ interface
s0/0/0.
Winnipeg(config-if)#encapsulation
frame-relay
Cho phép đóng gói dữ liệu bằng giao
thức Frame Relay.
Winnipeg(config-if)#no shutdown Bật interface.

Winnipeg(config-if)#interface
serial 0/0/0.11 point-to-point
Tạo subinterface loại poin – to –point với
chỉ số là 11.
Winnipeg(configsubif)#
description link to
Edmonton router DLCI 11
Cấu hình mô tả cho subinterface.
Winnipeg(config-subif)#ip address
192.168.1.2 255.255.255.0
Gán địa chỉ IP và subnet mask cho
subinterface.

Created by: Dương Văn Toán – CCNP, CCSP, MCSE, LPI level 1.
169

Winnipeg(config-subif)#framerelay
interface-dlci 11
Gán giá trị DLCI local cho interface.
Winnipeg(config-subif)#interface
s 0/0.21 point-to-point
Tạo subinterface với chỉ số là 21.
Winnipeg(configsubif)#
description link to Calgary
router DLCI 21
Cấu hình mô tả cho subinterface.
Winnipeg(config-subif)#ip address
192.168.4.2 255.255.255.0
Gán địa chỉ IP và subnet mask cho
subinterface.

Winnipeg(config-subif)#framerelay
interface-dlci 21
Gán giá trị DLCI local cho subinterface.
Winnipeg(config-subif)#exit Trở về chế độ interface configuration.
Winnipeg(config-if)#exit Trở về chế độ Global Configuration.
Winnipeg(config)#router eigrp 100 Cho phép router chạy giao thức định
tuyến EIGRP với AS là 100
Winnipeg(config-router)#network
192.168.1.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Winnipeg(config-router)#network
192.168.4.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Winnipeg(config-router)#network
192.168.30.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Winnipeg(config-router)# ctrl -z Trở về chế độ Privileged.
Winnipeg#copy running-config
startup-config
Lưu file cấu hình đang chạy trên RAM vào
NVRAM.

Calgary Router
router>enable Chuyển cấu hình vào chế độ Privileged
router#configure terminal Chuyển cấu hình vào chế độ Global
Configuration.
router(config)#host Calgary Đặt tên router là Calgary

Calgary(config)#no ip domainlookup Tắt tính năng phân dải câu lệnh khi người
dùng nhập sai.
Calgary(config)#enable secret
Cisco
Đặt mật khẩu enable secret là cisco.
Calgary(config)#line console 0 Chuyển cấu hình vào chế độ Line console
Calgary(config-line)#login Cho phép router yêu cầu người dùng xác
thực khi truy cập router thông qua port
console.
Calgary(config-line)#password
Class
Đặt mật khẩu truy cập console là Class
Calgary(config-line)#logging
Synchronous
Không cho phép ngắt câu lệnh khi các
thông điệp loggin hiển thị trên màn hình
console.

Created by: Dương Văn Toán – CCNP, CCSP, MCSE, LPI level 1.
170

Calgary(config-line)#exit Trở về chế độ Global Configuration
Calgary(config)#interface
fastethernet 0/0
Chuyển cấu hình vào chế độ interface
fa0/0.
Calgary(config-if)#ip address
192.168.40.1 255.255.255.0
Gán địa chỉ IP và subnet mask cho
interface fa0/0.

Calgary(config-if)#no shutdown Bật interface.
Calgary(config-if)#interface
serial 0/0/0
Chuyển cấu hình vào chế độ interface
s0/0/0.
Calgary(config-if)#encapsulation
frame-relay
Cho phép đóng gói dữ liệu bằng giao
thức Frame Relay.
Calgary(config-if)#no shutdown Bật interface.
Calgary(config-if)#int s0/0/0.11
point-to-point
Tạo subinterface loại poin – to –point với
chỉ số là 11.
Calgary(config-subif)#description
link to Edmonton router DLCI 11
Cấu hình mô tả cho subinterface.
Calgary(config-subif)#ip address
192.168.3.2 255.255.255.0
Gán địa chỉ IP và subnet mask cho
subinterface.
Calgary(config-subif)#frame-relay
interface-dlci 11 point-to-point
Gán giá trị DLCI local cho interface.
Calgary(config-subif)#interface
serial 0/0/0.12
Tạo subinterface với chỉ số là 12.
Calgary(config-subif)#description
link to Winnipeg router DLCI 12
Cấu hình mô tả cho subinterface.

Calgary(config-subif)#ip address
192.168.4.1 255.255.255.0
Gán địa chỉ IP và subnet mask cho
subinterface.
Calgary(config-subif)#frame-relay
interface-dlci 12
Gán giá trị DLCI local cho subinterface.
Calgary(config-subif)#exit Trở về chế độ interface configuration.
Calgary(config-if)#exit Trở về chế độ Global Configuration.
Calgary(config)#router eigrp 100 Cho phép router chạy giao thức định
tuyến EIGRP với AS là 100
Calgary(config-router)#network
192.168.3.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Calgary(config-router)#network
192.168.4.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Calgary(config-router)#network
192.168.40.0
Quảng bá mạng kết nối trực tiếp vào
interface của router.
Calgary(config-router)# ctrl -z Trở về chế độ Privileged.
Calgary#copy running-config
startup-config
Lưu file cấu hình đang chạy trên RAM vào
NVRAM.




×