03、从TFTP服务器恢复路由器配置.ppt
文本预览下载声明
从TFTP服务器恢复路由器配置 【实验名称】 从TFTP服务器恢复路由器配置。 【实验目的】 能够从TFTP服务器恢复路由器配置。 【背景描述】 假设某台路由器的配置文件由于误操作或其它某种原因被破坏了,现在需要从TFTP服务器上的备份配置文件中恢复。 本实验以一台R2624路由器为例,路由器命名为RouterA。一台PC机通过串口(Com)连接到路由器的控制(Console)端口,通过网卡(NIC)连接到路由器的fastethernet0端口。假设PC机的IP地址和网络掩码分别为37,,路由器的fastethernet0端口的IP地址和网络掩码分别为38, 。 【实验功能】 使网络管理员可以将已有的路由器配置恢复到路由器上。 【实验拓扑】 【实验设备】 R2624(1台)。 【实验步骤】 在路由器上配置fastethernet0端口的IP地址。 RouterA(config)# interface fastethernet0 !进入路由器接口配置模式 RouterA(config)# ip address 38 !配置路由器管理接口IP地址 RouterA(config)# no shutdown !开启路由器fastethernet0接口 验证测试:验证路由器接口fastethernet0的IP地址已经配置和开启,PC机与路由器有网络连通性 RouterA#show ip interface fastethernet0 !验证接口fastethernet0的IP地址已经配置和开启 FastEthernet0 is up, line protocol is up Internet address is 38/24 Broadcast address is 55 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is enabled IP fast switching on the same interface is disabled IP multicast fast switching is enabled Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled Policy routing is disabled 恢复路由器配置。 RouterA#copy tftp running-config ! 恢复配置到路由器的当前配置文件中 Address of remote host [55]? 37 !按提示输入TFTP服务器的IP地址 Name of configuration file [routera-confg]? !选择输入配置文件名 Configure using routera-confg from 37? [confirm] Loading routera-confg from 37 (via FastEthernet0): ! [OK - 608/32727 bytes] RouterA#copy running-config startup-config ! 保存路由器的当前配置文件 或:
显示全部