信息收集
基本信息
版本/序列号
get system status
HA状态
主备状态/优先级
diagnose sys ha status
同步状态
get system ha status
硬件相关
电源状态
diagnose hardware deviceinfo psu
风扇状态、CPU温度信息
exe sensor list
CF卡/硬盘状态
diagnose hardware deviceinfo disk
diagnose sys flash list
exe disk list
接口相关
网络接口状态
get system interface
接口丢包统计
diagnose hardware deviceinfo nic port1(接口名称)
光口收发光情况
get sys interface transceiver
聚合口状态
diagnose netlink aggregate list
VLAN状态
diagnose sys vlan list
接口带宽利用率
ARP表
get system arp
性能相关
CPU/内存/吞吐量
get system performance status
用户进程TOP
diagnose sys top 5 20
(键入shift+P以CPU占用排序,键入shift+M以内存占用排序)
追踪某个CPU的处理模块
适用于某个CPU高时的信息收集。
diagnose sys profile cpumask x //x为CPU编号
diagnose sys profile start
diagnose sys profile stop //运行完start后,等一会儿再stop
diagnose sys profile show order //一定要先运行stop再show orfer
会话相关
会话统计
diagnose sys session full-stat
路由相关
路由表查看
当前路由表
get router info routing-table all
路由database
get router info routing-table database
OSPF
OSPF状态
get router info ospf status
OSPF邻居
get router info ospf neighbor
BGP
BGP状态
get router info bgp summary
BGP邻居
get router info bgp neighbors
BGP路由
get router info bgp network
BGP邻居收到/通告的路由
get router info bgp neighbors x.x.x.x received-routes
get router info bgp neighbors x.x.x.x advertised-routes