思科路由器配置.ppt
《思科路由器配置.ppt》由会员分享,可在线阅读,更多相关《思科路由器配置.ppt(28页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、路由器配置路由器配置主要内容主要内容n n配置路由器n n配置的完成n n路由器口令的恢复一、命令行用户界面的命令模式一、命令行用户界面的命令模式n n登录路由器,进行模式选择(用户模式/特权模式)n n用户模式命令列表方法:router?n n特权模式命令列表方法:router#?路由器的配置模式路由器的配置模式全局配置模式特定配置模式二、配置路由器二、配置路由器1、配置路由器的名称、配置路由器的名称 配置路由器的名称,能唯一地标识网络中的每台路由器。Router#config terminal Router(config)#hostname BaojiBaoji(config)#2、配置路
2、由器的口令、配置路由器的口令n n用口令限制访问,可以保证对路由器进行权限范围内的安全访问。n n可以分别为特权模式、虚拟终端连接、控制台连接设定口令。n n特权模式的口令用于对特权模式的访问,可以通过enable secret命令设置。n n控制台终端的登录口令可以在line console 0配置模式下进行设定。用于防止未经授权的用户访问路由器。n n虚拟终端用户通过远程登录(telnet)的方式访问路由器。命令Line vty 0 4用于标识5个vty连接。可以为通过Telnet访问路由器的用户设置口令。3、show命令命令n n该命令能帮助检查路由器中文件的内容,帮助排除故障。n n在
3、路由器的各种模式下,show?命令都可以用于显示所有可用的选项。n nShow命令时路由器上最重要的信息收集命令。n n例如:n nshow interfacesshow interfaces Displays all the statistics for all the interfaces on the Displays all the statistics for all the interfaces on the router.To view the statistics for a specific interface,enter the router.To view the sta
4、tistics for a specific interface,enter the show show interfacesinterfaces command followed by the specific interface and port mand followed by the specific interface and port number.For example:For example:n nshow interfaces serial 0/1show interfaces serial 0/1n nshow controllers serialshow controll
5、ers serial Displays information-specific to the Displays information-specific to the interface hardware interface hardware n nshow clockshow clock Shows the time set in the router Shows the time set in the router n nshow hostsshow hosts Displays a cached list of host names and addresses Displays a c
6、ached list of host names and addresses n nshow usersshow users Displays all users who are connected to the router Displays all users who are connected to the router n nshow historyshow history Displays a history of commands that have been Displays a history of commands that have been entered entered
7、 n nshow flashshow flash Displays information about flash memory and what IOS Displays information about flash memory and what IOS files are stored there files are stored there n nshow versionshow version Displays information about the router and the IOS Displays information about the router and the
8、 IOS that is running in RAM that is running in RAM n nshow ARPshow ARP Displays the ARP table of the router Displays the ARP table of the router n nshow protocolshow protocol Displays the global and interface specific status of Displays the global and interface specific status of any configured Laye
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 思科 路由器 配置
限制150内