![Riverstone Networks WICT1-12 Скачать руководство пользователя страница 190](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194190.webp)
11-12 Riverstone Networks RS Switch Router User Guide Release 8.0
Forwarding Mode
IP Routing Configuration Guide
11.15 FORWARDING MODE
When the RS receives a packet for routing, it extracts flow information which is used to determine the packets exit port
and QoS requirements. By default, the RS uses application-based forwarding wherein it extracts the complete
application (layer-4) flow from an IP packet. The RS then matches the packet’s flow information against flows found
in the flow table. If a match is found, the packet is forwarded to the output port and transmitted. If a match is not found,
the packet is forwarded to the CPU for additional processing.
To reduce the amount of processing done by the CPU and to use the flow table more efficiently, you can configure the
RS to extract only certain fields from the packet’s L3 header. The RS supports three types of forwarding modes:
•
destination-based
•
host-flow based
•
custom forwarding profile
11.15.1
Configuring Destination-Based and Host-Flow-Based Forwarding
Use the
ip set port forwarding-mode
command to configure the ports on the RS to use either the
destination-based or host-flow-based forwarding mode. These modes determine which fields are extracted from a
packet’s L3 header and used to determine the port list and QoS requirements.
When the RS uses destination-based forwarding, it extracts the destination IP address, TOS, and L4 protocol fields
from IP unicast packets. For multicast packets, the RS extracts the destination IP address, source IP address, TOS, and
L4 protocol fields.
When the RS uses host-flow-based forwarding, it extracts the destination IP address, source IP address, TOS, and L4
protocol fields from the IP packet.
To configure a port’s forwarding mode, enter the following command in Configure mode:.
11.15.2
Configuring a Custom Forwarding Profile
You can configure the RS to use a custom forwarding profile to determine which fields are extracted to identify the
packet’s flow. A custom forwarding profile is used to wildcard specific fields in the IP header.
You can apply a custom forwarding profile to an RS’s slot, then enable it on a per port basis. When you do so, those
ports on which custom forwarding profile is not enabled will use the default forwarding mode.
The fields that can be wild carded are as follows:
•
Source IP Address (SIP)
•
Destination IP Address (DIP)
•
Protocol
•
Source Socket
•
Destination Socket
•
Type of Service (TOS)
To configure a custom forwarding profile, perform the following tasks:
ip set port <port-list> forwarding mode
<destination-based|host-flow-based>
Содержание WICT1-12
Страница 1: ...36 007 07 Rev 0A RS Switch Router User Guide Release 8 0...
Страница 7: ...Riverstone Networks RS Switch Router User Guide Release 8 0 vii J J J J J 2 5 5J 5 A H B J 5J H...
Страница 160: ...8 26 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuring PPP OC 12 ATM Configuration Guide...
Страница 216: ...13 6 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Example RIP Configuration Guide...
Страница 258: ...15 24 Riverstone Networks RS Switch Router User Guide Release 8 0 Displaying IS IS Information IS IS Configuration Guide...
Страница 308: ...16 50 Riverstone Networks RS Switch Router User Guide Release 8 0 BGP Configuration Examples BGP Configuration Guide...
Страница 530: ...23 10 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Examples IPX Routing Configuration...
Страница 546: ...24 16 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring ACLs Access Control List Configuration...
Страница 582: ...26 20 Riverstone Networks RS Switch Router User Guide Release 8 0 Limiting Traffic Rate QoS Configuration...
Страница 586: ...27 4 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring Broadcast Traffic Performance Monitoring...