© Copyright Lenovo 2016
Chapter 4: Configuration Commands
507
IPv4 Static Route Configuration
Up
to
128
IPv4
static
routes
can
be
configured.
Table 261.
IPv4
Static
Route
Configuration
Options
Command Syntax and Usage
ip
route
<IP
subnet>
<IP
netmask>
<IP
nexthop>
[
<IP
interface
number>
|
|port
<port
alias
or
number>
]
Adds
a
static
route.
You
will
be
prompted
to
enter
a
destination
IP
address,
destination
subnet
mask,
and
gateway
address.
Enter
all
addresses
using
dotted
decimal
notation.
Command
mode:
Global
configuration
no
ip
route
<IP
subnet>
<IP
netmask>
[
<IP
interface
number>
|
<IP
nexthop>
[
<IP
interface
number>
]|port
<port
alias
or
number>
]
Removes
a
static
route.
The
destination
address
of
the
route
to
remove
must
be
specified
using
dotted
decimal
notation.
Command
mode:
Global
configuration
ip
route
ecmphash
[sip]
Configures
ECMP
hashing
parameters.
You
may
choose
one
or
more
of
the
following
parameters:
sip
:
Source
IP
address
Command
mode:
Global
configuration
[no]
ip
route
healthcheck
Enables
or
disables
static
route
health
checks.
The
default
setting
is
disabled
.
Command
mode:
Global
configuration
ip
route
interval
<1
‐
60>
Configures
the
ECMP
health
‐
check
ping
interval,
in
seconds.
The
default
value
is
1
second.
Command
mode:
Global
configuration
ip
route
retries
<1
‐
60>
Configures
the
number
of
ECMP
health
‐
check
retries.
The
default
value
is
3
retries.
Command
mode:
Global
configuration
no
ip
route
all
Clears
all
IP
statis
routes.
Command
mode:
Global
configuration
no
ip
route
destination
address
<IP
address>
Clears
all
IP
static
routes
with
this
destination.
Command
mode:
Global
configuration
Summary of Contents for RackSwitch G8332
Page 20: ...20 G8332 Command Reference for ENOS 8 4 ...
Page 32: ...32 G8332 Command Reference for ENOS 8 4 ...
Page 674: ...674 G8332 Command Reference for ENOS 8 4 ...
Page 708: ...708 G8332 Command Reference for ENOS 8 4 ...
Page 732: ...732 G8332 Command Reference for ENOS 8 4 ...
Page 750: ...750 G8332 Command Reference for ENOS 8 4 ...
Page 766: ...766 G8332 Command Reference for ENOS 8 4 Taiwan Class A compliance statement ...