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 command disable-hw-ip-checksum-check traps the packet at the CPU and if the checksum is correct, it forwards the packet.
To set 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 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 disable hardware ip checksum check on for example, port range 0-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 disable hardware ip checksum check on, for example, port range 13-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 disable hardware ip checksum check on, for example, port range 13-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
Syntax: [no] disable-hw-ip-checksum-check ethernet portnum