JUNOS software with enhanced services supports Internet Control Message Protocol (ICMP)—as well as several ICMP messages—as predefined or custom applications. When configuring a custom ICMP application, you must define a type and code.
Before You Begin |
---|
|
There are different message types within ICMP. For example:
![]() |
Note: For more information about ICMP types and codes, refer to RFC 792, Internet Control Message Protocol. |
An ICMP message type can also have a message code. The code provides more specific information about the message, as shown in Table 37.
Table 37: Message Descriptions
JUNOS software with enhanced services supports any type or code within the 0—255 range.
To define a Custom Internet Control Message Protocol application (ICMP) as the transport protocol, use either J-Web or the CLI configuration editor.
In this example, you define a custom application named “ host-unreachable” using ICMP as the transport protocol. The type is 3 (for destination unreachable) and the code is 1 (for host unreachable). You set the timeout value at 4 minutes.
This topic covers: