code (IDP)
Syntax
code {
match (equal | greater-than | less-than | not-equal);
value code-value;
}
Hierarchy Level
[edit security idp custom-attack attack-name attack-type signature protocol icmp], [edit security idp custom-attack attack-name attack-type signature protocol icmpv6]
Description
Specify the secondary code that identifies the function of the request/reply within a given type.
Options
match(equal|greater-than|less-than|not-equal)—Match an operand.value code-value—Match a decimal value.
Range: 0 through 255
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.3. Statement modified in Junos OS Release 12.3X48-D25 to add ICMPv6 protocol support.