
ip route
Enterasys G-Series CLI Reference 15-19
ip route
Use
this
command
to
add
or
remove
a
static
IP
route.
The
no
form
of
this
command
removes
the
static
IP
route.
ip route
prefix mask dest-addr
[
distance
]
no ip route
prefix mask forward-addr
Parameters
Defaults
If
distance
is
not
specified,
the
default
value
of
1
will
be
applied.
Mode
Global
configuration:
G3
(su)
‐
>router(Config)#
Example
This
example
shows
how
to
set
IP
address
10.1.2.3
as
the
next
hop
gateway
to
destination
address
10.0.0.0:
G3(su)->router(Config)#ip route 10.0.0.0 255.0.0.0 10.1.2.3
ping
Use
this
command
to
test
routing
network
connectivity
by
sending
IP
ping
requests.
Syntax
ping
ip-address
Parameters
Defaults
None.
Mode
Privileged
EXEC:
G3
(su)
‐
>router#
Usage
This
command
is
also
available
in
switch
mode.
prefix
Specifies
a
destination
IP
address
prefix.
mask
Specifies
a
destination
prefix
mask.
dest
‐
addr
Specifies
a
forwarding
(gateway)
IP
address.
distance
(Optional)
Specifies
an
administrative
distance
metric
for
this
route.
Valid
values
are
1
(default)
to
255.
Routes
with
lower
values
receive
higher
preference
in
route
selection.
ip
‐
address
Specifies
the
IP
address
of
the
system
to
ping.
Содержание G3G170-24
Страница 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Страница 2: ......
Страница 30: ...xxviii...
Страница 100: ...set ssl 2 56 Basic Configuration...
Страница 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Страница 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Страница 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Страница 384: ...clear nodealias config 11 34 Logging and Network Management...
Страница 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Страница 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Страница 524: ...traceroute ipv6 17 10 IPv6 Management...
Страница 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...