《数据结构域算法设计-radware负载均衡常用查询命令》由会员分享,可在线阅读,更多相关《数据结构域算法设计-radware负载均衡常用查询命令(13页珍藏版)》请在金锄头文库上搜索。
1、命令行维护命令命令行维护命令11.111.1 查看接口地址查看接口地址appdirector#net ipInterface TableIP 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.211.2 查看路由表查看路由表appdirector#net route tableRouting TableDestination Network Mask Next Hop Interface Type Address Index 0.0.0.0
2、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 local11.311.3 查看查看 CPUCPUappdirector #sys os cpuDevice Resource UtilizationRS Resource Utilization : 0 RE Resource Utilization : 0 Maximum Utilization : 0如果有一项值超过 90,就需要引起注意11.411.4 查看查看 WSDW
3、SD 的全部配置的全部配置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
4、 17 manage snmp community-table create 0.0.0.0 public -ca super -st trapsEnable system tune bridge-fft-table set 102411.511.5 查看当前设备的版本信息查看当前设备的版本信息# system device info11.611.6 查看当前设备的查看当前设备的 LicenseLicense#system license get11.711.7 查看端口流量查看端口流量# system inf-stats11.811.8 查看查看 2 2 层端口状态层端口状态#net l2-
5、information11.911.9 显示日志信息显示日志信息#sys logfile命令行维护命令命令行维护命令查看接口地址查看接口地址appdirector#net ipInterface TableIP 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 tableRouting TableDestination Network Mask Next Hop Interface T
6、ype 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查看查看 CPUappdirector #sys os cpuDevice Resource UtilizationRS Resource Utilization : 0RE Resource Utilization : 0Maximum Utilization : 0如果有一项值超过 90,就需要引起注意查看服务器的
7、连接用户数查看服务器的连接用户数红色部分表当前连接的用户数.appdirector # appdirector farm server tableServer TableFarm Address Server Address Server Name Operational Attached Users Status 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
8、.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 tableRS CLIENTS Table Total num
9、ber of clients: 2Client 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.
10、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 Co
11、nfiguration!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
12、 -ca super -st trapsEnable system tune bridge-fft-table set 1024常用系统命令常用系统命令1、消除命令行显示乱码命令manage terminal grid-mode set off 由于系统语言的区别,导致命令行制表符显示乱码,以上命令消除了制表符,使得负载均 衡设备正常输出字符2、查看 ip 地址 AppDirector#net ip-interfacenet ip-interface help:set destroy/del create/add help Switches:-i : If Number-m : Network Mask-f : Fwd Broadcast-ba : Broadcast Addr-v : VlanTag3、查看负载均衡设备路由AppDirector#net route tablenet route table help:set destroy/del create/add help Switches:-i : Interface Index-t : Type-m : Metric4、查看物理端口状态 Ap