< Home

ips log based-on-session

Function

The ips log based-on-session command configures IPS threat logs to record source and destination IP addresses by session.

The undo ips log based-on-session command configures IPS threat logs to record source and destination IP addresses by packet.

Format

ips log based-on-session

undo ips log based-on-session

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, IPS threat logs record source and destination IP addresses by packets. The source and destination IP addresses in IPS threat logs are the source and destination IP addresses of packets.

After you run the ips log based-on-session command to configure IPS threat logs to record source and destination IP addresses by session, the source and destination IP addresses in IPS threat logs are the source and destination IP addresses of the sessions with threat packets.

Example

# Configure IPS threat logs to record source and destination IP addresses by session.

<sysname> system-view
[sysname] ips log based-on-session
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >