备设备:
redundancy vrrp virtual-routers create 1 10 -as down -p 100
4.3 Associated IP配置
WSD-OA#redundancy vrrp associated-ip help
redundancy vrrp associated-ip help:
redundancy vrrp associated-ip create 1 10 192.168.255.49 redundancy vrrp associated-ip create 1 10 192.168.255.52 redundancy vrrp associated-ip create 1 10 192.168.255.53 redundancy vrrp associated-ip create 1 10 192.168.255.54
5 常用管理命令
(注:如果Console显示中存在乱码,请输入如下命令#manage terminal grid-mode set disable)
5.1 manage terminal traps-output
AppDirector-OA#manage terminal traps-output set 2 打开屏幕信息输出功能,这样所有的设备输出信息都不会屏蔽。 AppDirector-OA#manage terminal traps-output set 3
关闭屏幕信息输出功能,这样所有的设备输出(包括出错)信息屏蔽。
5.2 net ip appdirector#net ip Interface Table
IP Address Network Mask If Number VlanTag 10.160.4.21 255.255.255.0 100002 0 10.161.240.1 255.255.255.0 100003 0 192.168.1.15 255.255.255.0 16 0 显示接口地址的配置,也可以做相应修改
net ip-interface
net ip-interface help:
get
set
create/add
Displays the IP Interfaces Table
例如:如果要将192.168.1.15接口址改为端口F-15, net ip set 192.168.1.15 –i 15
注:如果要将192.168.1.15改为192.168.1.16,则只能先删除再增加新的地址。 5.3 appdirector farm table appdirector#appdirector farm table
Farm Table
Farm Name Admin Status Aging Time Dispatch Connectivity [sec] Method Check
-i : If Number -m : Network Mask -f : Fwd Broadcast -ba : Broadcast Addr -v : VlanTag
Method
www Enabled 60 Cyclic TCP Port UDP-test Enabled 60 Cyclic UDP Port test Enabled 60 Cyclic HTTP Page
这条命令显示了所有的Farm配置情况。
5.4 appdirector farm server table
appdirector#appdirector farm server table
Server Table
Farm Address Server Address Server Name Operational Attached Users Status 10.160.4.20 10.161.240.2 GuangTieOA-1 Not In Service 0 10.160.4.20 10.161.240.3 GuangTieOA-2 Not In Service 0 10.160.4.20 10.161.240.4 GuangTieOA-3 Not In Service 0 10.160.4.20 10.161.240.5 GuangTieOA-4 Active 0
这个显示了所有服务器的工作状态和连接的用户数。
5.5 sys config immediate
AppDirector-OA#sys config immediate !
!Device Configuration !Date: 18-10-2006 07:23:06
!DeviceDescription: AppDirector with Cookie Persistency, BWM, IPS and DoS an !d B-DoS
!Base MAC Address: 00:03:b2:26:64:00 !Software Version: 1.01.03 (build 8e67f4) !
net vlan table create 100002 -p ip -t switch net vlan table create 100003 -p ip
net ip-interface create 2.2.2.1 255.255.255.0 2 net ip-interface create 3.3.3.1 255.255.255.0 3 net ip-interface create 192.168.1.1 255.255.255.0 16 net route table create 0.0.0.0 0.0.0.0 192.168.1.23 -i 16 redundancy mode set VRRP
system mib2-name set AppDirector-OA !
!The following command requires resetting the device to take effect. !
system tune bridge-fft-table set 8192 !
!The following command requires resetting the device to take effect. …
这是显示所有配置的命令。
5.6 sys os cpu
AppDirector-OA#sys os cpu
Device Resource Utilization RS Resource Utilization : 0 RE Resource Utilization : 0
Last 5 sec. Average Utilization : 0 Last 60 sec. Average Utilization : 0
Master Utilization : 0
查看设备的CPU使用情况,RS是管理占用的CPU资源,优先级较低;RE是负载均衡和包转发处理占用的CPU资源,优先级最高。
5.7 appdirector client table
AppDirector-OA#appdirector client table
RS CLIENTS Table
Total number of clients: 1640
Client Address Src P Dst P Farm Name Server Address Attach Date NAT Address NAT P Srv P VIP Address Client Type Attach Time 200.222. 3. 3 31367 80 219.134.130. 20 172. 19. 1.159 25-08-2005 172. 16. 0. 41 55883 80 0. 0. 0. 0 Client NAT 23:58:56 218. 16. 20.136 3971 80 219.134.130. 20 172. 19. 1.159 25-08-2005 172. 16. 0. 41 45167 80 0. 0. 0. 0 Client NAT 23:52:23 这条命令显示了当前用户会话表的情况,具体到每个会话分发到服务器的情况。
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库RadWare AppDirector CLI配置(3)在线全文阅读。
相关推荐: