EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 406

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide IPv4 Express Forwarding Configuration
Ruijie# show ip ref route [default |
(ip mask)]
Display the default routing information in the existing
express forwarding table. If no default route is
specified, all routing information in the express
forwarding table will be displayed, including routes,
default route and ordinary gateway routes.
Synchronizing Express Forwarding Table to Hardware Forwarding Table
On a layer-3 switch, the hardware forwarding table and software forwarding table may be
inconsistent due to the case that the total number of routes in software forwarding table exceeds
the capacity of hardware forwarding table or the conflict between hardware and hash bucket. If
the total number of routes in software forwarding table exceeds the capacity of hardware
forwarding table, the user shall manage to reduce the number of routes and then execute "ip ref
synchronize all" command in privilege mode to synchronize the software forwarding table to
hardware forwarding table, yet there is no solution to the conflict between hardware and hash
bucket.
Command
Function
Ruijie# ip ref synchronize all
When software forwarding table and hardware
forwarding table are inconsistent, execute this
command to synchronize.
In case the capacity of hardware forwarding table is insufficient or there is a conflict between
hardware and hash bucket, such event will be printed in logs in the format of:
EFHW-4-(TBL_NO_RESOURCE): DESCRIPTION.
Configuring ECMP/WCMP Policy for Express Forwarding
When there are ECMP/WCMP routes on the switch, there will be load balancing policy as well.
When such route has multiple next hops, the hardware can select one of these next hops as per
the preconfigured policy.
This policy can be represented as: HASH(KEY(SIP,[DIP] [TCP/UDP Port] [ UDF]))
Explanation of this expression: By performing hash operation of a keyword, the value calculated
is used to select the next hop. The policy configurations include: 1) Selection of HASH algorithm.
The hardware provides two options: CRC32_Upper and CRC32_Lower. 2) KEY. The KEY is formed
by selecting certain fields of the packet. By default, only the source IP address (SIP) is selected.
Meanwhile, the corresponding port of TCP/UDP packet, destination IP (DIP) of packet and
user-defined value can also be added to comprise the KEY.
Command
Function
Ruijie(config)# ip ref ecmp load-balance
{[crc32_lower |crc32_upper] [dip] [port] [udf
number]}
Use any combination of DIP, Port and UDF to
form the KEY, and select CRC32_Lower or
CRC32_Upper as the Hash algorithm.

Table of Contents

Related product manuals