当前位置首页 > 办公文档 > 解决方案
搜柄,搜必应! 快速导航 | 使用教程  [会员中心]

路由器的基本配置方法

文档格式:DOCX| 4 页|大小 11.42KB|积分 20|2022-12-25 发布|文档ID:177509372
第1页
下载文档到电脑,查找使用更方便 还剩页未读,继续阅读>>
1 / 4
此文档下载收益归作者所有 下载文档
  • 版权提示
  • 文本预览
  • 常见问题
  • 路由器基本配置导航使用 console 线配置路由器:1. 将 console 线连接主机到路由器2. 新建终端通讯a) 所有程序b) 附件c) 通讯d) 超级终端3. 填入新建连接名称4. “连接时使用”中选择 com 口5. 点击还原成默认值6. 按确定后敲“回车”键可开始进行配置路由器模式 :用户模式:对路由器进行有限的检查,远程访问Router>特权模式:可对路由器进行详细的检查和测试,文件处理,远程访问Router#通用配置模式--简单的配置命令Router(config)#用户模式进入特权模式Router>enableRouter#特权模式进入通用配置模式Router# configure terminal退出到上一模式Router#exit配置它的一般参数,包括:修改主机名 :hostname特权口令 :enable password其中 Console 的 secret、 password 的设置:Router(config)# enable secret <######>Router(config)# enable password <#######>Virtual Terminor 的 password 的设置:Router(config)#line console 0Router(config)# Line vty 0 4Router(config-line)#Password <######>Host name 的设置:Router(config)#hostname查看现在的配置:Router#show running-config查看端口状态:Router#sho ip interface briefInterfaceIP-AddressOK? Method StatusProtocolEthernet0192.168.100.2YES NVRAM upupLoopback0172.16.1.1YES manual upupSerial0172.16.0.5YES manual upupSerial1unassignedYES NVRAM administratively down down查看串口是DCE还是DTERouter#show controllers serial <0-1>prasit#show controllers serial 0HD unit 0, idb = 0x1D3A2C, driver structure at 0x1DAFE8 buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 64000 spicey#show controllers serial 1HD unit 1, idb = 0x153E94, driver structure at 0x15A1F8 buffer size 1524 HD unit 1, V.35 DTE cable配置以太网口 IP 地址:Router>enableRouter# configure terminalRouter(config)#interface ethernet 0Router(config-if)#no shutdownRouter(config-if)#ip address 192.168.2.50-55 255.255.255.0配置串口地址Router>enableRouter#configure terminalRouter(config)#interface serial 0Router(config-if)#no shutdownRouter(config-if)#ip address 192.168.0.1 255.255.255.0Router(config-if)#encapsulation pppRouter(config-if)#clock rate 9600(如果是 DCE 端需要配置时钟速率)检查路由器的状态:show version 系统硬件配置,软件版本,引导映像 isco2621xm#show versionCisco Internetwork Operating System SoftwareIOS (tm) C2600 Software (C2600-I-M), Version 12.3(5d), RELEASE SOFTWARE (fc1)Copyright (c) 1986-2004 by cisco Systems, Inc.Compiled Wed 09-Jun-04 00:05 by kellythwImage text-base: 0x80008098, data-base: 0x80CA63B4ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)cisco2621xm uptime is 4 hours, 53 minutesSystem returned to ROM by power-onSystem restarted at 15:40:05 UTC Tue Dec 7 2004System image file is "flash:c2600-i-mz.123-5d.bin"cisco 2621XM (MPC860P) processor (revision 0x301) with 126976K/4096K bytes of me mory.Processor board ID FOC08382DBW (3885486175)M860 processor: part number 5, mask 2Bridging software.X.25 software, Version 3.0.0.2 FastEthernet/IEEE 802.3 interface(s)32K bytes of non-volatile configuration memory.32768K bytes of processor board System flash (Read/Write)Configuration register is 0x2102show process 显示激活的进程信息主要查看 CPU 的使用状态CPU 使用率一旦超过 70%,就说明路由器的 CPU 负荷较大 如果 CPU 使用率超过 90%,网内一定存在病毒 路由器时间设置Router#show clock 查看现在路由器时间Router#clock set <日期>一月Jan.January二月Feb.February三月Mar.March四月Apr.April五月May.May六月June.June七月July.July八月Aug.August九月Sept.September十月Oct.October十一月Nov.November十二月Dec.December路由器配置存储:Router#copy running-config startup-configRouter#write。

    点击阅读更多内容
    卖家[上传人]:dajiefude
    资质:实名认证