DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
442
46-6 ip route
This command is used to add a static route entry. Use no form of this command to remove a static route entry. Primary
and backup are mutually exclusive. Users can select only one when creating a new route. If user sets neither of these,
the system will try to set the new route first by primary and second by backup and not set this route to be a multipath
route. The weight is used to configure the equal cost multiple paths (WCMP) function.
ip route [vrf
vrf-name
]
network net-mask
{
ip-address
[{primary | backup | weight
number
}] | null0 | ip_tunnel
tunnel-name
}
no ip route [vrf
vrf-name
]
network net-mask
{
ip-addres
| null0 | ip_tunnel
tunnel-name
}
Parameters
Default
By default,
dip
and
crc32_lower
is set.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 8
Usage Guideline
User can use any combination of
dip
,
port
,
sip
,
crc32_lower
or
crc32_upper
to
build the Hash algorithm.
sip
,
crc32_lower
or
crc32_upper
are mutually exclusive
with each other. User is required to select one and only one of them.
The no form of this command will remove the keywords it carries with as the
components of a key from the saved setting. For example, if the system saves the
setting of
sip
,
dip
and
port
. After the
no ip ecmp load-balance dip port
is
executed, only
sip
is available for the key. If the no form of this command has the
keywords not in the saved settings, the command runs properly. If using the no form
of this command without any keywords, the configuration will go back to the default
settings.
Use
show ip ecmp load-balance
to check the current setting of load-balancing
algorithm.
Example
This example shows how to set the load-balancing algorithm to use
sip
and TCP or
UDP port.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip ecmp load-balance sip port
DXS-3600-32S(config)#
vrf
vrf-name
(Optional) Specifies to add this static route to the VRF routing table.
network
Specifies the network address of the destination. The destination of the route is
determined by network and net-mask.
net-mask
Specifies the network mask of the destination.
ip-address
Specifies the IP address of the next-hop router
primary
(Optional) Specifies the route as the primary route to the destination.
backup
(Optional) Specifies the route as the backup route to the destination.
weight
number
(Optional) Specifies a weight number greater than zero, but not greater than the
maximum paths number for the WCMP. This number is used to replicate identical
route path (multiple copies) in routing table, so the path get more chance to be hit for
traffic routing.
null0
Specifies a black hole route.
ip_tunnel
tunnel-name
Specifies to use an IP tunnel as the next-hop.
Default
By default, no static route is configured.
Command Mode
Global Configuration Mode.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...