实验3路由器的基本配置..doc
文本预览下载声明
实验三、路由器的基本配置
实验目的
掌握路由器配置前的准备
掌握路由器的机器名的配置
接口IP地址、基本封装类型
应用环境
在执行配置之前,本节学习的基本配置,是其他任务的基础。
主要学习机器名、接口地址、特权模式密码等方法
实验设备
DCR-1702 两台
CR-V35MT 一条
CR-V35FC 一条
网线 两条
实验拓扑
实验要求
配置表
Router-A Router-B 接口 类型 IP地址 接口 类型 IP地址 S1/1 DCE S0/0 DTE F0/0 实验步骤
路由器A的基本配置:
第一步:恢复出厂设置
Routerenable !进入特权模式
Router#2004-1-1 00:32:10 User DEFAULT enter privilege mode from console 0, level = 15
Router#show running-config !查看当前配置
Building configuration...
Current configuration:
!
!version 1.3.2E
省略
Router#delete !删除配置文件
this file will be erased,are you sure?(y/n)y
Router#reboot !重新启动
Do you want to reboot the router(y/n)?y
Please wait…..
第二步:设置接口IP地址、DCE的时钟频率以及验证
Routerenable !进入特权模式
Router #config !进入全局配置模式
Router _config#hostname Router-A !修改机器名
Router-A_config#interface s1/1 !进入接口模式
Router-A_config_s1/1#ip address !配置IP地址
Router-A_config_s1/1#physical-layer speed 64000 !配置DCE时钟频率
Router-A_config_s1/1#no shutdown
Router-A_config_s1/1#^Z !按ctrl + z进入特权模式
Router-A#show interface s1/1 !查看接口状态
Serial1/1 is up, line protocol is down !对端没有配置,所以协议是DOWN
Mode=Sync DCE Speed=64000 !查看DCE
DTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UP
Interface address is /24 !查看IP地址
MTU 1500 bytes, BW 64 kbit, DLY 2000 usec
Encapsulation prototol HDLC, link check interval is 10 sec !查看封装协议
Octets Received0, Octets Sent 0
Frames Received 0, Frames Sent 0, Link-check Frames Received0
Link-check Frames Sent 89, LoopBack times 0
Frames Discarded 0, Unknown Protocols Frames Received 0, Sent failuile 0
Link-check Timeout 0, Queue Error 0, Link Error 0,
60 second input rate 0 bits/sec, 0 packets/sec!
60 second output rate 0 bits/sec, 0 packets/sec!
0 packets input, 0 bytes, 8 unused_rx, 0 no buffer
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
8 packets output, 192 bytes, 0 unused_tx, 0 underruns
error:
0 clock, 0 grace
PowerQUICC SCC spec
显示全部