Enabling the session logging function for ASPF
ASPF provides an enhanced session logging function, which can record the information of each connection, including the duration, source and destination addresses of the connection, the port used by the connection and number of bytes transmitted.
To enable the session logging function of ASPF:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter ASPF policy view. | aspf-policy aspf-policy-number | N/A |
3. Enable the session logging function of the ASPF. | log enable | Optional. Disabled by default. |