xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
452
60
OSPF
E
QUAL
-C
OST
M
ULTI
-P
ATH
F
UNCTION
C
OMMANDS
The OSPF ECMP function commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config ecmp algorithm
{ip_destination | [ip_source| crc_low | crc_high] |
tcp_udp_port}
show ecmp
enable ecmp ospf
disable ecmp ospf
Each command is listed, in detail, in the following sections.
config ecmp algorithm
Purpose
Used to configure the ECMP routes load balance algorithm.
Syntax
config ecmp algorithm {ip_destination | [ip_source| crc_low |
crc_high] | tcp_udp_port}
Description
The configure command sets the ECMP load balance algorithm. Thus,
it is effective for ECMP routing. ECMP routing can be adopted either by
OSPF dynamic routes or by static routes which are configured with
equal weight.
Parameters
ip_source
– If set, the ecmp algorithm will include the lower 5 bits of
source IP. This attribution is mutually exclusive with crc_low and
crc_high. If it is set, crc_low and crc_high will be excluded. It is not set
by default.
crc_low
– If set, ecmp algorithm will include the lower 5 bits of CRC.
This attribution is mutually exclusive with crc_high and ip_source. If it is
set, crc_high and ip_source will be excluded. It it set by default.
crc_high
– If set, the ecmp algorithm will include the upper 5 bits of
CRC. This attribution is mutually exclusive with ip_source and crc_low.
If it is set, crc_low and ip_source will be excluded. It is not set by
default.
ip_destination
– If set, destination IP address will be used to calculate
CRC hash value.
tcp_udp_port
– If set, TCP/UDP ports will be used to calculate CRC
hash value.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the ECMP load balance algorithm:
DGS-3627:5#config ecmp algorithm crc_low
Command: config ecmp algorithm crc_low
Success.
DGS-3627:5#