思科交换机配置命令大全.doc

思科交换机配置命令大全.doc文档页数:45文档大小:75.5KB文档格式:doc思科交换机配置命令大全 switch> 用户模式 1:进入特权模式enable switch>enable switch# 2:进入全局配置模式configureterminal switch>enable switch#configureterminal switch(conf)# 3:交...

思科交换机配置命令大全.doc

文档页数:45文档大小:75.5KB文档格式:doc

思科交换机配置命令大全 switch> 用户模式 1:进入特权模式enable switch>enable switch# 2:进入全局配置模式configureterminal switch>enable switch#configureterminal switch(conf)# 3:交换机命名hostnameaptech2950 以aptech2950为例 switch>enable switch #c onfigure terminal switch(conf)#hostname aptch-2950 aptech2950(conf)# 4:配置使能口令enablepasswordcisco 以cisco为例
switch>enable switch#configure terminal switch(conf)#hostnameaptch2950 aptech2950(conf)#enablepassword cisco 5:配置使能密码enablesecretciscolab 以cicsolab为例 switch>enable switch #configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)#enablesecretciscolab 6:设置虚拟局域网vlan1interfacevlan1 switch>enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)#interface vlan1 aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0 配置交换机端口 ip和子网掩码
aptech2950(conf-if)#no shut 是配置处于运行中 aptech2950(conf-if)#exit aptech2950(conf)#ip default-gateway192.168.254 设置网关地址 7:进入交换机某一端口interfacefastehernet0/17 以17端口为例 switch>enable switch#configureterminal switch(conf)#hostname aptch2950 aptech2950(conf)#interface fastehernet 0/17 aptech2950(conf-if)# 8:查看命令show switch>enable switch#showversion察看系统中的版本信息 showinterfacevlan1查看交换机有关ip协议的配置信息 showrunning-configure查看交换机当前起作用的配置信息 showinterfacefastethernet0/1察看交换机1接口具体配置和统计信息
show mac-address-table 查看mac地址表 9:交换机恢复出厂默认恢复命令 switch>enable switch#erase startup-configure switch#reload 10:双工模式设置 switch> enable switch#configureterminal switch2950(conf)#hostname aptch-2950 aptech2950(conf)#interfacefastehernet 0/17 以17端口为例 aptech2950(conf-if)#duplexfull/half/auto 有full,halfauto三个 可选项 11:cdp相关命令 switch>enable switch#show cdp 查看设备的cdp全局配置信息
showcdpinterfacefastethernet0/17查看17端口的cdp配置信息 show cdp traffic 查看有关cdp包的统计信息 showcdpnerghbors列出与设备相连的cisco设备 12:csico2950的密码恢复 拔下交换机电源线.

用手按着交换机的MODE键,插上电源线 在switch:后执行flash_ini命令:switch:flash_ini 查看flash中的文件:switch:dirflash: 把“config.text”文件改名为“config.old”:switch:rename flash:config.text flash: config.old 执行boot:switch:boot 交换机进入是否进入配置的对话,执行no: 进入特权模式察看flash里的文件:showflash: 把“config.old”文件改名为“config.text” : switch:rename flash: config.oldflash:config.text 把“config.text”拷入系统的“running-configure”:copyflash:config.text system:running-configure

本文来自心城以北投稿,不代表文丁图集立场,如若转载,请注明出处:https://www.2b34.com/blog/91605.html

打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
() 0
上一篇 03-01
下一篇 03-02

相关推荐

  • 华为交换机调试工程师命令大全之路由器命令.doc

    华为交换机调试工程师命令大全之路由器命令.doc文档页数:6文档大小:22.5KB文档格式:doc[Quidway]display version ;显示版本信息 [Quidway]display current-configuration ;显示当前配置 [Quidway]displayinterfaces ;显示接口信息 [Quidway]display ip route ;显示路由

    2025-10-25 18:56:01
    65 0
  • 思科交换机基本配置命令大全.docx

    思科交换机基本配置命令大全.docx文档页数:17文档大小:30.16KB文档格式:docx思科交换机基本配置命令大全一 1. switch (config)# hostname hostname 在基于CLI的交换机上设置主机名/系统名: switch(enable) set system name namestring 2.在基于I0S的交换机上设置登录口令

    2025-09-17 00:16:01
    377 0
  • 锐捷交换机配置命令.doc

    锐捷交换机配置命令.doc文档页数:11文档大小:31.5KB文档格式:doc锐捷交换机配置命令 交换机基本操作: 1.进入特权模式 Switch>enable Switch# 2.返回用户模式 Switch#exit Press RETURN to get started! Switch> 配置模式: 全局配置模式[主机名(config)#]:配置交

    2025-09-16 18:00:01
    586 0
  • 华为QuidWay交换机配置命令.doc

    华为QuidWay交换机配置命令.doc文档页数:13文档大小:34.5KB文档格式:doc计算机命令 PCAlogin:root ;使用root用户 password:linux ;口令是linux #shutdown-h now ;关机 #init 0 ;关机 nobo|# #login #ifconfig ;显示IP地址 #ifconfig ethonetmask ;设置IP地址 #ifcon

    2025-05-18 16:08:01
    116 0

评论列表

联系我们

在线咨询: QQ交谈

邮件:admin@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信