路由器初始配置向导
10-15 21:47:25
来源:http://www.qz26.com 网络基础知识 阅读:8993次
导读: Host name的设置: Hostname 2、Setup接口参数: 设置接口参数,如以太网口、TokenRing口、同步口、异步口等。包括IP地址、子 网屏蔽、TokengRing速率等。 3、Setup描述: 在设置完以上参数后,该命令提示是否要用以上的配置,假如回答是"YES"则系统 会存储以上的配置参数,系统就可以使用了。 4、 Setup相关命令: Show config write memory write erase reload setup 5、路由器丢失PASSWORD的恢复 以下办法可以恢复: enable secret password (适合10。3(2)或更新的版本) enable password console password 通过修改Configuration Register(出厂为0x2102),使路由器忽略PASSWORD,这 样就可以进入路由器,就可以看到enable password和Console password,但ena ble s
路由器初始配置向导,标签:网络基础,计算机网络基础知识,http://www.qz26.com
Host name的设置:
Hostname
2、Setup接口参数:
设置接口参数,如以太网口、TokenRing口、同步口、异步口等。包括IP地址、子
网屏蔽、TokengRing速率等。
3、Setup描述:
在设置完以上参数后,该命令提示是否要用以上的配置,假如回答是"YES"则系统
会存储以上的配置参数,系统就可以使用了。
4、 Setup相关命令:
Show config
write memory
write erase
reload
setup
5、路由器丢失PASSWORD的恢复
以下办法可以恢复:
enable secret password (适合10。3(2)或更新的版本)
enable password
console password
通过修改Configuration Register(出厂为0x2102),使路由器忽略PASSWORD,这
样就可以进入路由器,就可以看到enable password和Console password,但ena
ble secret password以被加密,只能替换。
可以进入的configuration Registe
r值为0x142.
· 运行password恢复可能会使系统DOWN掉一个半小时;
· 将Console terinal连在路由器的Console口上,确认终端设置为9600bps、8
Data bit 、No parity、1 stop bit;
· show version显示Configuration Register 0x2102;
· 关机再开,按"Ctrl+ Break",进入ROM MONITOR状态,提示符为">";
· 键入"> o/r 0x142",修改 Configuration Register到0x142,可以忽略原先的
password;
· 键入"> initialize",初始化路由器,等一段时间后,路由器会出现以下提示
:
"system configuration Diaglog ……"
Enter "NO"
提示"Press RETURN to get started!" ,Press "Enter"
· 进入特权模式
Router>enable
Router#show startup-config
这样就可以得到password(enable&console password)
· 修改password
"Router#config ter"
"Router(config)# enable secret cisco"
"Router(config)# enable password cisco1"
"Router(config)# line con 0"
"Router(config)# password cisco"
"Router(config)# config-register 0x2102"
"ctrl + Z"
"Router#copy running-config startup-config"
"reload"
· 以password cisco进入特权用户。
三、路由器配置
1)路由器模式
在Cisco 路由器中,命令解释器称为EXEC,EXEC解释用户键入的命令并执行相应
的操作,在输入EXEC命令前必须先登录到路由器上。基于安全原因,EXEC设置了
两个访问权限:用户级和特权级,用户级可执执行的命令是特权级命令的子集。
在特权级,可以使用:configuration,interface,subinterface,line,rout
er,router-map等命令。
2)配置模式
使用Config命令可进入配置模式,进入该模式后,EXEC提示用户可用的配置方式
如终端、NVRAM、网络三种,缺省是终端方式。
3)IP路由协议模式
在配置模式下输入Router命令,可进入IP路由协议模式,可选的路由协议一般有
:bgp、egp、igrp、eigrp、rip等动态路由和静态路由。
4)接口配置模式
Host name的设置:
Hostname
2、Setup接口参数:
设置接口参数,如以太网口、TokenRing口、同步口、异步口等。包括IP地址、子
网屏蔽、TokengRing速率等。
3、Setup描述:
在设置完以上参数后,该命令提示是否要用以上的配置,假如回答是"YES"则系统
会存储以上的配置参数,系统就可以使用了。
4、 Setup相关命令:
Show config
write memory
write erase
reload
setup
5、路由器丢失PASSWORD的恢复
以下办法可以恢复:
enable secret password (适合10。3(2)或更新的版本)
enable password
console password
通过修改Configuration Register(出厂为0x2102),使路由器忽略PASSWORD,这
样就可以进入路由器,就可以看到enable password和Console password,但ena
ble secret password以被加密,只能替换。
可以进入的configuration Registe
r值为0x142.
· 运行password恢复可能会使系统DOWN掉一个半小时;
· 将Console terinal连在路由器的Console口上,确认终端设置为9600bps、8
Data bit 、No parity、1 stop bit;
· show version显示Configuration Register 0x2102;
· 关机再开,按"Ctrl+ Break",进入ROM MONITOR状态,提示符为">";
· 键入"> o/r 0x142",修改 Configuration Register到0x142,可以忽略原先的
password;
· 键入"> initialize",初始化路由器,等一段时间后,路由器会出现以下提示
:
"system configuration Diaglog ……"
Enter "NO"
提示"Press RETURN to get started!" ,Press "Enter"
· 进入特权模式
Router>enable
Router#show startup-config
这样就可以得到password(enable&console password)
· 修改password
"Router#config ter"
"Router(config)# enable secret cisco"
"Router(config)# enable password cisco1"
"Router(config)# line con 0"
"Router(config)# password cisco"
"Router(config)# config-register 0x2102"
"ctrl + Z"
"Router#copy running-config startup-config"
"reload"
· 以password cisco进入特权用户。
三、路由器配置
1)路由器模式
在Cisco 路由器中,命令解释器称为EXEC,EXEC解释用户键入的命令并执行相应
的操作,在输入EXEC命令前必须先登录到路由器上。基于安全原因,EXEC设置了
两个访问权限:用户级和特权级,用户级可执执行的命令是特权级命令的子集。
在特权级,可以使用:configuration,interface,subinterface,line,rout
er,router-map等命令。
2)配置模式
使用Config命令可进入配置模式,进入该模式后,EXEC提示用户可用的配置方式
如终端、NVRAM、网络三种,缺省是终端方式。
3)IP路由协议模式
在配置模式下输入Router命令,可进入IP路由协议模式,可选的路由协议一般有
:bgp、egp、igrp、eigrp、rip等动态路由和静态路由。
4)接口配置模式
Tag:网络基础知识,网络基础,计算机网络基础知识,电脑培训学习 - 网络知识 - 网络基础知识
下一条:路由技术介绍