diagnose server-load-balance persistence
Use this command to filter and display the persistence table (current sessions).
Syntax
diagnose server-load-balance persistence filter {'<option>'|show|clear}
diagnose server-load-balance persistence list
diagnose server-load-balance persistence clear [l4]
filter |
Create, show, or clear session list filters. Use multiple commands to add filters to the filter list. For example, one command to add a source-ip filter and another to add a vs-name filter. Put the filter expression in single quotes. Filter options include:
|
list |
List matching sessions. |
clear |
Clear the list of matching sessions. Clear options include:
|
Example
FortiADC-VM # diagnose server-load-balance persistence filter 'source-ip 10.1.1.1 10.1.1.100'
FortiADC-VM # diagnose server-load-balance persistence filter 'vs-name vs1 vs2'
FortiADC-VM # diagnose server-load-balance persistence filter show
filter=[flag:1000
source ip range: :: - :: port range: 0 - 0
dest ip range: :: - :: port range: 0 - 0
virtual server: vs1 vs2 ]
FortiADC-VM # diagnose server-load-balance persistence list
client-ip/port virtual-server-ip/port local-ip/port real-server-ip/port protocol service state in-bytes out-bytes expire virtual-server-name real-server-name
FortiADC-VM #