ICMP Types
This appendix lists the Internet Control Messaging Protocol (ICMP) types defined by the Internet Assigned Numbers Authority (IANA).
The IANA has developed a standard that maps a set of integers onto ICMP types. The following table lists the ICMP types and codes defined by the IANA and maps them to the literal strings that are available in the Vyatta router.
ICMP Type | Code | Literal | Description |
---|---|---|---|
0 - Echo reply | 0 | echo-reply | Echo reply (pong) |
3 - Destination unreachable |
| destination- unreachable | Destination is unreachable |
| 0 | network-unreachable | Destination network is unreachable |
| 1 | host-unreachable | Destination host is unreachable |
| 2 | protocol-unreachable | Destination protocol is unreachable |
| 3 | port-unreachable | Destination port is unreachable |
| 4 | fragmentation-needed | Fragmentation is required |
| 5 | source-route-failed | Source route has failed |
| 6 | network-unknown | Destination network is unknown |
| 7 | host-unknown | Destination host is unknown |
| 9 | network-prohibited | Network is administratively prohibited |
| 10 | host-prohibited | Host is administratively is prohibited |
| 11 | ToS-network-unreachable | Network is unreachable for ToS |
| 12 | ToS-host-unreachable | Host is unreachable for ToS |
| 13 | communication-prohibited | Communication is administratively prohibited |
| 14 | host-precedence-violation | Requested precedence is not permitted. |
| 15 | precedence-cutoff | Precedence is lower than the required minimum. |
4 - Source quench | 0 | source-quench | Source is quenched (congestion control) |
5 - Redirect message |
| redirect | Redirected message |
| 0 | network-redirect | Datagram is redirected for the network |
| 1 | host-redirect | Datagram is redirected for the host |
| 2 | ToS-network-redirect | Datagram is redirected for the ToS and network |
| 3 | ToS-host-redirect | Datagram is redirected for the ToS and host |
8 - Echo request | 0 | echo-request | Echo request (ping) |
9 - Router advertisement | 0 | router-advertisement | Router advertisement |
10 - Router solicitation | 0 | router-solicitation | Router solicitation |
11 - Time exceeded |
| time-exceeded | Time to live (TTL) has exceeded |
| 0 | ttl-zero-during-transit | TTL has expired in transit |
| 1 | ttl-zero-during-reassembly | Fragment reassembly time has exceeded |
12 - Parameter problem: Bad IP header |
| parameter-problem | Bad IP header |
| 0 | ip-header-bad | Pointer that indicates an error |
| 1 | required-option-missing | Missing required option |
13 - Timestamp | 0 | timestamp-request | Request for a timestamp |
14 - Timestamp reply | 0 | timestamp-reply | Reply to a request for a timestamp |
15 - Information request | 0 |
| Information request |
16 - Information reply | 0 |
| Information reply |
17 - Address mask request | 0 | address-mask-request | Address mask request |
18 - Address mask reply | 0 | address-mask-reply | Address mask reply |