1、CISCO产品培训,关于 CISCO CISCO 硬件平台 CISCO 软件平台 路由器介绍及配置 交换机介绍及配置,Cisco 路由器介绍,物理端口介绍 内存体系 配置途径,物理端口介绍,控制口:console port: 扩展口:一般Cisco的router都有扩展口, 你可以把 WIC (WAN interface card)插进去的。你可以根据你网络的需求,订购不同的WIC。 Interface:Cisco router的命名是按从右往左,从下往上的顺序排列的。在有的router里面,一个network module solt里面会有多个interface, 这时候你可以用 e1/0,
2、 e1/1, e1/2等符号来表示。,Cisco 路由器介绍,内存体系 ROM相当于PC机的BIOS FLASH相当于PC机硬盘,包含IOS DRAM动态内存 NVRAM 配置文件,查看配置情况,控制台,IOS,Setup utility,show startup-config,show running-config,将配置参数保存到NVRAM中,Config,Config,RAM,NVRAM,show running 和 show startup 命令,wg_ro_c#show startup-config Using 1359 out of 32762 bytes ! version 12
3、.0 !- More -,wg_ro_c#show running-config Building configuration. Current configuration: ! version 12.0 !- More -,保存在NVRAM中,保存在RAM中,显示当前运行的和保存的配置情况,内存体系,RAM:动态随机存取储器,运行配置或活动配置文件保存这里。开机时解压到此! ROM:用来引导IOS映像。 FLASH:存储了功能完备的IOS映像文件。 NVRAM:非易失性随机存取存储器存储了初始或启动配置文件。 除RAM以外,所有这些类型的存储器都是永久性存储器。,Cisco 路由器介绍,配置
4、途径 用主控CONSOLE口接终端配置。 我们可以在AUX口接一MODEM同电话网相连,在远端配置 在TCP/IP网上可通过仿真终端TELNET配置(ie) 可以从TFTP SERVER上下载配置 可用网管工作站进行监控和配置,IOS 的用户界面: 是 CLI (Command Line interface) ,象MS-DOS, unix里面的command line都是 CLI的。而Windows是GUI (Graphic User Interface). CLI的特点是比较难学,但configure 起来比较快。现在Cisco也正在做Java 的GUI-based configuratio
5、n software, 但大家还是喜欢CLI的。,Cisco 路由器配置途径,Cisco 路由器配置模式,一般用户模式 只限于路由器的某一些有 限的权限登录到机器的缺省状态 router,全局设置状态 在特权执行态输入config terminal 则进入该态 router(config)#,超级权限模式 有检查,配置,调试等所有权限 通过enable可进入此状态 router#,其他的设置状态 在特权执行状态输入相应的命令时进入 例如:interface serial 2/0 router(config-mode)#,路由器模式一览,Router(config)#,Routerenable,
6、Router#config term,Exit,Ctrl-Z (end),用户模式 特权模式 全局配置模式,配置模式,模式提示,Interface Router(config-if)# Subinterface Router(config-subif)# Controller Router(config-controller)# Line Router(config-line)# Router Router(config-router)# IPX router Router(config-ipx-router)#,配置路由器的各种标识,为路由器或其端口设置标识或信息,路由器名,Router(c
7、onfig)#hostname wg_ro_c wg_ro_c(config)#,开机时的固定显示信息,wg_ro_c(config)#banner motd #Accounting DepartmentYou have entered a secured system. Authorized accessonly! #,配置路由器的各种标识,为路由器或其端口设置标识或信息,路由器名,Router(config)#hostname wg_ro_c wg_ro_c(config)#,开机时的固定显示信息,wg_ro_c(config)#banner motd #Accounting Depart
8、mentYou have entered a secured system. Authorized accessonly! #,端口描述,wg_ro_c(config)#interface ethernet 0 wg_ro_c(config-if)#description Engineering LAN, Bldg. 18,Router(config)#interface type number Router(config-if)#,端口配置,type 包括 serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, as
9、ync, atm, bri, and tunnel number 用来识别具体的单个端口,从当前端口配置模式退出,Router(config)#interface type slot/port Router(config-if)#,模块化端口的表示法,配置串口,进入全局配置模式,Router(config)#interface serial 0 Router(config-if)#,Router#configure term Router(config)#,指定某个端口,配置串口,进入全局配置模式,Router(config-if)#clock rate 64000 Router(config
10、-if)#,Router(config)#interface serial 0 Router(config-if)#,Router#configure term Router(config)#,Router(config-if)#bandwidth 64 Router(config-if)#exit Router(config)#exit Router#,指定某个端口,设置时钟频率 (只在DCE端),调协波特率 (建议),Router#show interface serial 0 Serial0 is up, line protocol is up Hardware is HD64570In
11、ternet address is 10.140.4.2/24MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255Encapsulation HDLC, loopback not set, keepalive set (10 sec)Last input 00:00:09, output 00:00:04, output hang neverLast clearing of “show interface“ counters neverInput queue: 0/75/0 (size/max/drops);
12、Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packe
13、ts/sec (output omitted),确认参数修改情况,Configure IP address in Cisco,Because IP address is interface specific, you need to go to interface Routerenable Router#config t Router(config)#int s0 Router(config-if)#ip address 172.16.20.2 255.255.255.0 Router(config-if)#int e0 Router(config-if)#ip address 172.16.
14、10.1 255.255.255.0 Router(config-if)#Z,本文描述了如何配置关于Cisco路由器的路由信息协议(RIP)。通过命令行,我们必须明确告知路由器使用的协议,什么网络协议将要路由。 ExampleName#config ExampleName(config)#router rip ExampleName(config-router)#network aa.bb.cc.dd ExampleName(config-router)#network ee.ff.gg.hh ExampleName(config-router)#ctrl-Z ExampleName#show
15、 ip protocols,Cisco 路由器 命令,查看常用的命令 查看版本以及引导信息: show version 查看运行配置: show running-config 查看开机装入配置: show startup-config 显示FLASH的文件信息: show flash 查看端口配置: show interface type slot/number 显示路由协议信息: show ip route,建议:,学习前多预习并记忆CISCO命令! 有经典练习软件二种!,IP地址配置的基本原则,路由器的物理网络端口需要有一个IP地址 相邻路由器的相邻端口IP地址在同一网段 同一路由器不同端口在不同网段上(牢记!),IP协议配置的主要任务,配置端口IP地址IP ADDRESS 本端口IP地址 子网掩码 配置广域网线路协议 配置IP地址与物理网络地址如何映射 配置路由 其它设置,小结:,CISCO路由器配置途径有几种控制方式? CISCO有几种配置模式?,