add service-icmp

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Adds a new ICMP-type service object.

Syntax

add service-icmp name <name> icmp-code <icmp-code> icmp-type <icmp-type> [ comments "<comment>" ]

Parameters

Parameter

Description

comments

Configures the comment text.

A string that contains less than 257 characters, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • ',' (comma)

  • '.' (period)

  • '-' (minus)

  • '(' (opening round bracket)

  • ')' (closing round bracket)

  • ':' (colon)

  • '@' (at)

icmp-code

Configures the ICMP code. See RFC 792.

icmp-type

Configures the ICMP type. See RFC 792.

name

Configures the Service name.

A string that begins with a letter and contains up to 32 characters without spaces, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '_' (underscore)

Example Command

add service-icmp name MyService icmp-code 2 icmp-type 5 comments "This is a comment"