< Home

icmp time-exceed

Function

The icmp time-exceed command specifies the format of ICMP Time Exceeded packets.

The undo icmp time-exceed command restores the default format of ICMP Time Exceeded packets.

By default, ICMP Time Exceeded packets carry extension headers in compliant mode and original datagrams are of variable length.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

icmp time-exceed { extension { compliant | non-compliant } | classic }

undo icmp time-exceed

Parameters

Parameter Description Value
extension Indicates that ICMP Time Exceeded packets carry extension headers. -
compliant Indicates that ICMP Time Exceeded packets carry extension headers in compliant mode and original datagrams are of variable length. -
non-compliant Indicates that ICMP Time Exceeded packets carry extension headers in non-compliant mode and original datagrams are of fixed length. -
classic Indicates that ICMP Time Exceeded packets do not carry extension headers. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When using the tracert command to check the network connectivity, you can run the icmp time-exceed command to specify the format of ICMP Time Exceeded packets.
  • When the icmp time-exceed command carry the parameter extension compliant, ICMP Time Exceeded packets carry extension headers in compliant mode and original datagrams are of variable length. ICMP Time Exceeded packets carry as many original datagrams as possible. Lengths of original datagrams carried in ICMP Time Exceeded packets are recorded in ICMP headers.
  • When the icmp time-exceed command carry the parameter extension non-compliant, ICMP Time Exceeded packets carry extension headers in non-compliant mode and original datagrams are of fixed length. If the length of original datagrams is less than 128 bytes, the system automatically fills the length to 128 bytes.
  • When the icmp time-exceed command carry the parameter classic, ICMP Time Exceeded packets do not carry extension headers.

Example

# Configure ICMP Time Exceeded packets to carry extension headers in compliant mode.

<HUAWEI> system-view
[HUAWEI] icmp time-exceed extension compliant
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >