R3166-R3206-HP High-End Firewalls Access Control Configuration Guide-6PW101

72
Clearing sessions manually
Follow these steps to clear sessions manually:
To do... Use the command...
Remarks
Clear sessions
reset session [ vd-name vd-name ]
[ source-ip source-ip ] [ destination-ip
destination-ip ] [ protocol-type
protocol-type ] [ source-port
source-port ] [ destination-port
destination-port ] [ vpn-instance
vpn-instance-name ]
Required
Available in user view
Configuring session log export
Session logs are exported in the form of flow logs.
Follow these steps to configure session log exporting:
To do... Use the command...
Remarks
Enter system view system-view
Specify the flow log version
userlog flow export version
version-number
Optional
1.0 by default
Specify the source IP address
for UDP packets carrying flow
logs
userlog flow export source-ip
ip-address
Optional
IP address of the interface sending
UDP packets by default
Specify the IP address and
UDP port number of the flow
log server
userlog flow export [ vpn-instance
vpn-instance-name ] host ip-address
udp-port
Required
Not specified by default
Specify to export flow logs to
the information center
userlog flow syslog
Optional
Flow logs are exported to the flow log
server by default.
NOTE:
For more information about flow log functions, see
System Management and Maintenance
Configuration Guide.
For more information about flow log commands, see
System Mana
g
ement and Maintenance Comman
d
Reference
.
Displaying and maintaining session management
To do... Use the command...
Remarks
Display information about
sessions
display session table [ vd-name
vd-name ] [ source-ip source-ip ]
[ destination-ip destination-ip ]
[ verbose ]
Available in any view
Display statistics about
sessions
display session statistics [ vd-name
vd-name ]
Available in any view