cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1301
Views
8
Helpful
5
Replies

ICMP Types

vnovakov
Level 1
Level 1

Hi all,

I would like to know what is decimal equvalent for ICMP type ttl-exceeded?

Some of them I could use as:

0 - for echo-reply

8 - for echo

11 - for time-exceeded

I know that I can use syntax as:

permit icmp any any ttl-exceeded

but I would like to know what is decimal equvalent for it.

Best regards,

Vladimir

1 Accepted Solution

Accepted Solutions

That's type 3 code 4

View solution in original post

5 Replies 5

dominic.caron
Level 5
Level 5

I dont think ttl-exeeded type exist.

ttl-exceeded is (TYPE 11,CODE 0)

ICMP message have a code field (8bit) that can give you further info.

Rate all useful post

Thanks for quick answer!, Does it mean than that:

permit icmp any any ttl-exceeded

will allow only ICMP packets type 11 with code O and

permit icmp any any time-exceeded

will allow all ICMP type 11 with code 0 or 1?

Am I correct?

I have found a way how to add rules as ICMP type and code:

permit icmp any any 11

permit icmp any any 11 0

permit icmp any any 11 1

will apear as:

permit icmp any any time-exceeded

permit icmp any any ttl-exceeded

permit icmp any any reassembly-timeout

Also I'm confused with packet-to-big. By RFC 1885 it is Type 2 Code 0. But under Cisco ISO 12.4:

permit icmp any any 2 0

rule will not apear as:

permit icmp any any packet-too-big

am I wrong about packet-too-big icmp type and code that is used by Cisco?

regards,

Vladimir

That's type 3 code 4

Hi,

For more on ICMP types, refer below link :

http://www.networksorcery.com/enp/default0901.htm

Thanks,

Vijaybabu

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card