06-Layer 3 - IP Services Configuration Guide

HomeSupportResource CenterRoutersH3C SR6600-X Router SeriesH3C SR6600-X Router SeriesTechnical DocumentsConfigure & DeployConfiguration GuidesH3C SR6602-X Routers Configuration Guides-R7607-6W10006-Layer 3 - IP Services Configuration Guide
Table of Contents
Related Documents
07-Fast forwarding configuration
Title Size Download
07-Fast forwarding configuration 32.71 KB

Configuring fast forwarding

Overview

Fast forwarding reduces route lookup time and improves packet forwarding efficiency by using a high-speed cache and data-flow-based technology. It identifies a data flow by using the following fields: source IP address, source port number, destination IP address, destination port number, and protocol number. After a flow's first packet is forwarded through the routing table, fast forwarding creates an entry and uses the entry to forward subsequent packets of the flow.

Fast forwarding can process fragmented IP packets, but it does not fragment IP packets.

 

 

NOTE:

Fast forwarding can be implemented by software or hardware. Unless otherwise noted, fast forwarding in this chapter refers to software fast forwarding.

 

Configuring the aging time for fast forwarding entries

The fast forwarding table uses an aging timer for each forwarding entry. If an entry is not updated before the timer expires, the device deletes the entry. If an entry has a hit within the aging time, the aging timer restarts.

To configure the aging time for fast forwarding entries:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Configure the aging time for fast forwarding entries.

ip fast-forwarding aging-time aging-time

By default, the aging time is 30 seconds.

 

Configuring fast forwarding load sharing

Fast forwarding load sharing enables the device to load share packets of the same flow. This feature identifies a data flow by using the five-tuple (source IP, source port, destination IP, destination port, and protocol).

If fast forwarding load sharing is disabled, the device identifies a data flow by the five-tuple and the input interface. No load sharing is implemented.

To configure fast forwarding load sharing:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enable fast forwarding load sharing.

ip fast-forwarding load-sharing

By default, fast forwarding load sharing is enabled.

 

Displaying and maintaining fast forwarding

Execute display commands in any view and reset commands in user view.

 

Task

Command

Display fast forwarding entries (in standalone mode).

display ip fast-forwarding cache [ ip-address ] [ slot slot-number ]

Display fast forwarding entries (in IRF mode).

display ip fast-forwarding cache [ ip-address ] [ chassis chassis-number slot slot-number ]

Display fast forwarding entries about fragmented packets (in standalone mode).

display ip fast-forwarding fragcache [ ip-address ] [ slot slot-number ]

Display fast forwarding entries for fragmented packets (in IRF mode).

display ip fast-forwarding fragcache [ ip-address ] [ chassis chassis-number slot slot-number ]

Display the aging time of fast forwarding entries.

display ip fast-forwarding aging-time

Clear the fast forwarding table (in standalone mode).

reset ip fast-forwarding cache [ slot slot-number ]

Clear the fast forwarding table (in IRF mode).

reset ip fast-forwarding cache [ chassis chassis-number slot slot-number ]

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网