get : system session list
 
system session list
Command returns a list of all the sessions active on the FortiGate unit. or the current virtual domain if virtual domain mode is enabled.
Syntax
get system session list
Example output
PROTO     EXPIRE  SOURCE         SOURCE-NAT   DESTINATION    DESTINATION-NAT
tcp 0 127.0.0.1:1083 -          127.0.0.1:514 -
tcp 0 127.0.0.1:1085 -          127.0.0.1:514 -
tcp 10 127.0.0.1:1087 -          127.0.0.1:514 -
tcp 20 127.0.0.1:1089 -          127.0.0.1:514 -
tcp 30 127.0.0.1:1091 -          127.0.0.1:514 -
tcp 40 127.0.0.1:1093 -          127.0.0.1:514 -
tcp 60 127.0.0.1:1097 -          127.0.0.1:514 -
tcp 70 127.0.0.1:1099 -          127.0.0.1:514 -
tcp 80 127.0.0.1:1101 -          127.0.0.1:514 -
tcp 90 127.0.0.1:1103 -          127.0.0.1:514 -
tcp 100 127.0.0.1:1105 -          127.0.0.1:514 -
tcp 110 127.0.0.1:1107 -          127.0.0.1:514 -
tcp 103 172.20.120.16:3548 -        172.20.120.133:22 -
tcp 3600 172.20.120.16:3550 -        172.20.120.133:22 -
udp 175 127.0.0.1:1026 -          127.0.0.1:53 -
tcp 5 127.0.0.1:1084 -          127.0.0.1:514 -
tcp 5 127.0.0.1:1086 -          127.0.0.1:514 -
tcp 15 127.0.0.1:1088 -          127.0.0.1:514 -
tcp 25 127.0.0.1:1090 -          127.0.0.1:514 -
tcp 45 127.0.0.1:1094 -          127.0.0.1:514 -
tcp 59 127.0.0.1:1098 -          127.0.0.1:514 -
tcp 69 127.0.0.1:1100 -          127.0.0.1:514 -
tcp 79 127.0.0.1:1102 -          127.0.0.1:514 -
tcp 99 127.0.0.1:1106 -          127.0.0.1:514 -
tcp 109 127.0.0.1:1108 -          127.0.0.1:514 -
tcp 119 127.0.0.1:1110 -          127.0.0.1:514 -
 
Variable
Description
PROTO
The transfer protocol of the session.
EXPIRE
How long before this session will terminate.
SOURCE
The source IP address and port number.
SOURCE-NAT
The source of the NAT. ‘-’ indicates there is no NAT.
DESTINATION
The destination IP address and port number.
DESTINATION-NAT
The destination of the NAT. ‘-’ indicates there is no NAT.