gdrocket 发表于 2018-7-15 14:09:44

将配置文件导入cisco2611路由器步骤

1:确保tftp服务器处于开启状态,以及要导入的配置文件正确无误,适合路由器本身的各项参数;  2:清除路由器原来的startup-config文件,并reload路由器;
  配置路由器Fastenternet口的临时IP地址,保证和tftp服务器正常通信;
  开启路由器并进入全局模式,将tftp服务器上的配置文件复制到路由器上;
  执行的命令copy tftp: startup-config
  [注]:tftp后面的:和startup-config之间要有一个空格!
  3:接着输入tftp服务器的IP地址,例如:172.16.20.223
  4:输入要导入的文件名,要和服务器上的文件名保持一致;
  5:将startup-config文件复制到running-config中,copy startup-config running-config
  6:在路由器上show running,查看路由信息是否与导入的配置信息保持一致;
  7:进入路由器配置模式,修改管理员账号和密码并保存。例如:user cisco priviliege 15 password cisco
  [注]:如果没有设置管理员帐号和密码就重启路由器,则重启之后就不能进入全局模式来配置路由器。
  此时的解决办法是:
  1.手动重启路由器,然后按键盘Ctrl+Break键,进入rommon模式;
  2.修改路由器的启动顺序,输入confreg,在下列选项中   这样选择:
  do you wish to change the configuration? y/n:y
  enable"diagnostic mode"? y/n:
  enable"use net in IP bcast address"? y/n:
  disable "load rom after netboot fails"? y/n:
  enable"use all zero broadcast"? y/n:
  enable"break/abort has effect"? y/n:
  enable"ignore system config info"? y/n:y
  change console baud rate? y/n:
  change the boot characteristics? y/n:
  Configuration Summary
  (Virtual Configuration Register: 0x2142)
  enabled are:
  load rom after netboot fails
  ignore system config info
  console baud: 9600
  boot: image specified by the boot system commands
  or default to: cisco2-C2600
  do you wish to change the configuration? y/n:
  3.然后输入reset重启路由器,
  4.进入配置模式,输入命令:config-register 0x2102,把寄存器的值修改为正常的值,并保存刚才的配置.
  8:查看路由器上配置过IP信息的Fastenternet端口和Serial端口是否处于shutdown状态,如果是,要启用这些端口。
  9:在路由器上执行reload,重启路由器。
页: [1]
查看完整版本: 将配置文件导入cisco2611路由器步骤