No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
source-ip (user-defined signature rule view)

source-ip (user-defined signature rule view)

Function

The source-ip command specifies the source IP address to be checked by a user-defined signature rule.

The undo source-ip command deletes the source IP address to be checked by a user-defined signature rule.

Format

source-ip { [ ipv4 ] start-ipv4-address [ end-ipv4-address | ipv4-mask-length ] | any }

undo source-ip

Parameters

Parameter Description Value
start-ipv4-address

Specifies the start IPv4 address.

The value is in dotted decimal notation.

end-ipv4-address

Specifies the end IPv4 address.

The value is in dotted decimal notation.

ipv4-mask-length

Specifies the mask length of the IPv4 address.

The value is an integer ranging from 1 to 32.

any

Indicates any IP address.

-

Views

User-defined signature rule view

Default Level

2: Configuration level

Usage Guidelines

All source IP addresses are checked by the user-defined signature rule by default.

The user-defined signature rule can be used to check a single IP address or all address in an IP address range. To use a user-defined signature rule to check an IP address range, you can specify the start and end IP addresses or the mask-length to define the IP address range.

Example

# Create user-defined signature rule hello in user-defined signature 1 and set the source IP address to be checked to 10.1.1.1.

<Huawei> system-view
[Huawei] ips signature-id 1
[Huawei-ips-signature-1] protocol TCP  
[Huawei-ips-signature-1] rule name hello
[Huawei-ips-signature-1-rule-hello] source-ip ipv4 10.1.1.1

# In user-defined signature with the ID of 1, specify user-defined signature rule hello and set the source IP address range from 10.2.2.1 to 10.2.2.100 to be checked.

<Huawei> system-view
[Huawei] ips signature-id 1
[Huawei-ips-signature-1] protocol TCP  
[Huawei-ips-signature-1] rule name hello
[Huawei-ips-signature-1-rule-hello] source-ip ipv4 10.1.1.1 10.1.1.100
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204607

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next