预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共41页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

交换机和路由器基本配置 交换机的外观交换机的连接低端路由器外观高端路由器外观核心路由器外观Interface内存:ROM内存:RAM路由器的启动过程Console带外交换机配置交换机配置命令模式EXEC模式:用户模式switch> 交换机信息的查看,简单测试命令 特权模式switch# 查看、管理交换机配置信息,测试、调试1.在用户模式下进入特权模式Switch>enableSwitch#2.返回用户模式Switch#disable Switch> 或 Switch#exitPressRETURNtogetstarted!Switch>配置模式:全局配置模式switch(config)# 配置交换机的整体参数 接口配置模式switch(config-if)# 配置交换机的接口参数1.进入全局配置模式下Switch#configureterminalSwitch(config)#exitSwitch# 2.进入接口配置模式Switch(config)#interfacefastethernet0/1Switch(config-if)#exitSwitch(config)#从子模式下直接返回特权模式Switch(config-if)#endSwitch#命令行其他功能显示交换机硬件及软件的信息Switch#showversion 显示当前运行的配置参数Switch#showrunning-config 显示保存的配置参数Switch#showconfigure 显示接口配置参数Switch#showinterfaces 将当前运行的配置参数复制到flash Switch#writememoryBuildingconfiguration...[OK]Switch# 清空flash中的配置参数Switch#deleteflash:config.textSwitch# 交换机重新启动Switch#reloadSystemconfigurationhasbeenmodified.Save?[yes/no]:nProceedwithreload?[confirm]Switch(config)#hostnameS2126G TELNET管理交换机TELNET管理交换机TELNET管理交换机配置接口速率S2126G(config-if)#speed[10|100|auto]测试目的端的可达性 S2126G#ping{IPaddress} 从TFTP服务器下载配置参数 S2126G#copytftpstartup-config 查看MAC地址表S2126G#showmac-address-table 配置MAC地址表记录的生存时间(缺省为300秒)S2126G(config)#mac-address-tableaging-time<300-1000000> 查看MAC地址表记录的生存时间S2126G#showmac-address-tableaging-time1.线路配置模式 Router(config-line)# 配置路由器的线路参数2.路由协议配置模式 Router(config-router)# 配置路由器的接口参数1.进入全局配置模式下Red-Giant#configureterminal 2.进入线路配置模式Red-Giant(config)#linevty04Red-Giant(config-line)#exitRed-Giant(config)# 3.进入接口配置模式Red-Giant(config)#interfaceserial0Red-Giant(config-if)#exitRed-Giant(config)# 4.进入路由协议配置模式 Red-Giant(config)#routerrip Red-Giant(config-router)#显示当前运行的配置参数Red-Giant#showrunning-config 显示NVRAM中配置参数的副本Red-Giant#showstartup-config 将配置信息保存到NVRAMRed-Giant#write 删除NVRAM中配置信息Red-Giant#erasestartup-config配置console登陆密码Red-Giant(config)#lineconsole0Red-Giant(config-line)#loginRed-Giant(config-line)#passwordstar 配置VTY登陆密码Red-Giant(config)#linevty04Red-Giant(config-line)#loginRed-Giant(config-line)#passwordstar配置特权密码Red-Giant(config)#enablepassw