Setting The Load Balancing Mode Of Ip Packet Forwarding; Checking The Configuration - Huawei Quidway S9300 Configuration Manual

Terabit routing switch v100r001c03
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - IP Service

3.2.6 Setting the Load Balancing Mode of IP Packet Forwarding

Context
When flow-based load balancing mode is adopted, the S9300 performs the Hash algorithm based
on the protocol type, source IP address and mask, destination IP address and mask, source port
number, and destination port number, and then selects a route for forwarding packets according
to the Hash value.
When packet-based load balancing mode is adopted, the S9300 selects different links for
forwarding packets.
By default, the flow-based load balancing mode is adopted.
The load-balance command is valid for forwarding of Multiprotocol Label Switching Protocol
(MPLS) packets. For details on this command, see "MPLS Public Configuration" in the Quidway
S9300 Terabit Routing Switch Configuration Guide - MPLS.
Do as follows on the S9300.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
load-balance { flow | packet } [ all | slot slot-id ]
The load balancing mode is configured for IP packet forwarding.
----End

3.2.7 Checking the Configuration

Prerequisite
The configurations of optimizing IP performance are complete.
Procedure
l
l
l
l
l
Issue 02 (2009-08-06)
NOTE
The value of slot-id can only be 0. That is, theS9300 performs load balancing only for the packets sent out
from the CPU of the main control board.
Run the display tcp status [ [ task-id task-id ] [ socket-id socket-id ] | [ local-ip ipv4-
address ] [ local-port local-port-number ] [ remote-ip ipv4-address ] [ remote-port
remote-port-number ] ] command to check the TCP connection status.
Run the display tcp statistics command to check the statistics on TCP traffic.
Run the display udp statistics command to check the statistics on UDP traffic.
Run the display ip statistics command to check the statistics on IP traffic.
Run the display ip socket [ monitor ] [ task-id task-id socket-id socket-id | sock-type
socket-type ] command to check information about the created IPv4 socket.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 IP Performance Configuration
3-7

Advertisement

Table of Contents
loading

Table of Contents