路由基础配置命令
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
路由基础配置命令UTP双绞线类型:
直通线:
交叉线:
广域网线缆连接类型:
DTE:
DCE:
时钟速率:
路由器的接口:(作用)
1. 广域网接口: serial
2. 内网接口: fastethernet
3. 管理接口: console (控制台) AUX(备份)
连接两个设备:
1. 物理连接
2. 逻辑连接
配置网络设备:
1. 管理属性:用户名密码描述警告
2. 协议地址:IP IPX
3. 协议策略:vlan 静态访问控制
交换机直接可以应用
路由器需要初始配置才能应用
设备启动过程:
1. 加电自检
2. 查找加载操作系统
3. 查找加载配置文件
配置网络设备方式:
1. 初始配置:console
2. 初始配置后通过interface(拥有ip地址的接口):
1)telnet
2)TFTP
3)WEB
4)网络管理工具: SNA SDM
配置直接应用到内存
登陆路由器:
Router>
Router>enable /*进入特权模式
Router#
Router#disable /*退出特权模式
Router>
Router>logout /*退出路由器
Router>exit /*退出路由器
路由器IOS帮助功能:?的三个用法
1/ 直接问号
2/
Router#cl?
clear clock
Router#cl
3/
Router#clock
% Incomplete command.
Router#clock ?
set Set the time and date
Router#clock
问号的帮助功能:(查找路由器设置时间的命令并设置时间)
Router#cl?
clear clock
Router#clock
% Incomplete command.
Router#clock ?
set Set the time and date
Router#clock set
% Incomplete command.
Router#clock set ?
hh:mm:ss Current Time
Router#clock set 11:04:50
% Incomplete command.
Router#clock set 11:04:50 ?
<1-31> Day of the month
MONTH Month of the year
Router#clock set 11:04:50 15
% Incomplete command.
Router#clock set 11:04:50 15 ?
MONTH Month of the year
Router#clock set 11:04:50 15 09
^
% Invalid input detected at '^' marker.
Router#clock set 11:04:50 15 ?
MONTH Month of the year
Router#clock set 11:04:50 15 sep ?
<1993-2035> Year
Router#clock set 11:04:50 15 sep 2009
Router#
Router#clok
Translating "clok"...domain server (0.0.0.0)
% Unknown command or computer name, or unable to find computer address
Router#clok /* 输入快捷键“Ctrl+Shift+6”
Translating "clok"...domain server (0.0.0.0) % Name lookup aborted
Router#clock sit
^
% Invalid input detected at '^' marker.
Router#
Router#clock s?
set
Router#clock s
Router#show history /*查看输入的历史命令
clock set 10:41:30
clock set 10:41:30 22
clock set 10:41:30 22 dec 2009
clok
clock sit
configure terminal
clo
configure terminal
history
show history
Router#
查看操作系统版本:
Router#show version
查看配置文件:
1. 查看正在运行的配置文件(工作在内存 RAM)
Router#show run
2. 查看启动的配置文件(存储过的配置文件 NVRAM)Router#show start
Router#show startup-config
startup-config is not present /*没有启动的配置文件Router#
路由器的硬件:
RAM:内存
NVRAM:存储配置文件
FLASH:存储IOS
ROM:类似计算机BIOS,
Interface:
CPU:
保存路由器的配置文件:
Router#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router#write
Building configuration...
[OK]