Run icmp-reply fast
The fast ICMP reply function is enabled.
By default, the fast ICMP reply function is enabled.
On the X series cards, fast ICMP reply is not supported for packets whose TTL is 1.
The fast ICMP reply function is not supported for fragmented packets, packets with IP options, and MPLS-encapsulated packets.
For the
LPUs excluding the X series:
- The fast ICMP reply function does not take effect on VBDIF interfaces.
- When a routed main interface (supporting Layer 2 and Layer 3 mode switching) is bound to a VPN instance, the fast ICMP reply function does not take effect on the interface.
- When a sub-interface is bound to a VPN instance, the fast ICMP reply function does not take effect on the interface.
- After VLAN mapping is configured, the VLANIF interface corresponding to the mapped VLAN does not support the fast ICMP reply function.
A card does not support fragmentation of the ICMP Echo Reply packets processed based on the fast ICMP reply mechanism to be sent to the remote end. The packets will not be discarded even if their length is greater than the MTU of the outbound interface.
Run icmp ttl-exceeded drop { slot slot-id | all }
The LPU is configured to discard the ICMP packets whose TTL values are 1.
By default, the function of discarding ICMP packets with TTL values of 1 is disabled.
Run icmp with-options drop { slot slot-id | all }
The LPU is configured to discard the ICMP packets that carry options.
By default, the function of discarding ICMP packets that carry options is disabled.
Run icmp unreachable drop
The function of discarding ICMP Destination Unreachable packets is enabled.
By default, the function of discarding ICMP Destination Unreachable packets is disabled.
Run undo icmp { type icmp-type code icmp-code | name icmp-name | all } receive
The function of receiving ICMP packets is disabled.
By default, the function of receiving ICMP packets is enabled.
Run undo icmp broadcast-address echo enable
The function of responding to ICMP Echo Request packets with broadcast destination addresses is disabled.
By default, the function of responding to ICMP Echo Request packets with broadcast destination addresses is enabled.
Run undo icmp host-unreachable send
The function of sending ICMP Host Unreachable packets is disabled.
By default, the function of sending ICMP Host Unreachable packets is enabled.
The icmp host-unreachable send command can be run in the system view or interface view.
- After the function of sending ICMP Host Unreachable packets is disabled in the system view, all interfaces do not send ICMP Host Unreachable packets. Even if the function is enabled on an interface, the interface does not send ICMP Host Unreachable packets.
- After the function of sending ICMP Host Unreachable packets is enabled in the system view, all interfaces send ICMP Host Unreachable packets because the function is enabled on all interfaces by default. You can run the undo icmp host-unreachable send command in the interface view to disable the function on a specified interface.
If the function of sending ICMP Host Unreachable packets is disabled, the switch does not send ICMP Host Unreachable packets in any situations.
Run undo icmp port-unreachable send
The function of sending ICMP Port Unreachable packets is disabled.
By default, the function of sending ICMP Port Unreachable packets is enabled.
The icmp port-unreachable send command can be run in the system view or interface view.
- After the function of sending ICMP Port Unreachable packets is disabled in the system view, all interfaces do not send ICMP Port Unreachable packets. Even if the function is enabled on an interface, the interface does not send ICMP Port Unreachable packets.
- After the function of sending ICMP Port Unreachable packets is enabled in the system view, all interfaces send ICMP Port Unreachable packets because the function is enabled on all interfaces by default. You can run the undo icmp port-unreachable send command in the interface view to disable the function on a specified interface.
If the function of sending ICMP Port Unreachable packets is disabled, the switch does not send ICMP Port Unreachable packets in any situations.
Run undo icmp protocol-unreachable send
The function of sending ICMP Protocol Unreachable packets is disabled.
By default, the function of sending ICMP Protocol Unreachable packets is enabled.
Run icmp blackhole unreachable send
The switch is enabled to send an ICMP Destination Unreachable packet to an initiator when a tracert packet matches an IPv4 blackhole route.
By default, the switch is disabled from sending an ICMP Destination Unreachable packet to an initiator when a tracert packet matches an IPv4 blackhole route.
Run icmp time-exceed { extension { compliant | non-compliant } | classic }
The format of ICMP Time Exceeded packets is configured.
By default, ICMP Time Exceeded packets carry extension headers in compliant mode and original datagrams are of variable length.