< Home

target (user-defined IPS signature view)

Function

The target command configures the target of a user-defined signature.

The undo target command deletes the target of a user-defined signature.

Format

target { both | client | server }

undo target

Parameters

Parameter Description Value

both

Detects attack packets to both clients and servers.

-

client

Detects attack packets to clients.

-

server

Detects attack packets to servers.

-

Views

User-defined IPS signature view

Default Level

2: Configuration level

Usage Guidelines

A user-defined signature detects attack packets to both clients and servers by default.

For example, for TCP/UDP packets, the initiator is the client, whereas the destination of the TCP/UDP packets is the server.

Example

# Configure user-defined signature 1 and set the detection target to server.

<sysname> system-view
[sysname] ips signature-id 1
[sysname-ips-signature-1] target server
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >