Common maintenance query commands of radware load balancer

Keywords: Load Balance

Today we bring you the common maintenance query commands of radware load balancer.

View interface address
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
View routing table
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
View CPU
appdirector #sys os cpu
Device Resource Utilization
RS Resource Utilization : 0
RE Resource Utilization : 0
Maximum Utilization : 0

If a value exceeds 90, it needs attention

View all WSD configurations
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
View the version information of the current device
# system device info
View the License of the current device
#system license get
Display log information
#sys logfile
View interface address
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
View routing table
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
View CPU
appdirector #sys os cpu
Device Resource Utilization
RS Resource Utilization : 0
RE Resource Utilization : 0
Maximum Utilization : 0

If a value exceeds 90, it needs attention

View the number of connected users on the server
appdirector # appdirector farm server table
Server Table
Farm 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.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
View the session table of 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

Note that the size of the customer table should not exceed a large value. Generally, thousands of tables are normal. The size of this table has a great relationship with the aging time set in the Farm. The shorter the aging time, the smaller the table

View the dynamic Cookie table of AppDirector
appdirector # sys interal appdirector session-id-info
View all configuration of AppDirector commands
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
Eliminate the display of garbled code on the command line
manage terminal grid-mode set off

Due to the difference of system language, the command line tab displays garbled code. The above commands eliminate the tab and make the load balancing device output characters normally

View ip address
AppDirector#net ip-interface
net ip-interface help:
<get> <IP Address>
set <IP Address> <-switch value>
destroy/del <IP Address>
create/add <IP Address> <Network Mask> <If Number> <-switch value>
help <-switch>
Switches:
-i : If Number
-m : Network Mask
-f : Fwd Broadcast
-ba : Broadcast Addr
-v : VlanTag
View load balancing device routing
AppDirector#net route table
net route table help:
<get> <Destination Address> <Network Mask> <Next Hop>


set <Destination Address> <Network Mask> <Next Hop> <-switch
value>
destroy/del <Destination Address> <Network Mask> <Next Hop>
create/add <Destination Address> <Network Mask> <Next Hop> <-switch
value>
help <-switch>
Switches:
-i : Interface Index
-t : Type
-m : Metric
View physical port status
AppDirector#system inf-stats

Check whether there is packet loss or error packet on the physical port

View vrrp active / standby working status
AppDirector#redundancy vrrp virtual-routers
View cpu utilization
AppDirector#system os cpu

The view command for AS4 devices (intranet web layer) is

system uti
View the load balancing device clear table

client table is the total session collection of the load balancing device

AppDirector#appdirector client table

The total number of session tables is in the first row:

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
View the number of sessions and health status of each server
AppDirector#appdirector farm server table

Not in service indicates that the health check fails and no traffic is sent to it

Active indicates that the health check is successful. Send traffic to it

appdirector farm server table help:
<get> <Farm Name> <Server Address> <Server Port>
set <Farm  Name> <Server Address> <Server  Port> <-switch  value>
destroy/del <Farm Name> <Server Address> <Server Port>
create/add <Farm  Name> <Server Address> <Server  Port> <-switch  value>
help <-switch>
Switches:
-sn : Server Name
-w : Weight
-om : Operation Mode
-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
View system configuration
AppDirector#system config immediate

Posted by areid on Thu, 18 Nov 2021 16:45:19 -0800