Cisco 2800如何恢复出厂配置?
只需要删除startup-config就可以了,具体配置如下命令可使startup-config清空,Router>enable Router#erase startup-config 接下来重启路由器:Router#reload
Cisco2800如何恢复出厂配置?
你说的恢复出厂设置,是指破解密码嘛?
cisco交换机配置?cisco交换机恢复出厂配置
cisco交换机是一种用于电信号转发的网路设备。它可以为接入交换机的任意两个网路节点提供独享的电信号通路。常见的交换机是cisco乙太网交换机。其他常见的还有cisco电话语音交换机、cisco光纤交换机等。
cisco交换机配置
CISCOWS-C2960-24TC-L应用层级:二层。传输速率:10/100Mbps。背板频宽:4.4Gbps。包转发率:6.5Mpps。MAC地址表:8K。埠数量:26个。传输模式:全双工/半双工自我调整。网路管理:Web流览器,SNMP,CLI。产品尺寸:44×445×236mm。
CISCOWS-C3560X-24T-S产品类型:千兆乙太网交换机。应用层级:三层。背板频宽:160Gbps。包转发率:65.5Mpps。MAC地址表4K。埠描述:24个10/100/1000乙太网埠。电源电压:AC 115-240V,50-60Hz,12-6A。产品尺寸:44.5×445×460mm。
cisco交换机忘记密码
1.建立PC到路由器的物理连接,用RS232 CONSOLE线(随交换机带)连接路由器CONSOLE介面和PC的COM口。
2.在电脑上使用超级终端:打开“开始-程式-附件-通讯-超级终端—新建超级终端”,首先为新建连接设置名称。然后,设置连接用埠,一般选择COM1。再设置连接参数,按一下“还原为预设值”按钮,设置参数如下,每秒位元数为9600,资料位元为8,
同位为无,停止位为1,资料流程控制为无。
3.打开交换机电源,开机30秒内,按住交换机前面板左下方的MODE键。
4.进入BOOT模式,显示有3个选项,输入“flash_init”命令,开始初始化FLASH。
5.输入“load_helper”命令,执行“dir flash:”命令。
cisco交换机功率
cisco交换机每埠功率:15.4W
乙太网供电总专用功率:370W
cisco交换机恢复出厂配置
首先将交换机的电源拔下来,然后用手指按住交换机上面的“mode”键。将交换机的电源插上,手指一直按住mode键等待大约12秒左右就会进入rommmon模式。然后再次按住交换机上面的mode键,等待大约12秒之后。交换机小面的3个灯开始闪动,等待2个灯的颜色全部变为橙色时松开手指,交换机进入自动重启状态,等待交换机开启之后就已经恢复为出厂设置了。
思科交换机常用的100个命令
思科交换机常用的100个命令
在思科交换机上的命令有哪些?哪些命令实用,你知道吗?下面我为大家分享常用的思科交换机基本命令,希望能帮助到大家!
1:进入特权模式enable
switch> enable
switch#
2:进入全局配置模式configure terminal
switch> enable
switch#c onfigure terminal
switch(conf)#
3:交换机命名hostname aptech2950 以aptech2950 为例
switch> enable
switch#c onfigure terminal
switch(conf)#hostname aptch-2950
aptech2950(conf)#
4:配置使能口令enable password cisco 以cisco 为例
switch> enable
switch#c onfigure terminal
switch(conf)#hostname aptch2950
aptech2950(conf)# enable password cisco
5:配置使能密码enable secret ciscolab 以cicsolab 为例
switch> enable
switch#c onfigure terminal
switch(conf)#hostname aptch2950
aptech2950(conf)# enable secret ciscolab
6:设置虚拟局域网vlan 1 interface vlan 1
switch> enable
switch#c onfigure terminal
switch(conf)#hostname aptch2950
aptech2950(conf)# interface vlan 1
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-gateway 192.168.254 设置地址
7:进入交换机某一端口interface fastehernet 0/17 以17 端口为例
switch> enable
switch#c onfigure terminal
switch(conf)#hostname aptch2950
aptech2950(conf)# interface fastehernet 0/17
aptech2950(conf-if)#
8:查看命令show
switch> enable
switch# show version 察看系统中的所有版本信息
show interface vlan 1 查看交换机有关ip 协议的配置信息
show running-configure 查看交换机当前起作用的配置信息
show interface fastethernet 0/1 察看交换机1 接口具体配置和统计信息
show mac-address-table 查看mac 地址表
show mac-address-table aging-time 查看mac 地址表自动老化时间
9:交换机恢复出厂默认恢复命令
switch> enable
switch# erase startup-configure
switch# reload
10:双工模式设置
switch> enable
switch#c onfigure terminal
switch2950(conf)#hostname aptch-2950
aptech2950(conf)# interface fastehernet 0/17 以17 端口为例
aptech2950(conf-if)#duplex full/half/auto 有full , half, auto 三个可选
项11:cdp 相关命令
switch> enable
switch# show cdp 查看设备的cdp 全局配置信息
show cdp interface fastethernet 0/17 查看17 端口的cdp 配置信息
show cdp traffic 查看有关cdp 包的统计信息
show cdp nerghbors 列出与设备相连的cisco 设备
12:csico2950 的密码恢复
拔下交换机电源线。
用手按着交换机的MODE 键,插上电源线
在switch:后执行flash_ini 命令:switch: flash_ini
查看flash 中的文件: switch: dir flash:
把“config.text”文件改名为“config.old”: switch: rename flash: config.text flash: config.old
执行boot: switch: boot
交换机进入是否进入配置的对话,执行no :
进入特权模式察看flash 里的文件: show flash :
把“config.old”文件改名为“config.text”: switch: rename flash: config.old flash: config.text
把“ config.text ” 拷入系统的“ running-configure ”: copy flash: config.text system :
running-configure
把配置模式重新设置密码存盘,密码恢复成功。
13:交换机telnet 远程登录设置:
switch>en
switch#c onfigure terminal
switch(conf)#hostname aptech-2950
aptech2950(conf)#enable password cisco 以cisco 为特权模式密码
aptech2950(conf)#interface fastethernet 0/1 以17 端口为telnet 远程登录端口
aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0
aptech2950(conf-if)#no shut
aptech2950(conf-if)#exit
aptech2950(conf)line vty 0 4 设置0-4 个用户可以telnet 远程登陆
aptech2950(conf-line)#login
aptech2950(conf-line)#password edge 以edge 为远程登录的用户密码
主机设置:
ip 192.168.1.2 主机的ip 必须和交换机端口的地址在同一网络
段netmask 255.255.255.0
gate-way 192.168.1.1 地址是交换机端口地址
运行:
telnet 192.168.1.1
进入telnet 远程登录界面
password : edge
aptech2950>en
password: cisco
aptech#
14:交换机配置的重新载入和保存
设置完成交换机的配置后:
aptech2950(conf)#reload
是否保存(y/n) y: 保存设置信息n:不保存设置信息
1.在基于IOS 的.交换机上设置主机名/系统名:
switch(config)# hostname hostname
在基于CLI 的交换机上设置主机名/系统名:
switch(enable) set system name name-string
2.在基于IOS 的交换机上设置登录口令:
switch(config)# enable password level 1 password
在基于CLI 的交换机上设置登录口令:
switch(enable) set password
switch(enable) set enalbepass
3.在基于IOS 的交换机上设置远程访问:
switch(config)# interface vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address
在基于CLI 的交换机上设置远程访问:
switch(enable) set interface sc0 ip-address netmask broadcast-address
switch(enable) set interface sc0 vlan
switch(enable) set ip route default gateway
4.在基于IOS 的交换机上启用和浏览CDP 信息:
switch(config-if)# cdp enable
switch(config-if)# no cdp enable
为了查看Cisco 邻接设备的CDP 通告信息:
switch# show cdp interface [type modle/port]
switch# show cdp neighbors [type module/port] [detail]
在基于CLI 的交换机上启用和浏览CDP 信息:
switch(enable) set cdp {enable|disable} module/port
为了查看Cisco 邻接设备的CDP 通告信息:
switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]
5.基于IOS 的交换机的端口描述:
switch(config-if)# description description-string
基于CLI 的交换机的端口描述:
switch(enable)set port name module/number description-string
6.在基于IOS 的交换机上设置端口速度:
cisco3560交换机如何恢复出厂设置?
Switch#erase startup-config\x0d\x0aSwitch#delete flash:vlan.dat\x0d\x0aSwitch#reload\x0d\x0a当系统提示是否保存配置时,选择no
cisco ap恢复出厂设置
朋友问我cisco ap怎么恢复出厂设置?其实类似于交换机一样,按住MODE键开机,让机器启动进入AP:模式。然后flash初始化后,更名或者删除配置文件,然后boot或者reset!我在网上找了很多教程,给大家总结一下,希望大家喜欢。
1.开机前,压住reset钮不放,打开电源,持续压住超过20-30秒,此时灯号会闪烁的跟不平常一样,这样就会恢复程默认值了!
2.恢复出厂设置:在特权模式下erase startup-config;
3.默认地址:按住mode键灌IOS的时候,AP默认地址是10.0.0.1,要想GUI访问AP,需要先console口进入后,设置BVI地址才能访问。
【注意】
AP的reset键是否能恢复出厂设置(只有WA2600与老WA1208E系列支持)
1.长按住RESET键5秒后FAT AP会恢复出厂配置,所做的保存后的配置会丢失。
2.按住RESET键1-2秒后FAT AP只是重启,不会恢复出厂配置,保存后的配置仍然存在
其他型号AP按住reset键,只能重启设备,不能用来恢复出厂。
CISCO 路由器如何恢复到出厂的设置?
步骤如下:
一、Cisco 1000,1600,2500,4000系列
1、IOS映像恢复的方法及步骤
1) 连接PC的COM1口与路由器的console口,使用PC的超级终端软件访问该路由器;
2)
开启路由器的电源开关,并在30秒内按下键盘的Ctrl+break,中断路由器的正常启动以进入rom监视模式,屏幕上提示符如下:
>3) 键入如下命令:
>o /r 0x2101
改变路由器虚拟寄存器的默认值(0x2102);
4) 键入重启命令:
>i
路由器重启,当屏幕显示以下信息表明路由器重启完毕:
System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
2500 processor with 1024 Kbytes of main memory
…Press RETURN to get started!
5) 路由器在虚拟寄存器的值为0x2101时自动进入rom启动模式:
router(boot)>
6) 此时,将TFTP服务器上的IOS映像文件恢复至路由器flash memory中,依次键入以下命令:
router(boot)>en
router(boot)#copy tftp flash
System flash directory:
No files in System flash
Address or name of remote host
?192.168.18.168(IP地址已作技术处理,下同)
Source file name? igs-i-l.110-22a.bin(IOS映像文件名)
Destination file name ?
Accessing file 'igs-i-l.110-22a.bin' on
192.168.18.168...
Loading igs-i-l.110-22a.bin from 192.168.18.168 (via
Ethernet0): !
Device needs erasure before copying new file
Erase flash device before writing?
Copy 'igs-i-l.110-22a.bin' from server
as 'igs-i-l.110-22a.bin' into Flash WITH erase?
yErasing device... eeeeeeeeeeeeeeee ...erased
Loading igs-i-l.110-22a.bin from 192.168.18.168 (via
Ethernet0): !!!!!!!!!!!!!!!!!!!!(!表示恢复成功)
7) 还原路由器虚拟寄存器的默认值(0x2102),恢复路由器的正常启动顺序,依次键入以下命令:
router(boot)#conf t
router(boot)(config)#config-register 0x2102
router(boot)(config)#exit
router(boot)#wr
router(boot)#reload
2、IOS映像升级的方法及步骤
1) 升级之前先备份,将相关文件备份至TFTP服务器,键入如下命令:
router#copy bootflash tftp(Cisco
2500系列路由器不存在bootflash,相应的是rom)
router#copy flash tftp
router#copy startup-config tftp
2) 因为Cisco 1000,1600,2500,4000系列路由器不允许在正常工作状态下重写flash
memory,所以只有进入rom(或bootflash)启动模式才能升级IOS映像,依次键入以下命令:
router#conf t
router(config)#config-register 0x2101
router(config)#exit
router#wr
router#reload
3)路由器重启完毕后进入rom(或bootflash)启动模式,从TFTP服务器将新的IOS映像文件拷贝至路由器的flashmemory中:
router(boot)#copy tftp flash
4) 还原路由器虚拟寄存器的默认值(0x2102),恢复路由器的正常启动顺序,依次键入以下命令:
router(boot)#conf t
router(boot)(config)#config-register 0x2102
router(boot)(config)#exit
router(boot)#wr
router(boot)#reload
以上就是cisco ap进行时间恢复出厂设置的所有作啦,喜欢能帮助到各位朋友。
思科交换机常用命令及配置?
思科释出一个安全公告,详细介绍了其2个关键的交换机和路由器产品线的防火墙服务模组中存在的多个安全漏洞。下面是我收集整理的,希望对大家有帮助~~
switch> 使用者模式
1:进入特权模式enable
switch> enable
switch#
2:进入全域性配置模式configure terminal
switch> enable
switch#configure terminal
switchconf#
3:交换机命名hostname name 以cisco001 为例
switch> enable
switch#c onfigure terminal
switchconf#hostname cisco001
cisco001conf#
4:配置使能口令未加密enable password cisco 以cisco 为例
switch> enable
switch#configure terminal
cisco001conf# enable password cisco
5:配置使能密码加密enable secret ciscolab 以cicsolab 为例
switch> enable
switch#configure terminal
switchconf# enable secret ciscolab
6:设定虚拟区域网vlan 1 interface vlan 1
switch> enable
switch#configure terminal
switchconf# interface vlan 1
switchconf# ip address 192.168.1.1 255.255.255.0 配置交换机埠ip 和子网掩码
switch conf-if#no shut 启用埠
switch conf-if#exit
switch conf#ip default-gateway 192.168.254 设定闸道器地址
7:进入交换机某一埠interface fastehernet 0/17 以17 埠为例
switch> enable
switch#configure terminal
switchconf# interface fastehernet 0/17
switchconf-if#
8:检视命令show
switch> enable
switch# show version 察看系统中的所有版本资讯
show interface vlan 1 检视交换机有关ip 协议的配置资讯
show running-configure 检视交换机当前起作用的配置资讯
show interface fastethernet 0/1 察看交换机1 介面具体配置和统计资讯
show mac-address-table 检视mac 地址表
9:交换机恢复出厂预设恢复命令
switch> enable
switch# erase startup-configure
switch# reload
10:交换机的密码恢复
拔下交换机电源线。
用手按著交换机的MODE 键,插上电源线
在switch:后执行flash_ini 命令:switch: flash_ini
检视flash 中的档案: switch: dir flash:
把“config.text”档案改名为“config.old”: switch: rename flash: config.text flash: config.old
执行boot: switch: boot
交换机进入是否进入配置的对话,执行no :
进入特权模式察看flash 里的档案: show flash :
把“config.old”档案改名为“config.text”: switch: rename flash: config.old flash: config.text
把“ config.text ” 拷入系统的“ running-configure ”: copy flash: config.text system :
running-configure
重新设定密码并储存。
11.交换机telnet 远端登入设定:
switch>en
switch#configure terminal
swichconf#enable password cisco 以cisco 为特权模式密码
swichconf#interface vlan 1 以vlan 1埠作为远端登入的介面,其他埠亦可
swichconf-if#ip address 192.168.1.1 255.255.255.0
swichconf-if#no shut
swichconf-if#exit
swichconfline vty 0 4 设定0-4 个使用者可以telnet 远端登陆
swichconf-line#login
swichconf-line#password 123456
12.交换机ssh远端登入设定:
a.设定一个非预设的hostname
Switchconfig#hostname cisco
b.配置域名:
ciscoconfig#ip domain-name test
c.指定加密长度:
ciscoconfig#crypto key generate rsa
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
d.将vty线路下的登入方式改为 ssh
ciscoconfig#line vty 0 4
ciscoconfig-line#transport in ssh
13.配置vtp同步
说明:VTPVLAN Trunking Protocol:是VLAN中继协议,它是思科私有协议。作用是同步各个交换机之间的VLAN资讯。
要使用VTP,首先必须建立一个VTP管理域,在同一个管理域中交换机共享vlan资讯,并且一个交换机只能参加一个管理域,交换机之间使用trunk口连线。
方法/步骤
配置例项:
要求配置switch0、switch1、switch2实现vlan共享,并在switch0上新增、删除vlan,检视switch1、switch2是否同步
配置命令参考:
Switch0:
switch0config#vtp domain test 配置vtp 管理域
switch0config#vtp password 123 配置vtp密码
Switch0config#interface fa0/1 配置介面模式为trunk
Switch0config-if#switchport mode trunk
switch0config#int fa0/2
switch0config-if#switchport mode trunk
switch1:
switch1config#vtp domain test 配置vtp 管理域
switch1config#vtp password 123 配置vtp密码
Switch1config#interface fa0/1 配置介面模式为trunk
Switch1config-if#switchport mode trunk
switch2:
switch2config#vtp domain test 配置vtp 管理域
switch2config#vtp password 123 配置vtp密码
Switch2config#interface fa0/1 配置介面模式为trunk
Switch2config-if#switchport mode trunk
在switch0 上新增vlan2,vlan3 :
switch0config#vlan 2
switch0config-vlan#exit
switch0config#vlan 3
switch0config-vlan#exit
switch0config#
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至836084111@qq.com 举报,一经查实,本站将立刻删除。