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)#interface 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 interfaces 查看交換機的ip地址
show interface 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 interface ; 查看埠資訊
switch#show int f0/0 ; 查看指定埠資訊
10)交換機基本配置步驟
1.登陸到交換機
2.進入特權模式
命令:enable
3.進入全域配置模式
命令:configure terminal
4.進入相應的配置子模式
如:介面子模式
命令:interface vlan 1
uj5u.com熱心網友回復:
感謝分享哦,歡迎散分來砸
uj5u.com熱心網友回復:
不錯,學習學習!!!uj5u.com熱心網友回復:
挺全面! 學習了!uj5u.com熱心網友回復:
很好很好,刷分利器!!uj5u.com熱心網友回復:
2950是很老的交換機了uj5u.com熱心網友回復:
2960是二層設備 配IP地址的目的是什么????uj5u.com熱心網友回復:
交換機二層設備配IP地址,可以作為管理IP,便于遠程連接
uj5u.com熱心網友回復:
很全面的基本知識了。不錯哦!轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/96843.html
標籤:交換及路由技術
上一篇:華三交換機 telnet登錄時輸入用戶名后。很快報 local authentication is rejected
