查看端口状态:
Router#sho ip interface brief
Interface 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还是DTE
Router#show controllers serial <0-1>
prasit#show controllers serial 0
HD unit 0, idb = 0x1D3A2C, driver structure at 0x1DAFE8
buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 64000
spicey#show controllers serial 1
HD unit 1, idb = 0x153E94, driver structure at 0x15A1F8
buffer size 1524 HD unit 1, V.35 DTE cable
检查路由器的状态:
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