网络管理实验五路由基本命令和静态路由配置.docVIP

  • 15
  • 0
  • 约1.15万字
  • 约 6页
  • 2016-10-16 发布于贵州
  • 举报

网络管理实验五路由基本命令和静态路由配置.doc

网络管理实验五路由基本命令和静态路由配置

实验5:路由基本命令和静态路由配置 一、实验目的及要求 (一)实验目的 1、学习理解路由器的相关知识 2、学习使用路由器的基本命令 3、学习运用静态路由配置命令 (二)实验要求 按要求完成命令操作使用,将结果和分析记录在实验报告中。 二、实验设备及软件 WINDOWS环境的PC机2台、路由器2台、跳线若干。参考教材第4章及参考资料 三、实验内容和步骤 2台PC和2台路由器按下图连接。 1、学习使用路由器基本命令 在各种模式下的常用命令,主要是教材第二章实验1和实验2,包括:enable,disable,clock,terminal,configure,ip,show等。 用户模式和特权模式的切换 Router Routerenable Router# Router#disable Router //“Router”是路由器的名字,而“”代表是在用户模式。“enable”命令可以使路由器从用户模式进入到特权模式;“disable”命令则相反,在特权模式下的提示符为“#” 进入全局配置模式 routerenable router#configure terminal router(config)# clock命令 Routerenable Router#clock % Incomplete command. //路由器提示命令输入不完整 Router#clock ? read-calendar Read the hardware calendar into the clock set Set the time and date update-calendar Update the hardware calendar from the clock Router#clock set ? hh:mm:ss Current Time Router#clock set 11:36:00 2 jan 2009 Router#show clock 11:36:03.149 UTC Fri Jan 2 2009 terminal命令 Router#show history clock show history disable enable Router#terminal editing //以上是打开编辑功能,实际上这是默认的。用上下左右光标键试试移动光标,也可以试试使用表2-2(书本P19)的编辑键移动光标 Router#terminal history size 50 //以上把缓存的历史命令数改为50,默认值为10 Router#terminal no editing //以上关闭编辑功能,则表2-2的编辑键失效 Router#terminal no history //停止当前会话的历史命令功能 交换机命名:以routerA为例 Routerenable Router#configure terminal Router(config)#hostname routerA RouterA(config)# 配置使能口令:以cisco为例 Routerenable Router#configure terminal Router(config)#hostname routerA RouterA(config)#enable password cisco 配置使能密码:以cicsolab为例 Routerenable Router#configure terminal Router(config)#hostname routerA RouterA(config)#enable secret ciscolab ip命令 (config)#ip Global IP configuration subcommands: alias TCP端口的IP地址取别名 default-network 标志网络作为缺省网关候选 default-gateway 指定缺省网(如果没有路由IP) domain-list 完成无资格主机的域名 domain-lookup 打开IP域名服务系统主机转换 domain-name 定义缺省域名 host 为IP主机表增加一个入口 host-routing 打开基于主机的路由(代理ARP和再定向) multicast-routing 打开前向IP name-server 指定所用名字服务器的地址 ospf-name-lookup 把OSPF路由作为DNS名显示 pim PIM 全局命令 route 建立静态路由 routing 打开IP路由 secu

文档评论(0)

1亿VIP精品文档

相关文档