Chinaunix首页 | 论坛 | 博客
  • 博客访问: 942893
  • 博文数量: 276
  • 博客积分: 4182
  • 博客等级: 上校
  • 技术积分: 4486
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:14
文章分类

全部博文(276)

文章存档

2014年(9)

2013年(132)

2012年(135)

分类: 系统运维

2014-02-13 13:08:09

Juniper
  
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             Version Part number Serial 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即表示正常。例如:
> show chassis environment                                                                             
Class Item                   Status     Measurement                                                                               
Power Power Supply 0         OK                                                                                                   
      Power Supply 1         OK                                                                                                   
Temp Intake                 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                                                               
Fans Fan 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%)。例如:
Temp CPU Utilization (%)   Memory    Utilization (%)                                                        
Slot State            (C) Total Interrupt      DRAM (MB) Heap     Buffer                                                        
0 Online                    4          0       128        12         26                                                        
1 Online                    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.00 up 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 SIZE    RES STATE    TIME   WCPU    CPU COMMAND                                                          
63370 root      29   0 21760K 1024K RUN      0:01 55.00% 2.69% top                                                              
2970 root      10   0 71512K 56324K nanslp 339.1H 1.71% 1.71% chassisd                                                         
63289 root       2   0 14460K 8348K select   0:00 0.10% 0.10% mgd                                                              
2988 root       2   0 1948K 1400K select 25.3H 0.00% 0.00% ppmd                                                             
2977 root       2   0 12228K 8632K kqread 559:15 0.00% 0.00% rpd                                                              
3005 root       2   0 5060K 4200K select 187:03 0.00% 0.00% dcd                                                              
2971 root       2   0 1872K 1088K select 122:04 0.00% 0.00% alarmd                                                           
2992 root       2   0 1444K   888K select 115:00 0.00% 0.00% irsd
………………………………………………………………………………………
………………………………………………………………………………………
     9)show route summary
        该命令查看路由的配置总数,可以对比与策划的是否一样。
Autonomous system number: 65001                                                                                                   
Router ID: 192.168.220.1                                                                                                          
                                                                                                                                  
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
…………………………………………………………………………..
…………………………………………………………………………..
   
阅读(2506) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~