13 交换机和路由器基本配置.pptVIP

  • 5
  • 0
  • 约3.19千字
  • 约 41页
  • 2016-07-28 发布于江西
  • 举报
13 交换机和路由器基本配置.ppt

13 交换机和路由器基本配置 ; 交换机的外观;交换机的连接;低端路由器外观;高端路由器外观;核心路由器外观;Interface;内存 :ROM;内存 :RAM;路由器的启动过程;Console;带外交换机配置;交换机配置命令模式;EXEC模式: 用户模式switch 交换机信息的查看,简单测试命令 特权模式switch# 查看、管理交换机配置信息,测试、调试;1.在用户模式下进入特权模式 Switchenable Switch# 2.返回用户模式 Switch#disable Switch 或 Switch#exit Press RETURN to get started! Switch;配置模式: 全局配置模式switch(config)# 配置交换机的整体参数 接口配置模式switch(config-if)# 配置交换机的接口参数;1.进入全局配置模式下 Switch#configure terminal Switch(config)#exit Switch# 2.进入接口配置模式 Switch(config)#interface fastethernet 0/1 Switch(config-if)#exit Switch(config)# ;从子模式下直接返回特权模式 Switch(config-if)#end Switch#;命令行其他功能;显示交换机硬件及软件的信息 Switch#show version 显示当前运行的配置参数 Switch#show running-config 显示保存的配置参数 Switch#show configure 显示接口配置参数 Switch#show interfaces ;将当前运行的配置参数复制到flash Switch#write memory Building configuration... [OK] Switch# 清空flash中的配置参数 Switch#delete flash:config.text Switch# 交换机重新启动 Switch#reload System configuration has been modified. Save?[yes/no]:n Proceed with reload? [confirm];Switch(config)#hostname S2126G ;TELNET管理交换机;TELNET管理交换机;TELNET管理交换机;配置接口速率 S2126G(config-if)#speed [10|100|auto];测试目的端的可达性 S2126G#ping {IP address} 从TFTP服务器下载配置参数 S2126G#copy tftp startup-config ;查看MAC地址表 S2126G#show mac-address-table 配置MAC地址表记录的生存时间(缺省为300秒) S2126G(config)#mac-address-table aging-time 300-1000000 查看MAC地址表记录的生存时间 S2126G#show mac-address-table aging-time;;1.线路配置模式 Router(config-line)# 配置路由器的线路参数 2.路由协议配置模式 Router(config-router)# 配置路由器的接口参数;1.进入全局配置模式下 Red-Giant#configure terminal 2.进入线路配置模式 Red-Giant(config)#line vty 0 4 Red-Giant(config-line)#exit Red-Giant(config)# 3.进入接口配置模式 Red-Giant(config)#interface serial 0 Red-Giant(config-if)#exit Red-Giant(config)# 4.进入路由协议配置模式 Red-Giant(config)#router rip Red-Giant(config-router)#;显示当前运行的配置参数 Red-Giant#show running-config 显示NVRAM中配置参数的副本 Red-Giant#show startu

文档评论(0)

1亿VIP精品文档

相关文档