思科交換機設置telnet連接_第1頁
思科交換機設置telnet連接_第2頁
思科交換機設置telnet連接_第3頁
思科交換機設置telnet連接_第4頁
思科交換機設置telnet連接_第5頁
已閱讀5頁,還剩1頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、為思科交換機配置IP,組建小局域網(wǎng):Switch(config)#interface vlan 1 /進入vlan1 默認vlan 進行管理Switch(config-if)#ip address ip_address subnet_mask /輸入交換機IP和子網(wǎng)掩碼Switch(config-if)#no shutdown /注意一定要輸入這個命令才能使設置生效,激活設置Switch (config)#ip default-gateway ipaddress /設置默認網(wǎng)關實例:Switch(config)#interface vlan 1 Switch(config-if)#ip add

2、ress 10.0.0.60 255.255.255.0Switch(config-if)#no shutdown Switch (config)#ip default-gateway 10.0.0.60PC1:設置10.0.0.61 netmask 255.255.255.0 gw 10.0.0.60PC2:設置 10.0.0.62 netmask 255.255.255.0 gw 10.0.0.60設置好后,就可以通過PC1 PING到 網(wǎng)關交換機 和 PC2 了。思科交換機配置telnetSwitch(config)# line vty0 4 /進入虛擬線程配置模式,在這個模式里可對/t

3、elnet功能進行配置Switch(config-line)# loginSwitch(config-line)# password XXX /配置telnet密碼,默認的網(wǎng)絡設備telnet的功能是關閉的,配了密碼之后會自動打開Switch(config)# enable password XXX /配置進入enable模式的密碼, 區(qū)分大小寫Switch(config-line)# loginSwitch(config-line)# password XXX /配置進入用戶模式的密碼Switch#copy running-config startup-config /保存配置 -實例:Sw

4、itch(config)# line vty0 4 Switch(config-line)# loginSwitch(config-line)# password 123 Switch(config)# enable password 123Switch(config-line)# loginSwitch(config-line)# password 123Switch#copy running-config startup-config 設置完成后可以通過PC1 10.0.0.61 連接交換機:PCtelnet 10.0.0.60Trying 10.0.0.60 .OpenUser Acce

5、ss VerificationPassword: SwitchenablePassword: Switch#sh ruBuilding configuration.Current configuration : 1157 bytes!version 12.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!enable password 123321!interface FastEtherne

6、t0/1 storm-control broadcast level 1!interface FastEthernet0/2 storm-control broadcast level 1!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0

7、/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 ip address 10.0.0.60 255.255.0.0!ip defaul

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論