Cisco 交换机配置入门

上传人:新** 文档编号:495432835 上传时间:2023-02-18 格式:DOCX 页数:38 大小:321.90KB
返回 下载 相关 举报
Cisco 交换机配置入门_第1页
第1页 / 共38页
Cisco 交换机配置入门_第2页
第2页 / 共38页
Cisco 交换机配置入门_第3页
第3页 / 共38页
Cisco 交换机配置入门_第4页
第4页 / 共38页
Cisco 交换机配置入门_第5页
第5页 / 共38页
点击查看更多>>
资源描述

《Cisco 交换机配置入门》由会员分享,可在线阅读,更多相关《Cisco 交换机配置入门(38页珍藏版)》请在金锄头文库上搜索。

1、Cisco 交换机配置入门机型:Cisco 3750想对交换机警醒配置。一般有两种方法:1、控制台端口(Console ):可以直接对交换机进行配置2、远程登录(Telnet ):通 过TELNET程序对已经设置了 IP的交换机进行远程配置,一般等控制台端口配置好交换机 的IP后才可以进行。除了以上的两种方法外,其实还有两种方法:1、WEB的配置方式。此方法只能配置一般的简单设置2、硬件自带的应用程序。专 用的程序,一般很少用建立控制台连接到交换机一般交换机自带一根Console线,一端连接到交换机的Comsole 口,一端连接到电脑的 串行口。打开超级终端,一般就可以连接到交换机。具体的参数

2、设置如下这样就可以连接到交换机了连接到交换机后,如果是第一次启动会要执行初始化操作,一般是设置交换机的名称, 密码等一般的信息。由于交换机已经初始化,如果要进行初始化操作,那就要进入特权EXEC模式,在命 令提示符号下输入:setup,就会启动初始化操作。刚才讲到了特权EXEC模式,这理就要讲一下觉换机的几种模式,不同的模式可以执行 不同的操作命令,首先来说两种基本的模式。一般为了安全考虑,CISCO将操作会话分为两个不同的访问级别:用户EXEC级别和特 权EXEC级别。用户EXEC级别只能使用有限的命令,且交换机显示Switch提示符,不能 对交换机进行配置。看例子,处于用户EXEC级别下的

3、状态:AITG_FrontekCoreSW特权EXEC级别下交换机显示Switch#提示符,能对交换机进行各种配置。看例子,处 于特权EXEC级别下的状态:输入en,进入特权EXEC级别,接着输入密码,进入特权EXEC级别AITG_FrontekCoreSWenPassword:AITG_FrontekCoreSW#看看,提示符变了,用户在用户EXEC级别输入enable(或en),然后输入密码,就可以进 入特权EXEC级别在交换机提示符下输入“?”,可以列出相应模式下交换机所支持的所有命令。退出特权EXEC级别模式:disable再用户EXEC级别输入?可以获得帮助信息:AITG_Front

4、ekCoreSW?Exec commands: Session number to resumeaccess-enable Create a temporary Access-List entryclear Reset functionsconnect Open a terminal connectiondisableTurn off privileged commandsdisconnect Disconnect an existing network connectionenableTurn on privileged commandsexitExit from the EXEChelpD

5、escription of the interactive help systemlockLock the terminalloginLog in as a particular userlogoutExit from the EXECname-connection Name an existing network connectionping rcommandSend echo messagesRun command on remote switchresumeResume an active network connectionsetSet system parameter (not co

6、nfig)showShow running system informationsystattelnetDisplay information about terminal linesOpen a telnet connectionterminalSet terminal line parameterstracerouteTrace route to destinationtunnelOpen a tunnel connectionwhereList active connections再特权EXEC级别输入?可以获得帮助信息:AITG_FrontekCoreSW#?Exec commands

7、:Session number to resumeaccess-enable Create a temporary Access-List entry access-template Create a temporary Access-List entryarchivemanage archive filescdChange current directoryclearReset functionsclockManage the system clockcnsCNS agentsconfigureEnter configuration modeconnectOpen a terminal co

8、nnectioncopy debug deleteCopy from one file to anotherDebugging functions (see also undebug)Delete a filediagnosticdirDiagnostic commands List files on a filesystemdisableTurn off privileged commandsdisconnectDisconnect an existing network connectiondot1xIEEE 802.1X Exec CommandsenableTurn on privil

9、eged commandseouEAPoUDPeraseErase a filesystemexitExit from the EXECformatFormat a filesystemfsckFsck a filesystemhelp ip lockDescription of the interactive help systemGlobal IP commandsLock the terminallogin logout mkdirLog in as a particular userExit from the EXECCreate new directorymonitorMonitor

10、ing different system eventsmoreDisplay the contents of a filename-connection Name an existing network connectionnoDisable debugging functionsnoNegate a command or set its defaultsping pwdSend echo messagesDisplay current working directoryrcommand Run command on remote switchreloadHalt and perform a

11、cold restartremoteRemote proceduresrenameRename a filerenewRenewresumeResume an active network connectionrmdirRemove existing directoryrshExecute a remote commandsendSend a message to other tty linessessionRun command on member switchsetSet system parameter (not config)setupshowRun the SETUP command

12、 facilityShow running system informationsystattelnetDisplay information about terminal linesOpen a telnet connectionterminalSet terminal line parameterstestTest subsystems, memory, and interfacestracerouteTrace route to destinationtunnelOpen a tunnel connectionudldUDLD protocol commandsundebugDisabl

13、e debugging functions (see also debug)upgradeUpgrade commandsverifyVerify a filevlanConfigure VLAN parametersvmpsVMPS actionsvtpConfigure global VTP statewhereList active connectionswrite Write running configuration to memory, network, or terminal其实还有几种模式如下:全局配置模式:Switch(config)#配置交换机的全局参数接口配置模式:Swi

14、tch(config-if)#对交换机的接口进行配置,如某个接口属于那个Vlan,启用及禁用接口等线路配置模式:Switch(config-line)#对控制台访问VLAN数据库配置模式:Switch(Vlan)#对Vlan的参数进行配置再稍候我们来慢慢将解这些相应的模式下的作用与用法。CDP协议概述CDP (Cisco Discovery Protocol, Cisco设备发现协议)用于发现直连的CISCO设备相关信 息。CDP利用直连的两个设备间定时发送hello信息(CDP数据包)维持邻居关系。直连设备互相之间交换的CDP包中的内容主要包括:对端设备的名称、对端设备的性能(如 交换机还是

15、路由器)、对端设备的平台(型号)、对端设备的IP地址(或管理IP)等信息。1.在基于IOS的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string2.在基于IOS的交换机上设置登录口令: switch(config)# enable password level 1 password在基于CLI的交换机上设置登录口令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS的交换机上设置远程访问:switch(config)# interface vlan 1switch(config-if)

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号