国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

配置Cisco交換機啟動及基本設置

2019-11-05 01:54:31
字體:
來源:轉載
供稿:網友

  本實驗是對Cisco Catalyst 1900系列交換機的啟動和基本設置的操作。

1.實驗目的

通過本實驗,讀者可以把握以下技能

熟悉交換機的開機界面;

對交換機進行基本的設置;

理解交換機的端口及其編號。

2.設備需求

本實驗需要以下設備:

Cisco Catalyst 1900系列交換機1臺,型號不限,企業版軟件,本實驗中使用了1912交換機;

PC機1臺,操作系統為Windows系列。裝有超級終端程序;

Console電纜1條及相應的接口轉換器。

3.線纜連接及配置說明

如圖3.1所示,PC機通過串口與交換機的Console端口相連。

配置Cisco交換機啟動及基本設置(圖一)


和路由器一樣,Cisco交換機的Console端口的缺省設置如下

端口速率:9600bit/s

數據位:8

奇偶校驗:無

停止位:1

流控:無

把PC機超級終端程序中串行端口的屬性設置成與上述參數一致后,便可以開始實驗。

4.實驗配置及監測結果

在PC機啟動正常,PC機與交換機使用Console電纜連接起來,并且已經進入超級終端程序的情況下。接通交

換機電源。

由于交換機沒有電源開關,接通電源即直接插上電源插頭。

監測清單3.1記錄了Catalyst 1912交換機啟動的全過程。

監測清單3-1 Catalyst 1912交換機啟動及基本配置

第1段:交換機的啟動

Catalyst 1900 Management Console

Copyright (c) Cisco Systems, Inc. 1993-1999

All rights reserved.

Emter[rose Edotopm Software

Ethernet Address: 00-04-DD-4E-9C-80

PCA Number: 73-3122-04

PCA Serial Number: FAB0503D0B4

Model Number: WS-C1912-EN

System Serial Number: FAB0503W0FA

Power Supply S/N PHI044207FR

PCB Serial Number: FAB0503D0B4,73-3122-04

1 user(s)now active on Management Console.

User Interface Menu

[M] Menus

[K] Command Line

[1] ip Configuration

[P] Console PassWord

Enter Selection:

第2段:進行交換機基本配置

Enter Selection: K

CLI session with the switch is open.

To end the CLI session, enter [Exit].

>?

Exec commands:

enable Turn on PRivileged commands

exit Exit from the EXEC

help Description of the interactive help system

ping Send echo messages

session Tunnel to module

show Show running system information

terminal Set terminal line parameters

>enable

#

#conft

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

(config)#?

Configure commands:

address-violation Set address violation action

back-pressure Enable back pressure

banner Define a login banner

bridge-group Configure port grouping using bridge groups

cdp Global CDP configuration subcommands

cgroup Enable CGMP

cluster Cluster configuration commands

ecc Enable enhanced congestion control

enable Modift enable password parameters

end Exit from configure mode

exit Exit from configure mode

help Description of the interactive help system

hostname Set the system's network name

interface Select an interface to configure

ip Global IP configureation subcommands

line Configure a terminal line

login Configure options for logging in

mac-address-table Configure the mac address table

monitor-port Set port monitoring

--More--

mlilticast-store-and-forward Enables multicast store and forward

network-port Set the network port

no Negate a cominand or set its defaults

port-channel Configure Fast EtherChannel

rip Routing information protocol configuration

service Configuration Command

sump-server Modify SNMP parameters

spantree Spanning subsystem

spantree-template Set bridge template parameter

storm-control Configure broadcast storm contfolpirameters

switching-mode Set the switching mode

tacacs-server Modify TACACS query parameters

tFTP Configure TFTP

uplink-fast Enable Uplink fast

vlan VLAN configuration

vlan-membership VLAN membership server configuration

vtp Global VTP configuration commands

(config)#SiostBiame SW1912

SW1912(config)#enabSe password ?

level Set exec level password

SW1912(config)#enable password level 1 pass1

SW1912(config)#enabSe password level 15 passl5

SW1912(config)#enable secret Cisco

SW1912#disable

SW1912>

SW1912>en

Enter password: ***** ( 鍵入cisco )

SW1912#conf t

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

SW1912(config)#ip address 192.168.1.1255.255.255.0

SW1912(config)#ip default-gateway 192.168.1.254

SW1912(config)#ip domain-name ?

WORD Domain name

SW1912(config)#ip domain-name cisco.com

SW1912(config)#ip name-server 200.1.1.1

SW1912(config)#end

SW1912#sh version

Cisco Catalyst 1900/2820 Enterprise Edition Software

Version V9.00,05 written from 192.168.000.005

Copyright (c) Cisco Systems, Inc. 1993-1999

SW1912 uptime is 0day(s)00hour(s)12minute(s)44secibd(s)

cisco Catalyst 1900(486sxl)processor with 2048K/1024K bytes of memory

Hardware board revision is 5

Upgrade Status: No upgrade currently in progress.

Config File Status: No configuration upload/download is in progress

15 Fixed Ethernet/IEEE802.3interface(s)

Base Ethernet Address: 00-04-DD-4E-9C-80

SW1912#show ip

IP Address:192.168.1.1

Subnet Mask:255.255.255.0

Default Gateway:192.168.1.254

Management VLANl: 1

Domain name:cisco.com

Name server1:200.1.1.1

HTTP server:Enabled

HTTP port: 80

RIP:Enabled

SW1912#show running-config

Building configuration...

Current configuration:

!

tftp accept

tftp server "192.168.0.5"

tftp filename "catl900EN.9.00.05.bin"

!

hostname "SW1912"

!

ip address 192.168.1.1255.255.255.0

ip default-gateway 192.168.1.254

ip domain-name "cisco.com"

ip name-server 200.1.1.1

!

enable secret 5 $l$FMFQ$mlNHW7EzaJpG9uhKPWBvf/

enable password level 1 "PASS 1"

enable password level 15 "PASS 15"

!

interface Ethernet 0/1

!

interface Ethernet 0/2

!

interface Ethernet 0/3

!

interface Ethernet 0/4

!

interface Ethernet 0/5

!

interface Ethernet 0/6

!

interface Ethernet 0/7

!

interface Ethernet 0/8

!

interface Ethernet 0/9

interface Ethernet 0/10

!

interface Ethernet 0/11

!

interface Ethernet 0/12

!

interface Ethernet 0/25

!

interface FastEthernet 0/26

!

interface FastEthernet 0/27

!

line console

end

SW1912#show int e0/l

Ethernet 0/1 is Suspended-no-linkbeat

802.1 dSTP State: Forwarding Forward Transitions:1

Port monitoring: Disabled

Unknown unicast flooding: Enabled

Unregistered multicast flooding: Enabled

Description:

Duplex setting: Half duplex

Back pressure: Disabled

Receive Statistics Transmit Statistics

Total good frames 0 Total frames 0

Total octets 0 Total octets 0

Broadcast/multicast frames 0 Broadcast/multicast frames 0

Broadcast/multicast octets 0 Broadcast/multicast octets 0

Good frames forwarded 0 Deferrals 0

Frames filtered 0 Single collisions 0

Runt frames 0 Multiple collisions 0

No buffer discards 0 Excessive collisions 0

Queue full discards 0

Errors: Errors: 

    第3段:重新啟動交換機查看配置保持情況

SW1912#reload

This command resets the switch. All configured system parameters and

static addresses will be retained. All dynamic addresses well be removed.

Reset system, [Y]es or [N]o? Yes

Catalyst 1900 Management Console

Copyright (c) Cisco Systems, Inc. 1993-1999

All rights reserved.

Enterprise Edition Software

Ethernet Address: 00-04-DD-4E-9C-80

PCA Number: 73-3122-04

PCA Serial Number: FAB0503D0B4

Model Number: WS-C 1912-A

System Serial Number: FAB0503W0FA

Power Supply S/N: PH1044207FR

PCB Serial Number: FAB0503DOB4,73-3122-04

----------------------

1 user(s) now active on Management Console.

User Interface Menu

[M]Menus

[K]Command Line

Enter Selection: K

Enter password: *****

CLI session with the switch is open.

To end the CLI session, enter [Exit].

SW1912>enable

Enter password: ***** (鍵入cisco )

SW1912#show running-config

…(與第2段中配置清單相同,此處省略)

(1)第1段是1912交換機加電后出現的顯示內容,依次列出了版權信息、軟件版本信息(企業版)、以太網地址(00.04,DD-4E-9C.80)以及各種序列號。

在以上信息之后,列出的"1 user(s)now active on Management Console"信息表明當前正有1個用戶使用治理控制臺,此用戶即超級終端程序。

最后列出了用戶接口菜單,有4項可供選擇,分別是菜單式(M)、命令行(K)、IP配置

(1)和控制臺口令(P)。4項中,CCNA考試主要考察命令行方式。

(2)第2段中選擇命令行方式,進入用戶命令模式。鍵入問號,可以看到此模式下的可用命令"它們都是非常簡單的命令。

(3)鍵入enable命令,進入特權執行模式。

(4)鍵入conft命令,進入配置模式。問號顯示了在全局配置模式下可以發出的全部指令,可以看到命令非常多,我們關心的是那些常用的并且可能會出現在CCNA考試中的命令。

(5)hostname SW1912命令給交換機命名為SW1912,命令立即生效,可以看到提示符已經變為"SW1912(config)#"。

(6)enable password(使能口令)是分等級的,從1到15共15個等級,其中等級1是最低等級;等級15是最高等級。即特權命令等級。

實驗中分別設置了level 1和level 15的使能口令pass1和pass15。

(7)在1912交換機的配置中,還可以設置enable secret(使能密碼)。使能密碼與使能口令的不同之處在于,使能口令在配置清單中是明碼顯示的,而使能密碼在配置清單中是密碼顯示的。

當交換機上設置了使能密碼后,level 15的使能口令便不再生效,在進入特權命令模式時。應輸入使能密碼。

(8)ip address命令設置當前交換機的IP地址為192.168.1.1,這是用于交換機治理的IP地址。

(9)ip default-gateway命令設置當前交換機的缺省網關。應注重的是,這個網關是為交換機本身設置的,與它所連接的其他網絡設備無關。換言之,此交換機所連接的所有PC機。服務器等設備都應在其操作系統中設置網關,交換機上的網關設置只對其自身有效。

(1O)ipdomain-name命令設置了交換機所在域的域名,實驗中設置的域名為cisco.com。

(11)ipname-server命令用來設置交換機所使用的域名服務器地址,此地址也是為交換機本身所使用的,所有與交換機相連的主機還應該設置自身的域名服務器地址。

(12)show version命令列出了交換機的版本、存儲器和端口等信息。本例中,主要信息包括:

軟件版本:Cisco Catalyst 100/2820企業版;

版本號:V9.00.05;

開機時間:0天0小時12分44秒;

處理器:Catalyst 1900(486sxl);

內存:2048KB/1024KB,共3MB內存 ;

端口信息:15個固定配置以太網端口;

基本以太網地址:00.04.DD.4E.9C.80。

(13)show ip命令列出了交換機有關IP協議的配置信息,可以看到前面相關命令的設置是否已生效。

(14)show running.con的命令列出了交換機的配置清單,它是檢查配置時最常用的命令。

除了剛剛設置的項目被顯示出來外,清單還顯示了端口信息,其中interface Ethernet是1OM以太網端口,interface FastEthernet是1OOM快速以太網端口。

編號O/n中的0是模塊號,1912交換機只有1個模塊,其編號是0。

編號O/n中的m的取值是1-22、25、26和27。1-12是10M以太網端口編號;25是AUI

端口(在機箱后面板上方26和27是100M快速以太網端口的編號,即前面板上標號為A和B的2個端口。

從配置清單可以看出,對于所有接口沒有進行任何配置。它們所使用的是缺省配置。

show interface命令可以列出接口(端口)的具體配置和統計信息。清單中列出了EO/l端口的有關信息,在接收和發送數據幀的統計中均為0,這是因為此端口沒有連接任何設備。

(15)第3段開始時使用reload命令重新啟動交換機,提示行表明配置參數和靜態MAC地址將被保留。而動態MAC地址將被清除。

(16)重新啟動后;交換機啟動界面有所變化。在用戶接口菜單項中只有菜單和命令行兩種方式可供選擇,這是因為IP參數和口令等已被設置。

(17)進入特權模式后,使用show running-config命令列出的配置清單與重新啟動交換機之前完全一樣,說明配置己經被完整地保存進NVRAM了。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 婺源县| 彰化县| 安龙县| 宣汉县| 密山市| 炉霍县| 马公市| 富源县| 尼玛县| 彭州市| 阳谷县| 丹东市| 武冈市| 贡山| 栖霞市| 罗平县| 中山市| 和林格尔县| 阜宁县| 沾化县| 鸡东县| 朝阳区| 沙田区| 宜川县| 周至县| 清苑县| 长子县| 孝义市| 巨鹿县| 原阳县| 文成县| 嘉义县| 淅川县| 宽城| 庄河市| 张家界市| 长治市| 长子县| 体育| 呼伦贝尔市| 沂南县|