วันพุธที่ 22 เมษายน พ.ศ. 2558

ศึกษาเรื่อง Networking กับอุปกรณ์ Cisco IOS Network

ศึกษาเรื่อง Networking กับอุปกรณ์ Cisco IOS Network
ด้วยโปรแกรม Cisco Packet Tracer

โดย http://www.prasansoft.com

อุปกรณ์ของ CISCO นั้นเป็นอุปกรณ์ที่ Management ได้เราสามารถปรับแต่ง ได้จาก Command

ที่มีอยู่ภายในระบบปฎิบัติการ IOS ของ CISCO เอาเป็นว่าสำหรับผู้เริ่มต้นเรียนรู้ Management

ทางด้าน Network แล้วกันนะครับ ภาพแสดงอุปกรณ์ที่จะใช้ทำการ Configure


Diagram Network เราจะทำการเชื่อมต่อ Router1 และ Router2



พร้อมทั้งเตรียมพร้อมการทำงาน เรียกว่ากระตุ้นการทำงานของ interface ทั้ง 2 ฝั่ง

ด้วยคำสั่ง no shut ท ี่Router1 interface serial0/0 และ
เช่นกันที่ Router 2 interface serial0/1 ซึ่งเชื่อมต่อกันด้วย สาย serial

เราจะใช้ command ในการทดลองนี้ดังนี้ 
สถานะ promt ของ Routerคำสั่งที่ใช้ในในการทดลองนี้ความหมายของคำสั่ง
Router>enableเข้าไปยัง Router
Router#configure terminalเข้าสู่โหมด privilege
Router(config)#hostname Router2เปลี่ยนชื่อของ Router
Router(config)#interface serial 0/1ติดต่อกับ interface serail หมายเลข port 0/1
Router(config-if)#no shutกระตุ้นหรือการเปิดการทำงานของ interface




ภาพแสดงการ Configure ที่ Console

คำสั่งที่เราต้องการเปิดให้ Router ทำงานต้องจัดคำสั่งเป็น Step นะครับ
การ Configure ที่ router 1
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
cisco 2620 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
2 Low-speed serial(sync/async) network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!

Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router1Router1(config)#
Router1(config)#interface serial 0/0Router1(config-if)#
Router1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Router1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

การ Configure ที่ router 2

Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
cisco 2620 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
2 Low-speed serial(sync/async) network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!

Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router2Router2(config)#
Router2(config)#interface serial 0/1Router2(config-if)#
Router2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/1, changed state to up
Router2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up


ในขณะนี้สถานะของ Router ของเราได้ Up แล้ว เราสามารถใช้คำสั่ง Show ip int Brief

เพื่อตรวจสอบสถานะการ Up ที่ serial interface0/0 ของ Router1 


ภาพแสดงสถานะของ Router1 Serial0/0 สถานะ up



ภาพ แสดงสถานะของ Router2 Serial0/1 Up

นี่เป็นเพียงการเริ่มต้นการทำงานของ Router เท่านั้น ขั้นตอนต่อไปเรามาดู

การกำหนด Ip address ให้กับ interface ซึ่งเป็นค่า Gateway นั่นเอง 

โดย http://www.prasansoft.com/Main-Cisco-network.php

ไม่มีความคิดเห็น:

แสดงความคิดเห็น