860 system-view[Sysname] nbar application abcd protocol http[Sysname-nbar-application-abcd] service-port range 2001 2004Related commandsdirectionsignatureUse signature to configure a signature for a user-defined NBAR rule.Use undo signature to cancel the signature configuration.Syntaxsignature [ signature-id ] [ field field-name ] [ offset offset-value ] { hex hex-vector | regexregex-pattern | string string }undo signature signature-idDefaultNo signatures exist for a user-defined NBAR rule.ViewsNBAR rule viewPredefined user rolesnetwork-adminParameterssignature-id: Specifies the signature ID in the range of 1 to 65535. If you do not specify this argumentwhen creating a signature, the system automatically assigns the signature a signature ID andrecords the signature ID. The increment of automatically assigned signature IDs is 5. A newsignature ID is the nearest unassigned multiple of the increment to the latest automatically assignedsignature ID. For example, if the system automatically assigns ID 5 to a signature, the next signatureID to be assigned automatically will be 10. If signature ID 10 has been assigned manually to asignature, the next signature ID to be assigned automatically will be 15.field field-name: Specifies a protocol field by its name. The specified protocol field must bepredefined. This option is available for configuration only if the NBAR rule is applied to HTTPpackets. If you do not specify this option, the configured signature takes effect on all fields in HTTPpackets.offset offset-value: Specifies the offset from the beginning of the data field, in bytes. The value rangefor the offset-value argument is 0 to 65535. A packet matches the signature after the offset. If you donot specify this option, a packet matches the signature from the beginning. If you also specify thefield field-name option, the offset begins from the protocol field.hex hex-vector: Specifies a hexadecimal vector as the match pattern. The hex-vector argument is astring of 6 to 254 characters. The value for the argument must be included by two vertical bars (|).regex regex-pattern: Specifies a regular expression as the match pattern. The regex-patternargument is a case-sensitive string of 3 to 512 characters.string string: Specifies a string as the match pattern. The string argument is a case-sensitive stringof 3 to 512 characters.Usage guidelinesThe following matrix shows the command and hardware compatibility: