中国电信CN2网络Juniper设备常用维护命令手册V1.0(Release)Maintained By Kevin YangCorporate HeadquartersJuniper Networks ,Inc.1194 North Mathilda AvenueSunnyvale, California 94089-1206 USAPhone: 888-JUNIPER (888-586-4737)1-408-745-2000Fax: 1-408-745-2100目录前言 5设备端口5 文档目的 5 使用人员 5 内容范围 5 假设与告诫 相关文献6 运行状态维护命令7 show chassis alarms7 show chassis environment7 show chassis environment pem 9 show chassis environment sib 10 show chassis environment fpc 11 show chassis sibs12 show chassis fabric topology 13 show version16 show chassis hardware detail 16 show chassis fpc19 show chassis fpc detail 20 show chassis fpc pic ‐status22 show chassis pic fpc ‐slot <fpc> pic ‐slot <pic> 23 show chassis rouging ‐engine24 s how chassis feb (只适用于M120)26 show chassis feb detail (只适用于M120)27 show chassis fpc ‐feb ‐connectivity (只适用于M120) 28 show ntp status 29 状态维护命令30 show interfaces descriptions 30 show interfaces terse31 show interfaces diagnostics optics 32 show interfaces extensive 34 show interfaces queue40clear interfaces statist 4 ics 4路由r soft ‐inbound <neighbor> 6MPL <destination> 7其它协议状态维护命令46 show route <destination> 46 show route summary47 show route <destination> exact detail49 show route forwarding ‐table destination <destination> 51 show isis hostname 52 show isis adjacency 53 show isis interface 54 show isis database55 show configuration protocol isis 57 show bgp summary58 show bgp neighbor <neighbor ‐address>59 show route advertising ‐protocol bgp <neighbor> | match 62 show route receive ‐protocol bgp <neighbor> | match 62 show bgp receive ‐protocol bgp <neighbor> all63 show route protocol bgp <destination> exact detail 64 show route protocol bgp aspath ‐regex <aspath ‐regex> 66 clear bgp neighbor <neighbor > 67 clear bgp neighbor soft <neighbor>67 clear bgp neighbo 8 S 相关维护命令69 show mpls lsp69 clear mpls lsp name <name> 71 show mpls interface 71 show rsvp interface 72 show ldp interface 73 show ldp neighbor 74 show ldp session 75 show ldp database75 clear ldp neighbor <neighbor> 77 clear ldp session 7 相关维护命令78 show system storage 78 request chassis pic offline 79 request chassis pic online 79 request chassis fpc offline 80 request chassis fpc online 80 request chassis cb offline 80 request chassis cb online 81 request chassis sib offline 81 request chassis sib online81 request chassis routing ‐engine master switch82 request routing ‐engine login other ‐routing ‐engine82request system halt 82 request system reboot83 request system software add 83 request system snapshot 4 8故障show pfe statistics traffic 89信息收集命令85 request support information 85 show log messages 86 show log chassisd86 show chassis hardware detail | no ‐more 87前言文档目的本文档是瞻博网络公司(Juniper)工程师为中国电信CN2 网络维护人员编写的维护常用命令手册使用人员本文档资料主要面向负责中国电信CN2的网络维护技术人员内容范围本文档包含Juniper路由器设备软硬件状态,配置状态,连接状态,负载状态,路由协议, QoS 状态,运行状态记录情况,故障信息收集等方面的常用命令 假设与告诫假设阅读本文档的技术人员拥有本文中描述的Juniper路由产品的安装和运行经 验,并了解配置、升级和故障排除的基本程序。
如需进一步了解Juniper路由器操作命令和配置,请参阅下述相关英文版文献,如本文中文内容与英文版文献有抵触之处,以英文版文献描述为准相关文献[1] JUNOS 8.5 Software Document/techpubs/software/junos/junos85/index.html设备运行状态维护命令show chassis alarms命令功能:察看当前系统的告警命令举例:> show chassis alarms1 alarms currently activeAlarm time Class Description2009-01-06 11:07:33 CST Major Host 0 ECC single bit parity error关键字段说明:Alarm time 报警发生的日期和时间Class 报警级别(Major 表示严重,Minor表示轻微) Description 报警的内容show chassis environment命令功能:显示设备的环境信息,包括温度、风扇状态、电源状态、路由引擎状态等命令举例:Bottom Left Rear fan OK Spinning at normal speedBottom Right Front fan OK Spinning at normal speedBottom Right Middle fan OK Spinning at normal speedBottom Right Rear fan OK Spinning at normal speedFourth Blower from top OK Spinning at normal speedBottom Blower OK Spinning at normal speedMiddle Blower OK Spinning at normal speedTop Blower OK Spinning at normal speedSecond Blower from top OK Spinning at normal speedMisc CIP OKSPMB 0 OKSPMB 1 OK关键字段说明:Class 类别 (温度、风扇和其它)Item 条目列表Status 运行状态Measurement 温度和风扇的转速show chassis environment pem命令功能:显示电源模块的环境状态信息,包括温度、电压、电流、功率、负载等 (电流和功率只适用于T-Series路由器)命令举例:> show chassis environment pemPEM 0 status:State OnlineTemperature 26 degrees C / 78 degrees FDC Input: OKDC Output Voltage Current Power LoadFPC 0 55250 1325 73 9FPC 1 55858 1331 74 9FPC 2 55550 1212 67 8FPC 3 55758 1143 63 8FPC 4 55858 831 46 6FPC 5 55916 1006 56 7FPC 6 55775 2056 114 15FPC 7 55775 162 9 1SCG/CB/SIB 55391 425 23 1PEM 1 status:State OnlineTemperature 27 degrees C / 80 degrees F DC Input: OKDC Output Voltage Current Power LoadFPC 0 55308 1181 65 8FPC 1 55758 1200 66 8FPC 2 55758 1268 70 9FPC 3 55791 1262 70 9FPC 4 55691 943 52 6FPC 5 55691 1231 68 9FPC 6 55533 2162 120 16FPC 7 55900 156 8 1SCG/CB/SIB 55325 350 19 1关键字段说明:State 运行状态Temperature 电源模块的温度DC Input 直流电输入状态DC Output 直流电输出 (根据不同的板卡)Voltage 输出电压Current 输出电流Power 输出功率Load 负载大小(百分比)show chassis environment sib命令功能:显示交换接口板SIB的环境状态信息,包括温度、电压等命令举例:> show chassis environment sib 0SIB 0 status:State OnlineTemperature 37 degrees C / 98 degrees F PowerGROUND 0 mV1.8 V 1799 mV2.5 V 2495 mV3.3 V 3321 mV1.8 V bias 1789 mV3.3 V bias 3269 mV5.0 V bias 4986 mV8.0 V bias 7213 mV关键字段说明:State 运行状态Temperature 电源模块的温度Power 电压偏差show chassis environment fpc命令功能:显示FPC板的环境状态信息,包括温度、电压等命令举例:> show chassis environment fpc 0FPC 0 status:State OnlineTemperature Top 41 degrees C / 105 degrees F Temperature Bottom 26 degrees C / 78 degrees F Temperature MMB0 35 degrees C / 95 degrees F Temperature MMB1 29 degrees C / 84 degrees F Power1.8 V 1794 mV2.5 V 2514 mV3.3 V 3339 mV5.0 V 5040 mV1.8 V bias 1794 mV3.3 V bias 3296 mV5.0 V bias 4981 mV8.0 V bias 7670 mVBus Revision 40关键字段说明:State 运行状态Temperature Top FPC顶部的温度Temperature Bottom FPC底部温度Temperature MMB0 FPC MMB0的温度Temperature MMB1 FPC MMB1的温度Power 电压偏差show chassis sibs命令功能:察看SIB板(交换接口板,即交换矩阵)的状态命令举例:> show chassis sibsSlot State Uptime0 Online 88 days, 9 hours, 29 minutes, 35 seconds1 Online 88 days, 9 hours, 29 minutes, 36 seconds2 Online 88 days, 9 hours, 29 minutes, 36 seconds3 Spare4 Online 88 days, 9 hours, 29 minutes, 35 seconds关键字段说明:Slot SIB板槽位State 状态,如果是online或Spare则正常,如果是check或 offline则不正常Uptime 自上次online 迄今为止的时间show chassis fabric topology命令功能:察看交换矩阵的拓扑及状态命令举例:> show chassis fabric topologyfchip (mode)in-links state out-links state------------------------------------------------------------------Sib #0 :---------SIB0_F0 (F3S):FPC0_T->SIB0_F0,00 UP SIB0_F0,00->FPC3_B UPFPC0_B->SIB0_F0,01 UP SIB0_F0,01->FPC3_T UPFPC1_T->SIB0_F0,02 UP SIB0_F0,02->FPC2_B UPFPC1_B->SIB0_F0,03 UP SIB0_F0,03->FPC2_T UPFPC2_T->SIB0_F0,04 UP SIB0_F0,04->FPC1_B UPFPC2_B->SIB0_F0,05 UP SIB0_F0,05->FPC1_T UPFPC3_T->SIB0_F0,06 UP SIB0_F0,06->FPC0_B UPFPC3_B->SIB0_F0,07 UP SIB0_F0,07->FPC0_T UPFPC4_T->SIB0_F0,08 UP SIB0_F0,08->FPC7_B UPFPC4_B->SIB0_F0,09 UP SIB0_F0,09->FPC7_T UPFPC5_T->SIB0_F0,10 UP SIB0_F0,10->FPC6_B UPFPC6_T->SIB0_F0,12 UP SIB0_F0,12->FPC5_B UP FPC6_B->SIB0_F0,13 UP SIB0_F0,13->FPC5_T UP FPC7_T->SIB0_F0,14 RESET SIB0_F0,14->FPC4_B UP FPC7_B->SIB0_F0,15 UP SIB0_F0,15->FPC4_T UPSib #1 :---------SIB1_F0 (F3S):FPC0_T->SIB1_F0,00 UP SIB1_F0,00->FPC3_B UP FPC0_B->SIB1_F0,01 UP SIB1_F0,01->FPC3_T UP FPC1_T->SIB1_F0,02 UP SIB1_F0,02->FPC2_B UP FPC1_B->SIB1_F0,03 UP SIB1_F0,03->FPC2_T UP FPC2_T->SIB1_F0,04 UP SIB1_F0,04->FPC1_B UP FPC2_B->SIB1_F0,05 UP SIB1_F0,05->FPC1_T UP FPC3_T->SIB1_F0,06 UP SIB1_F0,06->FPC0_B UP FPC3_B->SIB1_F0,07 UP SIB1_F0,07->FPC0_T UP FPC4_T->SIB1_F0,08 UP SIB1_F0,08->FPC7_B UP FPC4_B->SIB1_F0,09 UP SIB1_F0,09->FPC7_T UP FPC5_T->SIB1_F0,10 UP SIB1_F0,10->FPC6_B UP FPC5_B->SIB1_F0,11 UP SIB1_F0,11->FPC6_T UP FPC6_T->SIB1_F0,12 UP SIB1_F0,12->FPC5_B UP FPC6_B->SIB1_F0,13 UP SIB1_F0,13->FPC5_T UP FPC7_T->SIB1_F0,14 RESET SIB1_F0,14->FPC4_B UP FPC7_B->SIB1_F0,15 UP SIB1_F0,15->FPC4_T UPSib #2 :---------SIB2_F0 (F3S):FPC0_T->SIB2_F0,00 UP SIB2_F0,00->FPC3_B UP FPC0_B->SIB2_F0,01 UP SIB2_F0,01->FPC3_T UP FPC1_T->SIB2_F0,02 UP SIB2_F0,02->FPC2_B UP FPC1_B->SIB2_F0,03 UP SIB2_F0,03->FPC2_T UP FPC2_T->SIB2_F0,04 UP SIB2_F0,04->FPC1_B UP FPC2_B->SIB2_F0,05 UP SIB2_F0,05->FPC1_T UP FPC3_T->SIB2_F0,06 UP SIB2_F0,06->FPC0_B UP FPC3_B->SIB2_F0,07 UP SIB2_F0,07->FPC0_T UP FPC4_T->SIB2_F0,08 UP SIB2_F0,08->FPC7_B UP FPC4_B->SIB2_F0,09 UP SIB2_F0,09->FPC7_T UP FPC5_T->SIB2_F0,10 UP SIB2_F0,10->FPC6_B UP FPC5_B->SIB2_F0,11 UP SIB2_F0,11->FPC6_T UP FPC6_T->SIB2_F0,12 UP SIB2_F0,12->FPC5_B UP FPC6_B->SIB2_F0,13 UP SIB2_F0,13->FPC5_T UP FPC7_T->SIB2_F0,14 RESET SIB2_F0,14->FPC4_B UPSib #3 :---------SIB3_F0 (F3S):FPC0_T->SIB3_F0,00 UP SIB3_F0,00->FPC3_B UP FPC0_B->SIB3_F0,01 UP SIB3_F0,01->FPC3_T UP FPC1_T->SIB3_F0,02 UP SIB3_F0,02->FPC2_B UP FPC1_B->SIB3_F0,03 UP SIB3_F0,03->FPC2_T UP FPC2_T->SIB3_F0,04 UP SIB3_F0,04->FPC1_B UP FPC2_B->SIB3_F0,05 UP SIB3_F0,05->FPC1_T UP FPC3_T->SIB3_F0,06 UP SIB3_F0,06->FPC0_B UP FPC3_B->SIB3_F0,07 UP SIB3_F0,07->FPC0_T UP FPC4_T->SIB3_F0,08 UP SIB3_F0,08->FPC7_B UP FPC4_B->SIB3_F0,09 UP SIB3_F0,09->FPC7_T UP FPC5_T->SIB3_F0,10 UP SIB3_F0,10->FPC6_B UP FPC5_B->SIB3_F0,11 UP SIB3_F0,11->FPC6_T UP FPC6_T->SIB3_F0,12 UP SIB3_F0,12->FPC5_B UP FPC6_B->SIB3_F0,13 UP SIB3_F0,13->FPC5_T UP FPC7_T->SIB3_F0,14 RESET SIB3_F0,14->FPC4_B UP FPC7_B->SIB3_F0,15 UP SIB3_F0,15->FPC4_T UPSib #4 :---------SIB4_F0 (F3S):FPC0_T->SIB4_F0,00 UP SIB4_F0,00->FPC3_B UP FPC0_B->SIB4_F0,01 UP SIB4_F0,01->FPC3_T UP FPC1_T->SIB4_F0,02 UP SIB4_F0,02->FPC2_B UP FPC1_B->SIB4_F0,03 UP SIB4_F0,03->FPC2_T UP FPC2_T->SIB4_F0,04 UP SIB4_F0,04->FPC1_B UP FPC2_B->SIB4_F0,05 UP SIB4_F0,05->FPC1_T UP FPC3_T->SIB4_F0,06 UP SIB4_F0,06->FPC0_B UP FPC3_B->SIB4_F0,07 UP SIB4_F0,07->FPC0_T UP FPC4_T->SIB4_F0,08 UP SIB4_F0,08->FPC7_B UP FPC4_B->SIB4_F0,09 UP SIB4_F0,09->FPC7_T UP FPC5_T->SIB4_F0,10 UP SIB4_F0,10->FPC6_B UP FPC5_B->SIB4_F0,11 UP SIB4_F0,11->FPC6_T UP FPC6_T->SIB4_F0,12 UP SIB4_F0,12->FPC5_B UP FPC6_B->SIB4_F0,13 UP SIB4_F0,13->FPC5_T UP FPC7_T->SIB4_F0,14 RESET SIB4_F0,14->FPC4_B UP FPC7_B->SIB4_F0,15 UP SIB4_F0,15->FPC4_T UP关键字段说明:In-link 交换矩阵中接收端链路Out-link 交换矩阵中发送端链路State 状态,如果出现fault则表示正常show version命令功能:显示主机名、设备型号和软件版本命令举例:> show versionHostname: 2-RE1Model: t640JUNOS Base OS boot [8.5-20081017.0]JUNOS Base OS Software Suite [8.5-20081017.0]JUNOS Kernel Software Suite [8.5-20081017.0]JUNOS Crypto Software Suite [8.5-20081017.0]JUNOS Packet Forwarding Engine Support (M/T Common) [8.5-20081017.0]JUNOS Packet Forwarding Engine Support (T-Series) [8.5-20081017.0]JUNOS Online Documentation [8.5-20081017.0]JUNOS Routing Software Suite [8.5-20081017.0]关键字段说明:Hostname 设备主机名Model 设备型号[] 方括号里是JUNOS软件版本,例如8.5-20081017.0show chassis hardware detail命令功能:察看设备的硬件清单、类型、序列号等信息命令举例:> show chassis hardware detailHardware inventory:Item Version Part number Serial number DescriptionChassis 67705 T640Midplane REV 03 710-005608 RB1631 T640 BackplaneFPM GBUS REV 09 710-002901 RA3668 T640 FPM BoardFPM Display REV 05 710-002897 RA3763 FPM DisplayCIP REV 06 710-002895 JA7568 T-series CIPPEM 0 Rev 11 740-002595 QJ19404 Power Entry Module PEM 1 Rev 11 740-002595 QJ19461 Power Entry Module SCG 0 REV 11 710-003423 JC7437 T640 Sonet Clock Gen. SCG 1 REV 11 710-003423 HY1169 T640 Sonet Clock Gen. Routing Engine 0 REV 07 740-008883 P11123901831 RE-4.0ad0 245 MB SanDisk SDCFB-256 116912G2904E0553 Compact Flashad1 28615 MB FUJITSU MHT2030AR NN6QT4B14JUM Hard DiskRouting Engine 1 REV 07 740-008883 P11123901893 RE-4.0ad0 245 MB SanDisk SDCFB-256 115215K2304Q3326 Compact Flashad1 28615 MB FUJITSU MHT2030AR NN6QT4B14JSF Hard DiskCB 0 REV 16 710-002728 HW3143 T-series Control Board CB 1 REV 16 710-002728 HY2751 T-series Control Board FPC 0 REV 11 710-010154 HX6099 E-FPC Type 3CPU REV 05 710-010169 HY2979 FPC CPU-EnhancedPIC 0 REV 08 750-009450 JF5130 1x STM-64 SM I-64.2PIC 1 REV 17 750-005499 HX5802 1x STM-64 SM LRPIC 2 REV 17 750-005499 HX5805 1x STM-64 SM LRPIC 3 REV 17 750-005499 JF5146 1x STM-64 SM LRMMB 0 REV 04 710-010171 JF2799 MMB-5M3-288mbitMMB 1 REV 04 710-010171 JF2801 MMB-5M3-288mbitFPC 1 REV 11 710-010154 HX9327 E-FPC Type 3CPU REV 05 710-010169 HX5788 FPC CPU-EnhancedPIC 0 REV 17 750-005499 JF5145 1x STM-64 SM LRPIC 1 REV 08 750-009450 JB8179 1x STM-64 SM I-64.2PIC 2 REV 08 750-009450 JA0055 1x STM-64 SM I-64.2PIC 3 REV 08 750-009450 HZ4368 1x STM-64 SM I-64.2MMB 0 REV 04 710-010171 HZ9765 MMB-5M3-288mbitMMB 1 REV 04 710-010171 HZ9756 MMB-5M3-288mbitFPC 2 REV 11 710-010154 JB1087 E-FPC Type 3CPU REV 05 710-010169 HX9282 FPC CPU-EnhancedPIC 0 REV 17 750-005499 HX5808 1x STM-64 SM LRPIC 1 REV 09 750-009553 HZ0693 4x STM-16 SDHXcvr 0 REV 01 740-011785 P6M0LMZ SFP-SRXcvr 1 REV 01 740-011785 P6N134X SFP-SRXcvr 2 REV 01 740-011785 P6M0LW2 SFP-SRXcvr 3 REV 01 740-011785 P6M0LBB SFP-SRPIC 2 REV 09 750-009553 JB9567 4x STM-16 SDHXcvr 0 REV 01 740-011787 P6P2GPT SFP-LRXcvr 1 REV 01 740-011787 P6A1067 SFP-LRXcvr 2 REV 01 740-011787 P6P2JA8 SFP-LRXcvr 3 REV 01 740-011787 P6P2H4U SFP-LRPIC 3 REV 09 750-009553 JB8529 4x STM-16 SDHXcvr 0 REV 01 740-011785 P6N0TPS SFP-SRXcvr 1 REV 01 740-011787 789520D00070 SFP-LRMMB 0 REV 04 710-010171 JE0245 MMB-5M3-288mbitMMB 1 REV 04 710-010171 JE0253 MMB-5M3-288mbitFPC 3 REV 11 710-010154 HW9461 E-FPC Type 3CPU REV 05 710-010169 JB0694 FPC CPU-EnhancedPIC 0 REV 12 750-007141 JC7550 10x 1GE(LAN), 1000 BASE Xcvr 0 REV 01 740-011782 P6S14Z0 SFP-SXXcvr 1 REV 01 740-011782 P6S14YZ SFP-SXXcvr 2 REV 01 740-011612 840016D00468 SFP-LHXcvr 3 REV 01 740-011612 840016D00462 SFP-LHXcvr 4 NON-JNPR LW210083340518 SFP-LHPIC 1 REV 23 750-005499 NC7415 1x OC-192 SM LRPIC 2 REV 23 750-005499 NA6264 1x OC-192 SM LRPIC 3 REV 15 750-009450 NE9121 1x OC-192 SM SR2MMB 0 REV 04 710-010171 HW9516 MMB-5M3-288mbitMMB 1 REV 04 710-010171 HX9537 MMB-5M3-288mbitFPC 4 REV 06 710-013560 WN7447 E2-FPC Type 3CPU REV 04 710-013563 WN6678 FPC CPU-EnhancedPIC 0 REV 08 750-012793 WN0917 1x 10GE(LAN/WAN) IQ2Xcvr 0 REV 01 740-014290 KCJ0116 XFP-10G-ERMMB 0 REV 07 710-010171 WN6351 MMB-5M3-288mbitMMB 1 REV 07 710-010171 WN6422 MMB-5M3-288mbitFPC 5 REV 06 710-013560 WR7062 E2-FPC Type 3CPU REV 04 710-013563 WR0915 FPC CPU-EnhancedPIC 0 REV 09 750-012793 WR4935 1x 10GE(LAN/WAN) IQ2Xcvr 0 REV 01 740-014279 T08C54627 XFP-10G-LRMMB 0 REV 07 710-010171 WR0691 MMB-5M3-288mbitMMB 1 REV 07 710-010171 WR0711 MMB-5M3-288mbitFPC 6 REV 14 710-010845 DM3432 FPC Type 4CPU REV 06 710-011481 DM1909 FPC CPU-EnhancedPIC 0 REV 16 750-012518 DL2812 4x OC-192 SONET XFPMMB 0 REV 01 710-016606 DL2973 ST-MMBFPC 7 REV 08 710-010233 HZ3882 E-FPC Type 1CPU REV 05 710-010169 HZ1077 FPC CPU-EnhancedPIC 0 REV 04 750-011209 JB4517 Adaptive Services-IIMMB 1 REV 03 710-008923 JA9320 MMB 3M 288-bitSPMB 0 REV 10 710-003229 HW4789 T-series Switch CPUSPMB 1 REV 10 710-003229 HZ9267 T-series Switch CPUSIB 0 REV 08 750-012835 WT1330 SIB-I8-F16 2.0SIB 1 REV 08 750-012835 WT1319 SIB-I8-F16 2.0SIB 2 REV 08 750-012835 WT1331 SIB-I8-F16 2.0SIB 3 REV 08 750-012835 WT1298 SIB-I8-F16 2.0SIB 4 REV 08 750-012835 WT1296 SIB-I8-F16 2.0Fan Tray 0 Front Top Fan TrayFan Tray 1 Front Bottom Fan TrayFan Tray 2 Rear Fan Tray关键字段说明:Item 板卡列表Version 硬件版本Part Number 器件号码Serial Number 板卡序列号Description 板卡类型描述show chassis fpc命令功能:察看FPC(Flexible PIC Concentrator)板卡的状态、温度、CPU利用率、内存利用率等信息命令举例:> show chassis fpcTemp CPU Utilization (%) Memory Utilization (%)Slot State (C) Total Interrupt DRAM (MB) Heap Buffer0 Online 26 3 0 256 37 491 Online 26 3 0 256 37 492 Online 26 6 0 256 37 503 Online 27 5 0 256 37 494 Online 26 3 0 1024 7 495 Online 26 2 0 10247 496 Online 33 5 0 1024 9 497 Online 23 1 0 256 29 49关键字段说明:Slot FPC槽位号State 状态,如果是非Online状态,则表示异常 Temp 温度CPU Utilization FPC的CPU利用率,百分比表示Total 总共的CPU利用率Interrupt 中断的CPU利用率Memory Utilization FPC的内存利用率,百分比表示DRAM (MB) FPC的动态内存(DRAM)大小,单位为MB Heap 动态内存的利用率Buffer 缓存的利用率show chassis fpc detail命令功能:察看FPC板卡的状态、温度、内存大小、启动时间等信息命令举例:> show chassis fpc detailSlot 0 information:State OnlineTemperature 26 degrees C / 78 degrees FTotal CPU DRAM 256 MBTotal SRAM 72 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:34 CSTUptime 88 days, 10 hours, 9 minutes, 58 seconds Slot 1 information:State OnlineTemperature 26 degrees C / 78 degrees FTotal CPU DRAM 256 MBTotal SRAM 72 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:37 CSTUptime 88 days, 10 hours, 9 minutes, 55 seconds Slot 2 information:State OnlineTemperature 26 degrees C / 78 degrees FTotal CPU DRAM 256 MBTotal SRAM 72 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:39 CSTUptime 88 days, 10 hours, 9 minutes, 53 seconds Slot 3 information:State OnlineTemperature 27 degrees C / 80 degrees FTotal CPU DRAM 256 MBTotal SRAM 72 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:41 CSTUptime 88 days, 10 hours, 9 minutes, 51 seconds Slot 4 information:State OnlineTemperature 26 degrees C / 78 degrees FTotal CPU DRAM 1024 MBTotal SRAM 72 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:57 CSTUptime 88 days, 10 hours, 9 minutes, 35 seconds Slot 5 information:State OnlineTemperature 26 degrees C / 78 degrees FTotal CPU DRAM 1024 MBTotal SRAM 72 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:59 CSTUptime 88 days, 10 hours, 9 minutes, 33 seconds Slot 6 information:State OnlineTemperature 33 degrees C / 91 degrees FTotal CPU DRAM 1024 MBTotal SRAM 64 MBTotal SDRAM 1280 MBStart time 2008-12-19 01:12:55 CSTUptime 88 days, 10 hours, 9 minutes, 37 seconds Slot 7 information:State OnlineTemperature 23 degrees C / 73 degrees FTotal CPU DRAM 256 MBTotal SRAM 36 MBTotal SDRAM 384 MBStart time 2008-12-19 01:12:52 CSTUptime 88 days, 10 hours, 9 minutes, 40 seconds关键字段说明:State 状态,如果是非Online状态,则表示异常Temperature 温度Total CPU DRAM FPC的动态内存(DRAM)大小,单位为MBTotal SRAM FPC的静态内存的大小,单位为MBTotal SDRAM FPC的共享内存的大小,单位为MBStart time FPC启动时间Uptime 自上次Online,迄今为止的时间show chassis fpc pic‐status命令功能:察看PIC(Physical Interface Card)的状态列表命令举例:> show chassis fpc pic-statusSlot 0 Online E-FPC Type 3PIC 0 Online 1x STM-64 SM I-64.2PIC 1 Online 1x STM-64 SM LRPIC 2 Online 1x STM-64 SM LRPIC 3 Online 1x STM-64 SM LRSlot 1 Online E-FPC Type 3PIC 0 Online 1x STM-64 SM LRPIC 1 Online 1x STM-64 SM I-64.2PIC 2 Online 1x STM-64 SM I-64.2PIC 3 Online 1x STM-64 SM I-64.2Slot 2 Online E-FPC Type 3PIC 0 Online 1x STM-64 SM LRPIC 1 Online 4x STM-16 SDHPIC 2 Online 4x STM-16 SDHPIC 3 Online 4x STM-16 SDHSlot 3 Online E-FPC Type 3PIC 0 Online 10x 1GE(LAN), 1000 BASEPIC 1 Online 1x OC-192 SM LRPIC 2 Online 1x OC-192 SM LRPIC 3 Online 1x OC-192 SM SR2Slot 4 Online E2-FPC Type 3PIC 0 Online 1x 10GE(LAN/WAN) IQ2Slot 5 Online E2-FPC Type 3PIC 0 Online 1x 10GE(LAN/WAN) IQ2Slot 6 Online FPC Type 4PIC 0 Online 4x OC-192 SONET XFPSlot 7 Online E-FPC Type 1PIC 0 Online Adaptive Services-II关键字段说明:Slot FPC槽位PIC PIC槽位Online PIC卡状态,如果不是Online状态,则表示异常show chassis pic fpc‐slot <fpc> pic‐slot <pic>命令功能:察看PIC(Physical Interface Card)的类型、状态、版本、Online时间等信息命令举例:> show chassis pic fpc-slot 0 pic-slot 0FPC slot 0, PIC slot 0 information:Type 1x STM-64 SM I-64.2ASIC type D4P chipState OnlinePIC version 2.8Uptime 88 days, 10 hours, 22 minutes, 46 seconds关键字段说明:Type PIC类型State 状态Uptime 自上次Online,迄今为止的时间show chassis rouging‐engine命令功能:察看路由引擎(RE)的状态、主备关系、温度、CPU利用率、内存利用率、型号、启动时间等信息命令举例:> show chassis routing-engineRouting Engine status:Slot 0:Current state BackupElection priority Master (default)Temperature 37 degrees C / 98 degrees FCPU temperature 38 degrees C / 100 degrees FDRAM 2048 MBMemory utilization 15 percentCPU utilization:User 0 percentBackground 0 percentKernel 0 percentInterrupt 0 percentIdle 99 percentModel RE-4.0Serial ID P11123901831Start time 2008-12-19 01:13:17 CSTUptime 88 days, 10 hours, 26 minutes, 46 secondsRouting Engine status:Slot 1:Current state MasterElection priority Backup (default)Temperature 36 degrees C / 96 degrees FCPU temperature 38 degrees C / 100 degrees FDRAM 2048 MBMemory utilization 47 percentCPU utilization:User 1 percentBackground 1 percentKernel 5 percentInterrupt 0 percentIdle 92 percentModel RE-4.0Serial ID P11123901893Start time 2008-12-18 23:42:41 CSTUptime 88 days, 11 hours, 57 minutes, 33 secondsLoad averages: 1 minute 5 minute 15 minute0.19 0.17 0.08关键字段说明:Slot RE槽位号Current State 当前主备状态,Master表示主用,Backup表示备份 Election Priority 启动时主备选举的优先权Temperature 温度CPU Temperature CPU温度DRAM 内存大小,单位为MBMemory Utilization 内存利用率,百分比表示CPU Utilization CPU利用率,百分比表示Idle CPU空闲的时间百分比,如果小于10%,表示异常Model 路由引擎的型号Serial ID 路由引擎的序列号Start time 路由引擎的启动时间Uptime 路由引擎自上次启动,迄今为止的时间Load Average 路由引擎负荷大小,在最近1分钟、5分钟和15分钟s how chassis feb (只适用于M120)命令功能:察看M120路由器的FEB(Forwarding Engine Board)转发引擎板的状态、温度、CPU 利用率、内存利用率等信息命令举例:> show chassis febTemp CPU Utilization (%) Memory Utilization (%)Slot State (C) Total Interrupt DRAM (MB) Heap Buffer0 Empty1 Empty2 Online 26 1 0 512 15 603 Online 29 1 0 512 15 604 Empty5 Empty关键字段说明:Slot FPC槽位号State 状态,如果是非Online状态,则表示异常Temp 温度CPU Utilization FEB的CPU利用率,百分比表示Total 总共的CPU利用率Interrupt 中断的CPU利用率Memory Utilization FEB的内存利用率,百分比表示DRAM (MB) FEB的动态内存(DRAM)大小,单位为MBHeap 动态内存的利用率Buffer 缓存的利用率show chassis feb detail (只适用于M120)命令功能:察看M120路由器的FEB板的状态、温度、内存大小、启动时间等信息命令举例:> show chassis feb detailSlot 2 information:State OnlineIntake temperature 26 degrees C / 78 degrees FExhaust A temperature 28 degrees C / 82 degrees FExhaust B temperature 31 degrees C / 87 degrees FTotal CPU DRAM 512 MBTotal DDR DRAM 1024 MBTotal RLDRAM 64 MBStart time: 2008-12-11 00:25:34 CSTUptime: 96 days, 11 hours, 41 minutes, 18 seconds Slot 3 information:State OnlineIntake temperature 29 degrees C / 84 degrees FExhaust A temperature 29 degrees C / 84 degrees FExhaust B temperature 29 degrees C / 84 degrees FTotal CPU DRAM 512 MBTotal DDR DRAM 1024 MBTotal RLDRAM 64 MBStart time: 2008-12-11 00:25:36 CSTUptime: 96 days, 11 hours, 41 minutes, 16 seconds关键字段说明:State 状态,如果是非Online状态,则表示异常Intake Temperature 进风口温度Exhaust A Temperature 出风口A的温度Exhaust B Temperature 出风口B的温度Total CPU DRAM FEB的动态内存(DRAM)大小,单位为MBTotal DDR DRAM FEB的双速率内存的大小,单位为MBTotal RLDRAM FEB的低延迟内存的大小,单位为MBStart time FEB启动时间Uptime 自上次Online,迄今为止的时间show chassis fpc‐feb‐connectivity (只适用于M120) 命令功能:察看M120路由器FPC板与FEB板的对应关系命令举例:> show chassis fpc-feb-connectivityFPC FPC type FPC state Connected FEB FEB state Link status0 Empty 0 Empty1 Empty 1 Empty2 Type 1 Online 2 Online OK3 Type 1 Online 3 Online OK4 Empty 4 Empty5 Empty 5 Empty关键字段说明:FPC FPC槽位FPC type FPC类型,有类型一、二、三等FPC state FPC状态Connected FEB FPC对应的FEB槽位号FEB state FEB状态Link status FPC与FEB之间连路的状态show ntp status命令功能:察看NTP(网络时钟协议)的状态命令举例:> show ntp statusstatus=06f4 leap_none, sync_ntp, 15 events, event_peer/strat_chg,version="ntpd 4.2.0-a Fri Oct 17 07:19:28 UTC 2008 (1)",processor="i386", system="JUNOS8.5-20081017.0", leap=00, stratum=4,precision=-20, rootdelay=307.597, rootdispersion=84.345, peer=6964,refid=59.43.0.6,reftime=cd6999a4.ab17644e Tue, Mar 17 2009 11:38:12.668, poll=10,clock=cd69a233.51b5985f Tue, Mar 17 2009 12:14:43.319, state=4,offset=-13.622, frequency=57.833, jitter=4.748, stability=0.025关键字段说明:Sync_ntp 表示与NTP服务器已同步,如果没有此输出,则表示异常 Stratum 设备的NTP时钟层次Precision 设备的时钟精度Reftime 当前参考时间端口状态维护命令show interfaces descriptions命令功能:显示接口描述列表命令举例:> show interfaces descriptionsInterface Admin Link Descriptionso-0/0/0.0 up up To 2 10G(S-64N2005CN2)so-0/1/0.0 up down To 2 10G::NoResourceso-0/2/0.0 up up To 2 10G(S-64N2005CN2);so-0/3/0.0 up up To 2 10G(S-64N2003CN2)so-1/0/0.0 up up To 2 10G-1so-1/1/0.0 up up To 2 10G-1so-1/2/0.0 up up To BJ-BJ-JA-C-3.163 10G-1::AS4134so-1/3/0.0 up up To MAN 10G-1::AS4847::BeiJingso-2/0/0.0 up up To 2 10G-1so-2/1/0.0 up up To 2 2.5G(S-16N0003CN2)so-2/1/1.0 up up To 2 2.5G(S-16N0002CN2)so-2/1/2.0 up up To 2 2.5G(S-16N0002CN2)so-2/1/3.0 up up To 2 2.5G(S-16N0004CN2) so-2/2/0.0 up up To 2 2.5G(S-16N0001CN2) so-2/2/1.0 up down To 2 2.5G::NoResource so-2/2/2.0 up up To 2 2.5G(S-16N0005CN2) so-2/2/3.0 up up To 2 2.5G-1so-2/3/0.0 up up To 2 2.5G-1so-2/3/1.0 up up To 2 2.5G-2ge-3/0/0.0 up up To 2 GE-1ge-3/0/1.0 up up To 2 GE-1ge-3/0/2.0 up up To 2 GE-1ge-3/0/3.0 up up To 2 GE-1ge-3/0/4.0 up up To DNS GE-1::AS64996::BeiJingxe-4/0/0.0 up up To CDN 10G-1::AS64569::BeiJingxe-5/0/0 up up To BJ-BJ-JA-CC-C7609-1 10GEgr-7/0/0.10 up up to_Route Exp(2006-02-24)(linyh);gr-7/0/0.20 down up to_myFreeBSD(2006-01-10)(wanglq)gr-7/0/0.40 up up To Zhong-Ying NMC-RE linyhlo0.0 up up For Global Routing关键字段说明:Interface 接口名Admin 接口管理状态Link 接口物理链路状态Description 接口描述show interfaces terse命令功能:显示接口概要信息命令举例:> show interfaces terseInterface Admin Link Proto Local Remote so-0/0/0 up upso-0/0/0.0 up up inet 59.43.17.1/30isomplsso-0/1/0 up downso-0/1/0.0 up down inet 59.43.17.5/30isompls关键字段说明:Interface 接口名Admin 接口管理状态Link 接口物理链路状态。