1、命令行维护命令 11.1 查看接口地址 appdirector#net ip Interface Table IP Address Network Mask If Number VlanTag 1.1.1.1 255.255.255.0 8 0
2、 10.130.31.51 255.255.255.224 17 0 11.2 查看路由表 appdirector#net route table Routing Table Destination Network Mask Next Hop Interface Type Address Index
3、 0.0.0.0 0.0.0.0 10.130.31.62 17 remote 1.1.1.0 255.255.255.0 0.0.0.0 8 local 10.130.31.32 255.255.255.224 0.0.0
4、0 17 local 11.3 查看CPU appdirector #sys os cpu Device Resource Utilization RS Resource Utilization : 0 RE Resource Utilization : 0 Maximum Utilization : 0 如果有一项值超过90,就需要引起注意 11.4 查看WSD的全部配置 WSD#sys config immediate ! !Dev
5、ice Configuration !Date: 19-03-2007 12:07:07 !DeviceDescription: AppDirector Global with Cookie Persistency !Base MAC Address: 00:03:b2:2e:20:40 !Software Version: 1.03.04 (build Feb 14 2007, 22:29:01) ! net route table create 0.0.0.0 0.0.0.0 10.130.31.62 -i 17 manage snmp community-table c
6、reate 0.0.0.0 public -ca super -st trapsEnable system tune bridge-fft-table set 1024 11.5 查看当前设备的版本信息 # system device info 11.6 查看当前设备的License #system license get 11.7 查看端口流量 # system inf-stats 11.8 查看2层端口状态 #net l2-information 11.9 显示日志信息 #sys logfile 命令行维护命令 查看接口地址
7、 appdirector#net ip Interface Table IP Address Network Mask If Number VlanTag 1.1.1.1 255.255.255.0 8 0 10.13
8、0.31.51 255.255.255.224 17 0 查看路由表 appdirector#net route table Routing Table Destination Network Mask Next Hop Interface Type Address Index
9、 0.0.0.0 0.0.0.0 10.130.31.62 17 remote 1.1.1.0 255.255.255.0 0.0.0.0 8 local 10.130.31.32 255.255.255.224 0.0.0.0 17
10、 local 查看CPU appdirector #sys os cpu Device Resource Utilization RS Resource Utilization : 0 RE Resource Utilization : 0 Maximum Utilization : 0 如果有一项值超过90,就需要引起注意 查看服务器的连接用户数 红色部分表当前连接的用户数. appdirector # appdirector farm server table
11、 Server Table Farm Address Server Address Server Name Operational Attached Users Status 10.130.31.33 10.130.31.34 serve
12、r-1 Active 3 10.130.31.33 10.130.31.35 server-2 Active 4 10.130.31.33 10.130.31.36 server-3 Active 0 10.130.31.33 10.130.31.37 server-4 Active 0 10.130.31.33
13、 10.130.31.38 server-5 Active 0 10.130.31.33 10.130.31.39 server-6 Active 0 10.130.31.33 10.130.31.40 server-7 Active 0 10.130.31.33 10.130.31.41 server-8 Active 0
14、 查看AppDirector的会话表 appdirector # appdirector client table RS CLIENTS Table Total number of clients: 2 Client Address Src P
15、Dst P Farm Address Server Address Attach Date NAT Address NAT P Srv P L4 Policy Addr Client Type Attach Time 10.130. 31.226 56887 161 10.130. 31. 33 10.130. 31. 34 02-03-2006 0
16、 0. 0. 0 0 161 0. 0. 0. 0 Dynamic 12:01:02 10.130. 31.226 0 0 10.130. 31. 33 10.130. 31. 34 02-03-2006 0. 0. 0. 0 0 0 0. 0. 0. 0 Dynamic
17、 11:44:13 注意观察客户表的大小, 不要超过太大值. 一般情况下, 几千条是正常的.这个表的大小与Farm中设置的老化时间有很大关系, 老化时间越短, 表也就越小. 查看AppDirector的动态Cookie表 appdirector # sys interal appdirector session-id-info 查看AppDirector的命令全部配置 appdirector#sys config immediate ! !Device Configuration !Date: 19-03-2007 12:07:07 !Devi
18、ceDescription: AppDirector Global with Cookie Persistency !Base MAC Address: 00:03:b2:2e:20:40 !Software Version: 1.03.04 (build Feb 14 2007, 22:29:01) ! net route table create 0.0.0.0 0.0.0.0 10.130.31.62 -i 17 manage snmp community-table create 0.0.0.0 public -ca super -st trapsEnable syst
19、em tune bridge-fft-table set 1024
常用系统命令
1、 消除命令行显示乱码命令
manage terminal grid-mode set off
由于系统语言的区别,导致命令行制表符显示乱码,以上命令消除了制表符,使得负载均衡设备正常输出字符
2、查看ip地址
AppDirector#net ip-interface
net ip-interface help:
20、 <-switch value>
destroy/del
21、v : VlanTag
3、查看负载均衡设备路由
AppDirector#net route table
net route table help:
22、
create/add
23、ncy 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:
24、 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 bee
25、n 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
26、 Type: The type of the connection
8、查看每个servers的会话数以及健康情况
AppDirector#appdirector farm server table
Not in service表示健康检查失败,不发流量给它
Active表示健康检查成功,发流量给它
appdirector farm server table help:
27、ddress> 28、 -st : Type
-cl : Connection Limit
-as : Admin Status
-bl : Bandwidth Limit
-rt : Redirect To
-cn : Client NAT
-sd : Server Description
-rs : Response Threshold [ms]
-ba : Backup Server Address
-pm : Backup Preemption
-nr : Client NAT Address Range
9、查看系统配置
AppDirector#system config immediate






