當前位置:妙知谷 >

遊戲數碼 >電腦 >

交換機的基本配置

交換機的基本配置

本實驗的模擬實驗是在Cisco Pcket Tracer工具內操作

交換機的基本配置

操作方法

(01)在用户模式、特權模式、全局模式及接口模式之間轉換SW1#                                                            //用户模式SW1>enable                                                      //特權模式SW1#config terminal                                               //全局模式Enter configuration commands, one per line.  End with CNTL/1(config)#interface f0/0                                           //接口模式SW1(config-if)#exit                                                 //退回全局模式SW1(config)#exit                                                   //退回特權模式SW1#

(02)將交換機的名稱該為”student”;student#enablestudent#config tEnter configuration commands, one per line.  End with CNTL/ent(config)#hostname studentstudent(config)#

(03)將交換機的各個配置模式設置密碼為”cisco”;student(config)#enable password ciscostudent(config)#line console 0student(config-line)#line vty 0 4student(config-line)#password ciscostudent(config-line)#loginstudent(config-line)#end

(04)將交換機指定一個IP地址 10.10.10.x/24;student(config)#interface vlan 1student(config-if)#ip address student(config-if)#no shutdownstudent(config-if)#end

(05)開啟交換機的Telnet服務功能,並建立Telnet用户admin,口令cisco,並指定只能從10.10.10.y/24登入Telnet服務器;上面的陪我配置中遠程服務已經開啟,現在只需要將pc配置好就可以嘗試遠程登入了

交換機的基本配置 第2張
交換機的基本配置 第3張

(06)開啟交換機的www服務功能。student>enablestudent#config terstudent(config)#enable services web-sever

(07)查看配置情況student#show running-config如下圖為結果部分截圖,我們可以看到版本為12.1、主機名為student、用户模式進入密碼為cisco等等信息

交換機的基本配置 第4張
標籤: 交換機 配置
  • 文章版權屬於文章作者所有,轉載請註明 https://miaozhigu.com/sm/diannao/z0q4v.html