Mục tiêu thực hành:
- Đặt tên hostname trên Cisco Router là R1.
Trên thiết bị Cisco Router & Cisco Switch cấu hình dưới dạng dòng lệnh CLI được phân chia thành nhiều chế độ hoạt động.
Khi lần đầu tiên đăng nhập vào giao diện dòng lệnh trên Cisco Router thì ta sẽ bắt gặp thông điệp như bên dưới, tại đây ta sẽ tiến hành gõ lệnh "no" rồi nhấn Enter để xác nhận.
%Error opening tftp://255.255.255.255/network-confg (Timed out)--- System Configuration Dialog ---% Please answer 'yes' or 'no'.Would you like to enter the initial configuration dialog? [yes/no]: noPress RETURN to get started!*Jan 22 12:12:01.060: %CTS-6-ENV_DATA_START_STATE: Environment Data Download in start state*Jan 22 12:12:01.259: Installing default VOIPHA services*Jan 22 12:12:02.018: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up*Jan 22 12:12:03.018: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up*Jan 22 12:12:03.030: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up*Jan 22 12:12:03.042: %LINK-3-UPDOWN: Interface Ethernet0/2, changed state to up*Jan 22 12:12:03.046: %LINK-3-UPDOWN: Interface Ethernet0/3, changed state to up*Jan 22 12:12:04.022: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up*Jan 22 12:12:04.034: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up*Jan 22 12:12:04.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to up*Jan 22 12:12:04.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to up*Jan 22 12:12:10.770: AUTOINSTALL: Ethernet0/1 is assigned 192.168.100.8*Jan 22 12:13:11.779: %IP-5-WEBINST_KILL: Terminating DNS process*Jan 22 12:13:13.530: %LINK-5-CHANGED: Interface Ethernet0/0, changed state to administratively down*Jan 22 12:13:13.539: %LINK-5-CHANGED: Interface Ethernet0/2, changed state to administratively down*Jan 22 12:13:13.539: %LINK-5-CHANGED: Interface Ethernet0/3, changed state to administratively down*Jan 22 12:13:14.534: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to down*Jan 22 12:13:14.547: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to down*Jan 22 12:13:14.547: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to down*Jan 22 12:13:18.902: %SYS-5-RESTART: System restarted --Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(2)T4, DEVELOPMENT TEST SOFTWARETechnical Support: http://www.cisco.com/techsupportCopyright (c) 1986-2015 by Cisco Systems, Inc.Compiled Thu 08-Oct-15 21:21 by prod_rel_team*Jan 22 12:13:18.916: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF*Jan 22 12:13:18.916: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)Router>
Thông thường thì sau khi khởi động thành công, Cisco Router sẽ liên tục tìm kiếm TFTP Server để tải các file cấu hình mặc định của nhà sản xuất dưới hình thức Broadcast. Đây là cơ chế hoạt động mặc định trên thiết bị chứ không phải lỗi nên ta chỉ việc bỏ qua các thông báo này và tiếp tục cấu hình.
- router-confg
- ciscortr.cfg
- network-confg
- cisconet.cfg
Router>%Error opening tftp://255.255.255.255/router-confg (Timed out)%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)%Error opening tftp://255.255.255.255/network-confg (Timed out)%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)%Error opening tftp://255.255.255.255/router-confg (Timed out)%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)%Error opening tftp://255.255.255.255/network-confg (Timed out)%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
Truy cập vào chế độ đặc quyền Privilege Mode bằng lệnh enable (có thể nhấn phím Tab để bỏ qua các cảnh báo và tiếp tục cấu hình).
Router>enableRouter#
Truy cập vào chế độ Global Configuration Mode bằng lệnh configure terminal.
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#
Thiết lập tên hostname cho Cisco Router là R1.
Router(config)#hostname R1R1(config)#
Tham khảo các videos lý thuyết Hướng dẫn thực hành CCNA R&S để hiểu rõ chức năng của từng Mode hoạt động trên Cisco Router.
0 comments