1. 清空原有配置:
利用show running-config命令检讨当前系统是否已经有配置存在,如果有,需清空路由器的配置,再按哀求进行配置。
清空配置的步骤如下:

2. 查看各个vlan与端口之间的配置情形:
命令:show vlan
用场:查看我们建立的网管vlan通道是否已和端口绑定联系,从端口的tagport能够查看干系信息。
解释:
如果,我们建立的网管vlan通道为4093,且将端口xgei_4/1以及xgei_4/2都设置为通过vlan4093的trunk事情模式,那么此时的vlan4093的tagport将包含xgei_4/1和xgei_4/2。此时倘若在某个端口设置了native vlan为4093,那么4093的pvidport会包含该端口。
3.查看各接口VLAN与IP的对应信息
命令:show ip interface brief;
用场:检讨IP地址/掩码是否精确,接口是否激活
截图:
解释:AdminStatus为up表示接口的管理状态是可用,down为不可用。可以在接口模式下用no shutdown设为可用,shutdown设为不可用,缺省为可用状态。
PhyStatus为up表示物理状态激活,down表示物理未连接或非常,这时须要检讨网线或光纤。
Protocol为up表示链路层协议可用,down表示不可用,这时须要检讨配置。
4. 查看各物理接口的事情状态:
命令:show interface brief
用场:检测各个事情端口的状态信息是否正常
截图如下:
解释:
AdminStatus为up表示接口的管理状态是可用,down为不可用。可以在接口模式下用no shutdown设为可用,shutdown设为不可用,缺省为可用状态。
PhyStatus为up表示物理状态激活,down表示物理未连接或非常,这时须要检讨网线或光纤。
Protocol为up表示链路层协议可用,down表示不可用,这时须要检讨配置。
5. 检讨某个物理端口的流量以及详细信息
命令:show interface gei_x/x
用场:查看某个端口是否运行正常,收发包的详细流量,是否收到错包等。
解释:
如果涌现大量CRC缺点,请检讨网线或光功率是否符合哀求。
必要时,可以通过clear counter gei_1/1打消统计数据,以便于重新打算接口收发包的数量。
6. 查看ARP表情况
命令:show arp
用场:检讨以太网接口的ARP表项.。
解释:
Age为“-”表示这个IP地址是路由器自身接口上的,应检讨是否有对段的ARP表项,如果没有,需检讨对端地址是否配置精确。
7. 查看路由表:
命令:show ip route
该命令可以显示路由器的全局路由表,查看路由表中是否有配置的静态路由。
这条命令非常有用,在路由协议的诊断掩护中也常常须要用到。
8. 查询设备版本信息
ZXR10#show version
ZXR10 Router Operating System Software, ZTE Corporation
ZXR10 ROS Version V4.08.33
ZXCTN 6300 Software, Version ZXCTN 6200&6300 V1.10.00B26, RELEASE SOFTWARE
Copyright (c) 2001-2010 by ZTE Corporation
Compiled Oct 26 2010, 14:47:18
System image files are flash:</flash/img/zxr10.zar>
System uptime is 206 day(s), 23 hour(s), 11 minute(s)
[SCCU, panel 1, master]
Main Processor : PowerPC MPC8541 Processor
System Memory : 1024M bytes , System FLASH : 128M bytes
System NVRAM : 8K bytes , System Temperature: 45℃
System Serial : 131 , System BaudRate : 9600
System Clock : PTP stratum 3 , Serial Number : 0
FPGA Version : V0.1 , Main CPLD Version : V3.5
Main PCB Number : 080702 , CPU CPLD Version : V1.8
Fan CPLD Version : V2.1 , PCI CPLD Version : V1.3
Fan PCB Number : 080901 , Board Type : RSCCU3
Part Number : 0
[SCCU, panel 2, slave]
Main Processor : PowerPC MPC8541 Processor
System Memory : 1024M bytes , System FLASH : 128M bytes
System NVRAM : 8K bytes , System Temperature: 44℃
System Serial : 131 , System BaudRate : 9600
System Clock : PTP stratum 3 , Serial Number : 0
FPGA Version : V0.1 , Main CPLD Version : V3.5
Main PCB Number : 080702 , CPU CPLD Version : V1.8
Fan CPLD Version : V2.1 , PCI CPLD Version : V1.3
Fan PCB Number : 080901 , Board Type : RSCCU3
Part Number : 0
[NPCI, panel 6]
Main Processor : W90N740 Processor
System Memory : 16M bytes , Port Number : 8
Board Type : R8EGF , Serial Number : 251020401478
Main CPLD Version: V1.4 , FPGA Version : V0.8
Main PCB Number : 081001 , Part Number : 0
ZXR10-6300#show boot
[SCCU, panel 1, master]
Bootrom Version : V11.10
Creation Date : 2010/10/22
Update Support : YES
[SCCU, panel 2, slave]
Bootrom Version : V11.10
Creation Date : 2010/10/22
[NPCI, panel 6]
Bootrom Version :V1.15
Creation Date : 2010/8/17
9. 查看设备本端端口和对端端口连接状态
9008#show lldp neigh /显示本端端口和对端端口连接状态
gei_2/1/1 08181a94a200 115 B R ZXR10 ROS Versio gei_2/2/1
gei_2/2/1 08181a94a200 96 B R ZXR10 ROS Versio gei_2/1/1
10. 查询CPU占用率
ZXR10#show processor
M: Master processor
S: Slave processor
PhyMem: Physical memory (megabyte)
Panel CPU(5s) CPU(1m) CPU(5m) PhyMem Buffer Memory
MP(M) 1 23% 23% 23% 1024 0% 44.743%
MP(S) 2 19% 18% 18% 1024 0% 42.754%
NP(M) 6 27% 29% 28% 16 2% 71.921%
ZXR10#show processor details
M: Master processor
S: Slave processor
PeakCPU: CPU peak utility measured in 1 minute
AveCPU: CPU average utility measured in 1 hour
Ticks: Ticks when CPU gets PeakCPU and AveCPU
PeakTime: Date and time when CPU reaches PeakCPU
Panel Hours AveCPU PeakCPU Ticks PeakTime
MP(M) 1 1 35% 37% 0x531bdfc 10:16:59:800 2010-05-14
1 2 35% 40% 0x53179a0 09:40:51:800 2010-05-14
1 3 34% 37% 0x52bfb60 09:11:49:800 2010-05-14
1 4 34% 37% 0x5267d20 07:37:49:800 2010-05-14
1 5 34% 35% 0x520fee0 07:25:49:800 2010-05-14
1 6 34% 37% 0x51b80a0 05:37:49:800 2010-05-14
重点:1,CPU(5s) CPU(1m) CPU(5m)占用率大于70%,须要用show processor detail详细看是什么进程导致CPU占用过高,确认是否有广播包冲击导致。
11. 查询设备端口UP状况
ZXR10#show interface brief
Interface PortAttribute Mode BW(Mbits) Admin Phy Prot Description
gei_6/1 optical Duplex/full 100 up up up none
gei_6/2 optical Duplex/full 100 up down down none
gei_6/3 optical Duplex/full 1000 up down down none
gei_6/4 optical Duplex/full 1000 up down down none
gei_6/5 optical Duplex/full 1000 up down down none
gei_6/6 optical Duplex/full 1000 up down down none
gei_6/7 optical Duplex/full 1000 up down down none
gei_6/8 optical Duplex/full 1000 up down down none
extimer_13/1 electric up down down none
gps_13/2 electric up down down none
extimer_14/1 electric up down down none
gps_14/2 electric up down down none
重点:1,关注是否有没有利用的端口UP。如果该端口没有利用而UP,可以试着关闭该端口,确认是否可以办理闪断问题。
12. 查询设备端口光功率
ZXR10# #show opt interface xgei_6/1
InterfaceName:xgei_6/1
OnlineStatus:ON_LINE
SFPType:SINGLE MODE
CodesType:OC 192, SONET/SDH Short Haul Link Compliance Codes
10GBASE-ER/W
Version:00y
VendorName:Opnext Inc.
VendorPN:TRF7052FN-GA310
VendorSN:T10C89878
DisSMFkm(m):40000
Dis9_125um(m):0 Dis50_125um(m):0
Dis62_125um(m):0 DisCopperLine(m):0
WaveLength(nm):1550 Temperature(℃):22.847656
Rx-Power(dBm):-2.313619 Tx-Power(dBm):0.837534
Tx-Current(mA):62.152000 Voltage(V):3.337500
重点:1,Rx-Power(dBm),Tx-Power(dBm)是否在得当的范围。该范围请参考光模块参数表。如果光太强或者光过弱,可能会导致业务的闪断,乃至中断。
13. 查询设备端口
ZXR10#show interface gei_6/1
gei_6/1 is up, line protocol is up
Byname is none
Description is none
The port is optical
Duplex full
Smb ipg 13
Smb mcc bandwidth 2
Mcc vlan id is 0
No loopback BW 100000 Kbits
Last clearing of \"大众show interface\"大众 counters never
120 seconds input rate: 2688 Bps, 6 pps
120 seconds output rate: 938 Bps, 12 pps
Interface peak rate : input 56925Bps, output 400957Bps
Interface utilization: input 0%, output 0%
Input:
Packets : 286171521 Bytes : 60981655993
Unicasts : 285615097 Multicasts : 0
Broadcasts : 556424 CRC-ERROR : 0
Dropped : 134174 Fragments : 0
MacRxErr : 0 Errframe : 0
Jabber : 0 Disframe : 134174
UnicErrors : 0 MultiErrors : 0
BroErrors : 0 GoodJumb : 35
LittUndersize: 0 64B : 65918315
65-127B : 140830468 128-255B : 29690232
256-511B : 13948601 512-1023B : 21239265
1024-Max : 14544640 Oversize : 0
AlignErrors : 0
Output:
Packets : 342915244 Bytes : 27421143327
Unicasts : 231192058 Multicasts : 1169867
Broadcasts : 110553319 Collisions : 0
LateCollision: 0 ColliTimes : 0
FlowContr : 0 DeExceFrame : 0
DecolliFra : 0 NonUniFrame : 111723186
ErrBytes : 0 ErrFrame : 0
MacControl : 0 JabberFrame : 0
GoodJumb : 0 LittUndersize: 0
64B : 136570557 65-127B : 201157005
128-255B : 2571875 256-511B : 1055420
512-1023B : 1007243 1024-Max : 553144
Oversize : 0
重点:1,端口Interface utilization (Input or output)是否大于实际流量较多,比如端口仅有10M的业务,而查询出GE口的流量已经10%,那就要剖析多余流量是来自哪里,是否是环回导致的。
2,关注65-127B,256-511B,512-1023B,1024-Max包统计,是否非常包,如有须要剖析为何导致非常。
1