路由器的工作原理及其配置.pptVIP

  • 0
  • 0
  • 约2.6千字
  • 约 27页
  • 2025-04-28 发布于广西
  • 举报

;课程的目的

认识路由器

路由器的根本原理

路由器的根本配置;RAM;以太网接口Ethernet、FastEthernet

高速同步串口Serial

异步接口ASYNC

配置接口ConsoleAUX;RJ45

V25、V35

异步串行线;引导文件

操作系统IOS;工作原理

相关术语

路由表

端口地址

路由协议;1、静态路由

动态路由

RIP

OSPF

EIGRP;;常用的路由器配置方法;

1.RJ-45toDB-9转换器

2.翻转线

3.PC超级终端程序

4.PCcom口的配置:

波特率9600,数据位8,奇偶校验no,停止位1,流量控制no;1.用户模式[主机名]:可以执行EXEC命令的一局部

2.特权模式[主机名#]:可以执行全部的EXEC命令;1.进入特权模式

Red-Giantenable

2.返回用户模式

Red-Giant#disable

Red-Giant;全局配置模式[主机名(config)#]:配置路由器的整体参数

子模式:

1.线路配置模式[主机名(config-line)#]:配置路由器的线路参数

2.接口配置模式[主机名(config-if)#]:配置路由器的接口参数

3.子接口配置模式[主机名(config-subif)#]配置路由器的子接口参数;1.进入全局配置模式下

Red-Giant#configureterminal

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

Red-Giant(config)#exit

Red-Giant#

2.进入线路配置模式

Red-Giant(config)#lineconsole0

Red-Giant(config-line)#exit

Red-Giant(config)#

3.进入接口配置模式

Red-Giant(config)#interfaceserial0

Red-Giant(config-if)#exit

Red-Giant(config)#

4.进入子接口配置模式

Red-Giant(config)#interfaceserial0.1

Red-Giant(config-subif)#exit

Red-Giant(config)#

;从子模式下直接返回特权模式

Red-Giant(config-if)#end

Red-Giant#

;

1.支持命令简写(按TAB键将命令补充完整)

2.在每种操作模式下直接输入“?”显示该模式下所有的命令

3.命令空格“?”显示命令参数并对其解释说明

4.字符“?”显示以该字符开头的命令

5.命令历史缓存:

(Ctrl+P)显示上一条命令,(Ctrl+N)显示下一条命令

6.错误提示信息;显示路由器硬件及软件的信息

Red-Giant#showversion

显示当前运行的配置参数

Red-Giant#showrunning-config

显示NVRAM中配置参数的副本

Red-Giant#showstartup-config(也可以用showconfigure);将当前运行的配置参数复制到NVRAM

Red-Giant#copyrunning-configstartup-config

Buildingconfiguration...

[OK]

Red-Giant#

清空NVRAM中的配置参数

Red-Giant#del

[OK]

Red-Giant#

路由器重新启动

Red-Giant#reload

Proceedwithreload?[confirm];

Red-Giant(config)#hostnamelabr1

labr1(config)#;配置console登陆密码

labr1(config)#lineconsole0

labr1(config-line)#login

labr1(config-line)#passwordstar

配置VTY登陆密码

labr1(config)#linevty04

labr1(config-line)#passwordstar

labr1(config-line)#login

;配置特权密码

labr1(config)#enablepasswordstar

labr1(config)#enablesecretstar;配置接口IP地址

labr1(config-if)#ipaddress{IPaddress}{IP

subnetmask}

将接口启用

labr1(config-if)#noshutdown

将接口关闭

labr1(config-i

文档评论(0)

1亿VIP精品文档

相关文档