命令行维护命令
11.1 查看接口地址
appdirector#net ip
Interface Table
IP Address Network Mask If Number VlanTag 1.1.1.1 255.255.255.0 8 0 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 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 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 !
!Device 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 create 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
命令行维护命令
查看接口地址
appdirector#net ip
Interface Table
IP Address Network Mask If Number VlanTag 1.1.1.1 255.255.255.0 8 0 10.130.31.51 255.255.255.224 17 0
查看路由表
appdirector#net route table
Routing Table
Destination Network Mask Next Hop Interface Type Address Index 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 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
Server Table
Farm Address Server Address Server Name Attached Users
Status
Operational 10.130.31.33 10.130.31.34 server-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 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
查看AppDirector的会话表
appdirector # appdirector client table RS CLIENTS Table
Total number of clients: 2
Client Address Src P 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. 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 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
!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 create 0.0.0.0 public -ca super -st trapsEnable
system tune bridge-fft-table set 1024