Trang chủ Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   Trung tâm đào tạo Công Nghệ Thông Tin - TechNet > LINUX/UNIX - SECURITY - CISCO AREA > Cisco - Thảo Luận Chung
Cisco - Thảo Luận Chung Nơi thảo luận các vấn đề liên quan đến thiết bị Cisco

Reply
Cho điểm chủ đề này: (0)
 
Thread Tools Display Modes
  #1  
Old 05-29-2010
PhongLG's Avatar
PhongLG PhongLG is offline
TECHNET
 
Join Date: Mar 2010
Posts: 248
Thanks: 48
Thanked 122 Times in 44 Posts
Send a message via Yahoo to PhongLG
Default Một số Lệnh Ciscco Căn Bản

Một Lệnh Ciscco Căn Bản

Anh em có thể dùng Packet tracert hoặc GNS 3 hay chương tŕnh giả lập nào đó để thực hiện


Quote:
RouterA>enable
(vào chế độ Priviledge mode)

Quote:
RouterA#disable
(Thoát khỏi chế độ Priviledge mode)

Quote:
RouterA>logout
(Thoát hẳn ra khỏi Router)

Quote:
RouterA#configure terminal
( Vào chế độ Global configuration mode)

Quote:
RouterA(config)#hostname RA
(Dùng lệnh hostname để đặt tên cho Router)

Quote:
RA(config)#banner motd &Day la Router A&
(Đặt banner cho Router sẽ hiện câu thong báo khi đăng nhập vào Router)


Quote:
Press RETURN to get started

Day la Router A

RA>


Quote:
RA#show version
(Xem thông tin cấu h́nh và các thông số của Router)



Quote:
Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)

Technical Support: [Chỉ thành viên mới có thể xem liên kết này. Vui ḷng hoặc ]

Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Wed 27-Apr-04 19:01 by miwang

Image text-base: 0x8000808C, data-base: 0x80A1FECC



ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

ROM: C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)



System returned to ROM by reload

System image file is "flash:c2600-i-mz.122-28.bin"



cisco 2621 (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.

2 FastEthernet/IEEE 802.3 interface(s)

32K bytes of non-volatile configuration memory.

16384K bytes of processor board System flash (Read/Write)

--More--
Quote:
RA#show ip interface brief
(Xem thông tin về Card mạng của Router ví dụ : Router này có 2 Card FastEthernet)

Quote:
Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 unassigned YES manual administratively down down

FastEthernet0/1 unassigned YES manual administratively down down
Để đặt IP cho card mạng ta làm như sau :

Quote:
RA#enable

RA#configure terminal

RA(config)#interface f0/0 (F0/0 = FastEthernet 0/0)

RA(config-if)#ip address 192.168.1.100 255.255.255.0

RA(config-if)#no shutdown

Làm tương tự cho các Card mạng khác



Quote:
RA#show running-config
(Kiểm tra lại bằng lệnh show run)

Quote:
Building configuration...

Current configuration : 355 bytes

!

version 12.2

no service password-encryption

!

hostname RA

!

ip ssh version 1

!

!

interface FastEthernet0/0

ip address 192.168.1.100 255.255.255.0

duplex auto

speed auto

Mô tả cho 1 Cổng giao tiếp (Mô tả card mạng)

Quote:
RA#enable

RA#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

RA(config)#in

RA(config)#interface f0/0

RA(config-if)#des

RA(config-if)#description Card Internal
Kiểm tra lại bằng lệnh Show run thấy xuất hiện them Description cho card FastEthernet0/0

Quote:
RA#show running-config

Building configuration...



Current configuration : 382 bytes

!

version 12.2

no service password-encryption

!

hostname RA

!

interface FastEthernet0/0

description Card Internal

ip address 192.168.1.100 255.255.255.0


Lưu cấu hình



Dùng lệnh copy running-config startup-config hay write memory để lưu file cấu hình từ DRAM vào NVRAM (có thể dùng lệnh tắt copy run start hay wr)

Quote:
RA#copy running-config startup-config

Destination filename [startup-config]?

Building configuration...

[OK]


Xem lại file đã lưu trong NVRAM bằng lệnh

Quote:
RA#show startup-config
Updating...................

View more latest threads same category:
__________________
Muốn ăn th́ lăn vào bếp
Mail : [Chỉ thành viên mới có thể xem liên kết này. Vui ḷng hoặc ]
Reply With Quote
The Following 4 Users Say Thank You to PhongLG For This Useful Post:
khangves (05-29-2010), Mr. Phuoc (1 Week Ago), t2bg88 (3 Weeks Ago), Tony_nguyen19 (05-29-2010)
  #2  
Old 1 Week Ago
sinhnn sinhnn is offline
Thành Viên Mới
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hè hè
đồng chí c̣n bí kíp nào ko
cho a em giang hồ Cisco học với
Reply With Quote
  #3  
Old 1 Week Ago
Tony_nguyen19's Avatar
Tony_nguyen19 Tony_nguyen19 is offline
Tomy Tèo
 
Join Date: May 2010
Posts: 276
Thanks: 87
Thanked 66 Times in 40 Posts
Default

ạc vừa tậu dc cuốn sách lab cái là có bài liền >.< khâm phục thiệt, bác đá mọi vị trí mọi môn luôn khiếp thật
__________________
Chào mừng các bạn đến với Trung Tâm Đào Tạo Công Nghệ Thông Tin TechNet


Đao kiếm vô t́nh.

◦๑۩۞۩๑◦
▓█
▓█
▓█
▓█
▓█
▓█
__//▓█\\__
۩۞۩๑๑۩۞۩๑๑۩۞۩
\\™__Tony__™//
๑۩۞۩๑
║\▼/║
║\▼/║
║\▼/║
║\▼/║
║\▼/║
║\▼/║
║\▼/║
║\▼/║
║\▼/║
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +7. The time now is 08:13 PM.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
TECHNET IT Education Center

         
ChipLove's Family