首页 > 学院 > 网络通信 > 正文

路由器基本配置导航

2019-11-04 00:44:41
字体:
来源:转载
供稿:网友
路由器基本配置导航-- 使用console线配置路由器:1.       将console线连接主机到路由器2.       新建终端通讯a)         所有程序b)         附件c)         通讯d)         超级终端3.       填入新建连接名称4.       “连接时使用”中选择com5.       点击还原成默认值6.       按确定后敲“回车”键可开始进行配置 路由器模式 用户模式:对路由器进行有限的检查,远程访问 Router>  特权模式:可对路由器进行详细的检查和测试,文件处理,远程访问。 Router#  通用配置模式--简单的配置命令 Routerconfig#用户模式进入特权模式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  0 Router(config)# Line  vty  0  4Router(config-line)#Password  <######>  Host name的设置: Router(config)#hostname  查看现在的配置:Router#show  running-config 查看端口状态:Router#sho ip interface briefInterface                  IP-Address      OK? Method Status                PRotocol
Ethernet0                 192.168.100.2   YES NVRAM  up                    up     
Loopback0                172.16.1.1      YES manual up                      up     
Serial0                     172.16.0.5      YES manual up                        up     
Serial1                    unassigned      YES NVRAM  administratively down down   
 查看串口是DCE还是DTERouter#show controllers serial <0-1>prasit#show controllers serial 0HD unit 0, idb = 0x1D3A2C, driver structure at 0x1DAFE8buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 64000 spicey#show controllers serial 1HD unit 1, idb = 0x153E94, driver structure at 0x15A1F8buffer size 1524 HD unit 1, V.35 DTE cable  配置以太网口IP地址: Router>enableRouter# configure terminalRouter(config)#interface ethernet 0 Router(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 version
Cisco Internetwork Operating System Software
IOS (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 kellythw
Image text-base: 0x80008098, data-base: 0x80CA63B4

ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)

cisco2621xm uptime is 4 hours, 53 minutes
System returned to ROM by power-on
System restarted at 15:40:05 UTC Tue Dec 7 2004
System 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 2
Bridging 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 0x2102
 
show 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
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表