| 
分享学会用AD设备上命令,大家有些人还不知道  
name 查看设备名称 name 
  
sn 查看设备序列号信息 sn 
  
device_status 查看设备在集群中的状态信息 device_status 
  
config 备份配置文件,删除配置文件,查看配置文件,恢复配置
  config -c filename  
config -d finename  
config -l  
config -r filename    
arp 查看设备的arp表 arp 
  
nd 查看设备的ND表 nd 
  
curconn 查看设备的当前连接情况 
 1.curconn(若超过200条,返回前200条连接信息) 
2.curconn -l(显示当前的连接数)   
newconn 查看设备新建连接数 newconn 
  
df 查看磁盘占用率 df 
  
dns 查看设备的DNS信息 dns 
  
ethtool 查看设备的网络 1.ethtool DEVNAME 
2.ethtool -i DEVNAME 
3.ethtool -S DEVNAME 
  
free 查看内存使用 free 
  
cpu_utilization 查看cpu利用率 cpu_utilization 
  
mem_utilization 查看内存利用率 mem_utilization 
  
ifconfig 查看设备网卡信息 ifconfig 
  
iptables 查看设备的iptables规则 iptables -t tableName 
  
ip link 查看设备的网卡信息 ip link 
  
ip route 查看设备的路由表
 1.ip route list 2.ip route list table tableName   
ip rule 查看设备的路由规则 ip rule 
  
netstat 查看设备的服务侦听情况 同linux的netstat命令,输入netstat默认执行netstat -an 
  
ping 查看设备与其他主机的连接情况 同linux下的ping命令 (注意:不使用-c 参数默认ping四个包,若使用-c参数,需放在"ping "之后) 
  
ping6 查看设备与其他主机的连接情况,IPv6地址专用。 同linux下的ping6命令 (注意:不使用-c 参数默认ping四个包,若使用-c参数,需放在"ping "之后) 
  
route 查看系统路由 route 
  
sock 检测连接,检测某个主机的指定端口是否在侦听 sock host port (如:sock 192.168.1.1 4009) 
  
tcpdump 抓取数据包命令 同linux的tcpdump命令,需加-c参数 (如:tcpdump -i eth0 -c 10) 
  
top 查看进程的CPU占用率 top 
  
traceroute 查看设备到达其他网络的中间路径 traceroute host 
  
whoisp 查看IP地址所属的ISP和地域名称 whoisp ip(如:whoisp 202.96.134.133) 
  
check 检测系统状态 check 
  
regexmatch 测试正则表达式 regexmatch(如:regexmatch -es ".*" "sangfor") 
  
vs_statistics 查看虚拟服务统计信息 vs_statistics 
  
pool_statistics 查看节点池统计信息 pool_statistics 
  
node_statistics 查看节点统计信息 node_statistics 
  
interface_statistics 查看接口统计信息 interface_statistics 
  
cpu_info 查看cpu个数及每cpu包含核的个数 cpu_info 
  
number 查看接口,虚拟服务个数,节点池个数,节点个数 number 
  
throughput 查看设备吞吐量 throughput 
  
request 查看设备http请求速率 request 
  
nslookup 查询域名信息 nslookup [-option] [name | -] [server] (如: nslookup -querytype=A www.163.com) (注意:"="两边不能有空格) (帮助:nslookup -all 可以查看option)  
clear 清除屏幕 clear 
  
help 帮助命令列表 help或?
  |