cisco2960交換機 簡單配置

2021-06-19 12:53:41 字數 2474 閱讀 9966

2950是只支援二層的交換機

支援vlan

第1步:單擊「開始」按鈕,在「程式」選單的「附件」選項中單擊「超級終端」

第2步:在「名稱」文字框中鍵入「cisco」

第3步:在「連線時使用」下拉列表框中選擇與交換機相連的計算機的串列埠。台式電腦為「com 1」,筆記本為「com 3或者com 5」。

第4步:在「波特率」下拉列表框中選擇「9600」-確定.

如果通訊正常的話就會出現類似於如下所示的主配置介面,並會在這個視窗中就會顯示交換機的初始配置情況。

enter

enter

enter

no!1)配置交換機姓名

switch>ena

switch#configure 

enter

switch#configure terminal (進入配置狀態)

switch(config)#hostname 配置的交換機姓名 如:30floor-2960-1

30floor-2960-1(config)#end

30floor-2960-1#

2)配置交換機的ip

30floor-2960-1#configure terminal (進入配置狀態)

30floor-2960-1(config)#inte***ce vlan 1

30floor-2960-1(config)#ip address ip位址 子網掩碼

例如:30floor-2960-1(config)#ip address 10.11.90.10 255.255.255.0

30floor-2960-1(config)#no shutdown

30floor-2960-1(config)#end

30floor-2960-1#

30floor-2960-1#

3)配置交換機的 預設閘道器

30floor-2960-1(config)#ip default-gateway 閘道器ip

例如:30floor-2960-1(config)#ip default-gateway 10.11.90.254

4)設定路由

30floor-2960-1(config)#ip route 0.0.0.0 x.x.x.x

5)設定console口密碼

30floor-2960-1(config)#line console 0

30floor-2960-1(config-line)#password 輸入密碼

30floor-2960-1(config-line)#login

30floor-2960-1(config-line)#end

6)設定telnet的密碼

30floor-2960-1(config)#line vty 0 10

30floor-2960-1(config-line)#password 輸入密碼(yuxuan)

30floor-2960-1(config-line)#login

30floor-2960-1(config-line)#end

7)設定交換機的enable密碼

30floor-2960-1(config)#enable password 輸入密碼(xuan)

30floor-2960-1(config)#enable secret   輸入密碼(yuxuan)

30floor-2960-1(config)#end

8)將當前配置資訊儲存到快閃儲存器中

30floor-2960-1(config)#write

9)檢視交換機資訊

30floor-2960-1#

show version             檢視交換機版本資訊

show ip inte***ces       檢視交換機的ip位址

show inte***ce vlan 1    驗證管理ip位址已經配置並開啟

show ip redirect         檢視交換機的閘道器

show running-configure   檢視交換機當前的配置資訊

show configure           檢視交換機儲存的配置資訊

switch#write ;          儲存配置資訊

switch#show vtp ;       檢視vtp配置資訊

switch#show run ;       檢視當前配置資訊

switch#show vlan ;      檢視vlan配置資訊

switch#show inte***ce ; 檢視埠資訊

switch#show int f0/0 ;  檢視指定埠資訊

10)交換機基本配置步驟

1.登陸到交換機

2.進入特權模式

命令:enable

3.進入全域性配置模式

命令:configure terminal

4.進入相應的配置子模式

如:介面子模式

命令:inte***ce vlan 1

Cisco 2960交換機排錯

原始出處 作者資訊和本宣告。否則將追究法律責任。cisco 2960交換機排錯 運維部一卡座的網路埠,接了一台tp link 16 換機,突然有天,發現接在這個交換機上的所有pc都不通了,簡單檢查了一下,發現此交換機進線口不亮燈 卡座口與tp link交換機連線線 用測線儀測了下,發現8個燈亮,初步...

Cisco 2960交換機排錯

cisco 2960交換機排錯 運維部一卡座的網路埠,接了一台tp link 16 換機,突然有天,發現接在這個交換機上的所有pc都不通了,簡單檢查了一下,發現此交換機進線口不亮燈 卡座口與tp link交換機連線線 用測線儀測了下,發現8個燈亮,初步判斷是弱電井的2960相應的埠被shutdown...

cisco 2960交換機配置流程

cisco 2960交換機配置流程 配置步驟 注釋 配置密碼 switch en 特權模式 switch conf t 配置模式 switch config host sat2960 改變裝置名稱 switch config ena se cisco 特權口令 switch config line ...