< Home

protocol (user-defined IPS signature view)

Function

The protocol command configures the protocol in a user-defined signature.

The undo protocol command deletes the protocol from a user-defined signature.

Format

protocol { tcp | udp }

undo protocol

Parameters

Parameter Description Value

tcp

The protocol in the user-defined signature is TCP.

-

udp

The protocol in the user-defined signature is UDP.

-

Views

User-defined IPS signature view

Default Level

2: Configuration level

Usage Guidelines

The default protocol in the user-defined signature is TCP.

A user-defined signature contains only one protocol.

The protocol of a predefined signature describes the type of the protocol used by an attack packet.

Example

# Configure a user-defined signature. Set the ID to 1, name to mysignature, and protocol to UDP.

<sysname> system-view
[sysname] ips signature-id 1
[sysname-ips-signature-1] name mysignature
[sysname-ips-signature-1] protocol udp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >