Display and Debug IP Performance 363
By default, fast-forwarding is enabled in the input/output directions of the
interface.
When fast-forwarding is carried out on an interface, note that:
■ You can disable fast-forwarding as necessary. For example, if load sharing is
required, fast-forwarding must be disabled in the forwarding direction of the
interface.
■ If fast-forwarding has been configured on an interface, the interface will not
send any ICMP redirected packets.
2 Configure fast-forwarding table size
Table 396 Perform the following configuration in system view
The fast-forwarding table size on a router defaults to 4K, that is, up to 4K entries
are allowed in the table.
Fast-forwarding table size depends on the memory capacity. The larger the
memory capacity is, the larger the configurable fast-forwarding table size will be.
Display and Debug Fast
Forwarding
Table 397 Display and Debug fast forwarding
When fast-forwarding on the same interface is configured, ICMP redirect
messages will not be sent again when IP messages pass the same interface.
Otherwise, ICMP reorientation messages needs to be sent while messages are
forwarded.
Display and Debug IP
Performance
Table 398 Display and Debug IP address
Disable fast-forwarding on the interface undo ip fast-forwarding
Operation Command
Configure a fast-forwarding table size ip fast-forwarding cache-size { 4k
| 16k | 64k | 256k | 1m}
Restore the default fast-forwarding table
size
undo ip fast-forwarding cache-size
Operation Command
Display IP fast-forwarding cache display ip fast-forwarding cache
Display IP fast-forwarding flow-control
Information
display ip fast-forwarding
flow-control
Clear contents in the fast forwarding cache reset ip fast-forwarding cache
Operation Command
Display TCP connection status display tcp status
Display interface table information display ip interface [ type
number ]
Display IP traffic and statistical information. display ip statistics
Turn on IP debugging information debugging ip packet
Turn on TCP debugging information debugging tcp packet
Turn on TCP cession debugging information debugging tcp [ event | packet ]
Turn on UDP debugging information debugging udp packet
Clear IP statistical information. reset ip counters