常用系统命令
1、 消除命令行显示乱码命令
manage terminal grid-mode set off
由于系统语言的区别,导致命令行制表符显示乱码,以上命令消除了制表符,使得负载均衡设备正常输出字符
2、查看ip地址
AppDirector#net ip-interface
net ip-interface help:
set
create/add
-i : If Number -m : Network Mask -f : Fwd Broadcast -ba : Broadcast Addr -v : VlanTag
3、查看负载均衡设备路由
AppDirector#net route table
net route table help:
set
destroy/del
create/add
help <-switch> Switches:
-i : Interface Index -t : Type -m : Metric
4、查看物理端口状态
AppDirector#system inf-stats
看物理端口是否有丢包或者错误数据包
5、查看vrrp主备工作状态
AppDirector#redundancy vrrp virtual-routers
6、查看cpu利用率
AppDirector#system os cpu
对于AS4设备(内网web层)的查看命令是
system uti
7、查看负载均衡设备clent table
client table是负载均衡设备总的会话集合 AppDirector#appdirector client table
会话表的总数量在第一行:
Display the client table:
Client Address: The client's address Src P: The client's source port
Dst P: The destination port to which the client has connected
Farm Name: The farm name of the client
Attach Date: The date of the client first packet Server Address: The address of the server to which the client has been redirected Client Address: The client's NAT address NAT P: The client's NAT source port
Srv P: The port on the server to which the client was redirected
VIP: The VIP address of the client
Attach Time: The time of the client first packet Client Type: The type of the connection