Disabling IP Checksum Check
The disable-hw-ip-checksum-check command traps a packet with bad checksum
to the CPU. Previously, if the packet processor detected a packet with, for example,
the checksum 0xFFFF, it would treat it as a bad checksum even if it was correct
and
it would drop the packet. Now, the disable-hw-ip-checksum-check
command traps the packet at the CPU and if the checksum is correct, it
forwards the packet.
disable-hw-ip-checksum-check command only functions with IPv4. IPv6 does not support this command.
To set the disable hardware IP checksum check for all ports, enter the following command.
device# disable-hw-ip-checksum-check disable-ip-header-check set for all ports
To clear the disable hardware IP checksum check on all ports, enter the following command.
device# no disable-hw-ip-checksum-check ethernet 13 disable-hw-ip-checksum-check cleared for ports the 13 to 24
To set the disable hardware IP checksum check on, for example, port range 0 through 12, enter the following command.
device# disable-hw-ip-checksum-check ethernet 2 disable-ip-header-check set for ports ethe 1 to 12
To set the disable hardware IP checksum check on, for example, port range 13 through 24, enter the following command.
device# disable-hw-ip-checksum-check ethernet 22 disable-ip-header-check set for ports ethe 13 to 24
To clear the disable hardware IP checksum check on, for example, port range 13 through 24, enter the following command.
device# no disable-hw-ip-checksum-check ethernet 13 disable-hw-ip-checksum-check cleared for ports the 13 to 24