user@host# commit commit complete
3.5 常用监控维护命令
下列操作命令在操作模式下使用,或在配置模式下run show…
? Show system software 查看当前软件版本号 ? show system uptime 查看系统启动时间
? Show chassis haredware 查看硬件板卡及序列号 ? show chassis environment 查看硬件板卡当前状态
? show chassis routing-engine 查看主控板(RE)资源使用及状态 ? show route 查看路由表 ? show arp 查看ARP表 ? show log messages 查看系统日志
? show interface terse 查看所有接口运行状态 ? show interface ge-x/y/z detail 查看接口运行细节信息
? monitor interface ge-x/y/z 动态统计接口数据包转发信息
? monitor traffic interface ge-x/y/z 动态报文抓取(Tcpdump,类似ScreenOS snoop
命令)
? show security flow session summary 查看当前防火墙并发会话数 ? show security flow session 查看当前防火墙具体并发会话 ? clear security flow session all 清除当前session
? show security alg status 检查全局ALG开启情况
? SRX对应ScreenOS debug flow basic跟踪报文处理路径的命令:
? set security flow traceoptions flag basic-datapath 开启SRX基本报文处理Debug ? set security flow traceoptions file filename.log 将输出信息记录到指定文件中 ? set security flow traceoptions file filename.log size
小,缺省128k
? set security flow traceoptions packet-filter filter1 destination-prefix 5.5.5.2
设置报文跟踪过滤器
? run file show filename.log 查看该Log输出信息
? SRX对应ScreenOS get tech命令,开Case时需要抓取的信息:request support
information
第 11 页 共 11 页