cisco设备的基本配置命令

cisco设备的基本配置命令

ID:1534962

大小:42.00 KB

页数:8页

时间:2017-11-12

cisco设备的基本配置命令_第1页
cisco设备的基本配置命令_第2页
cisco设备的基本配置命令_第3页
cisco设备的基本配置命令_第4页
cisco设备的基本配置命令_第5页
资源描述:

《cisco设备的基本配置命令》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、switch>         用户模式1:进入特权模式  enableswitch>enableswitch#2:进入全局配置模式  configureterminalswitch>enableswitch#configureterminalswitch(conf)#3:交换机命名hostnameaptech2950     以aptech2950为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch-2950aptech2950(c

2、onf)#4:配置使能口令  enablepasswordcisco    以cisco为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#enablepasswordcisco5:配置使能密码  enablesecretciscolab    以cicsolab为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2

3、950aptech2950(conf)#enablesecretciscolab6:设置虚拟局域网vlan1   interfacevlan1switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#interfacevlan1aptech2950(conf-if)#ipaddress192.168.1.1255.255.255.0      配置交换机端口ip和子网掩码aptech2950(conf-

4、if)#noshut                              是配置处于运行中aptech2950(conf-if)#exitaptech2950(conf)#ipdefault-gateway192.168.254             设置网关地址7:进入交换机某一端口interfacefastehernet0/17           以17端口为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950ap

5、tech2950(conf)#interfacefastehernet0/17aptech2950(conf-if)#8:查看命令  showswitch>enableswitch#showversion  察看系统中的所有版本信息showinterfacevlan1  查看交换机有关ip协议的配置信息showrunning-configure查看交换机当前起作用的配置信息showinterfacefastethernet0/1  察看交换机1接口具体配置和统计信息showmac-address-table  

6、      查看mac地址表showmac-address-tableaging-time  查看mac地址表自动老化时间9:交换机恢复出厂默认恢复命令  switch>enableswitch#erasestartup-configureswitch#reload10:双工模式设置switch>enableswitch#configureterminalswitch2950(conf)#hostnameaptch-2950aptech2950(conf)#interfacefastehernet0/17   

7、              以17端口为例aptech2950(conf-if)#duplexfull/half/auto                    有full,half,auto三个可选项11:cdp相关命令switch>enableswitch#showcdp    查看设备的cdp全局配置信息showcdpinterfacefastethernet0/17    查看17端口的cdp配置信息showcdptraffic     查看有关cdp包的统计信息showcdpnerghbors  列出

8、与设备相连的cisco设备12:csico2950的密码恢复拔下交换机电源线。用手按着交换机的MODE键,插上电源线在switch:后执行flash_ini命令:switch:flash_ini查看flash中的文件:switch:dirflash:把“config.text”文件改名为“config.old”:switch:renameflash:config.textflash:c

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。