CE维护常用命令之Juniper设备
Juniper设备 Juniper是爱立信的路由器设备,在移动机房里面有M10i、M7i和M20等型号,不过操作命令基本一样,软件版本是Version 5.30。1)show chassis alarms / show system alarms
该命令是用来查看硬件存在的告警和软件告警,如果没有异常状态,那么操作结果应该显示No alarms currently active。例如:
No alarms currently active
2)show interfaces terse
该命令是用来查看端口的状态的,正常情况下,已经配置了的端口admin和link状态应该为up。例如:
Interface Admin Link Proto Local Remote
ce1-0/0/0 up up
e1-0/0/0 up up
e1-0/0/0.0 up up mlppp ls-0/2/0.0
ce1-0/0/1 up up
e1-0/0/1 up up
e1-0/0/1.0 up up mlppp ls-0/2/0.0
…………………………………………………………………….
…………………………………………………………………..
3)show chassis hardware
该命令用来查看硬件版本信息、编号、串口号及描述,正常情况下,所有已经安装的硬件模块都会被检测到。例如:
Hardware inventory:
Item VersionPart numberSerial number Description
Chassis A3951 M7i
Midplane REV 04 710-008761 CV8447 M7i Midplane
Power Supply 0 Rev 02 740-008985 6297095 DC Power Supply
Power Supply 1 Rev 02 740-008985 6297079 DC Power Supply
Routing Engine REV 12 740-009459 1000649031 RE-5.0
CFEB REV 07 750-010463 CT8481 Internet Processor II
FPC 0 E-FPC
PIC 0 REV 15 750-007626 CS6602 10x CHE1 IQ
PIC 1 REV 15 750-007626 CS6581 10x CHE1 IQ
PIC 2 REV 06 750-007927 CW3453 1x Link Service(4)
PIC 3 REV 12 750-012838 DB1228 4x 1GE(LAN), IQ2
SFP 2 REV 01 740-011782 PB81N3B SFP-SX
SFP 3 REV 01 740-011783 PB30PQX SFP-LX
FPC 1 E-FPC
PIC 2 BUILTIN BUILTIN 1x Tunnel
PIC 3 REV 10 750-009098 CV7985 2x F/E, 100 BASE-TX
show chassis enviroment
该命令用来查看设备的运行环境,例如硬件的温度,风扇的运转是否正常,看到OK即表示正常。例如:
GzLocal@GDGZ-NGN-CE03-JUM7I> show chassis environment
Class Item Status Measurement
Power Power Supply 0 OK
Power Supply 1 OK
TempIntake OK 23 degrees C / 73 degrees F
FPC 0 OK 28 degrees C / 82 degrees F
Power Supplies OK 30 degrees C / 86 degrees F
CFEB Intake OK 23 degrees C / 73 degrees F
CFEB Exhaust OK 29 degrees C / 84 degrees F
Routing Engine OK 30 degrees C / 86 degrees F
FansFan 1 OK Spinning at normal speed
Fan 2 OK Spinning at normal speed
Fan 3 OK Spinning at normal speed
Fan 4 OK Spinning at normal speed
5)show chassis fpc
该命令用来查看FPC板卡的运行情况,fpc板卡都是online状态及cpu利用率cpu utillzation(正常10%)。例如:
TempCPU Utilization (%) Memory Utilization (%)
Slot State (C)TotalInterrupt DRAM (MB) Heap Buffer
0Online 4 0 128 12 26
1Online 4 0 128 12 26
show ospf neigbhor
该命令用来查看OSPF邻居建立状态。现在的爱立信的juniper设备已经准备退网了,很多网元已经割接到华为的设备去了,配置的数据也少了很多,所以看到的配置信息也基本没什么了。例如:
OSPF instance is not running
7) show log
该命令用来查看日志信息。其实跟华为的设备基本一样显示的是日志的记录信息。
8)show system processes extensive
该命令用来查看路由进程引擎的各进程状态,确认无无异常进程,确认单个CPU的占用率低于5%。例如:
last pid: 63370;load averages:0.00,0.00,0.00up 559+08:17:48 09:11:28
64 processes:1 running, 63 sleeping
Mem: 126M Active, 54M Inact, 47M Wired, 9724K Cache, 35M Buf, 8416K Free
Swap: 512M Total, 512M Free
PID USERNAME PRI NICE > 63370 root 29 0 21760K1024K RUN 0:01 55.00%2.69% top
2970 root 10 0 71512K 56324K nanslp 339.1H1.71%1.71% chassisd
63289 root 2 0 14460K8348K select 0:000.10%0.10% mgd
2988 root 2 01948K1400K select25.3H0.00%0.00% ppmd
2977 root 2 0 12228K8632K kqread 559:150.00%0.00% rpd
3005 root 2 05060K4200K select 187:030.00%0.00% dcd
2971 root 2 01872K1088K select 122:040.00%0.00% alarmd
2992 root 2 01444K 888K select 115:000.00%0.00% irsd
………………………………………………………………………………………
………………………………………………………………………………………
9)show route summary
该命令查看路由的配置总数,可以对比与策划的是否一样。
Autonomous system number: 65001
Router> inet.0: 206 destinations, 206 routes (206 active, 0 holddown, 0 hidden)
Direct: 11 routes, 11 active
Local: 8 routes, 8 active
Static: 3 routes, 3 active
IS-IS: 184 routes, 184 active
…………………………………………………………………………..
…………………………………………………………………………..
10)show chassis routing-engine
该命令用来查看路由引擎的负荷,CPU负荷CPU utilization的使用率在10%以下,即Idle要大于90percent。
Routing Engine status:
Temperature 30 degrees C / 86 degrees F
CPU temperature 35 degrees C / 95 degrees F
DRAM 256 MB
Memory utilization 93 percent
CPU utilization:
User 6 percent
Background 0 percent
Kernel 6 percent
Interrupt 1 percent
> Model RE-5.0
Serial> Start time 2007-08-22 00:32:22 CST
Uptime 559 days, 8 hours, 55 minutes, 52 seconds
Load averages: 1 minute 5 minute15 minute
0.08 0.02 0.01
页:
[1]