Zyxel IES-5112 [734/1156] Ip route show command

Zyxel IES-6000 [734/1156] Ip route show command
Chapter 27 ip Commands
Management Switch Card User’s Guide
734
where
This command removes a static, IP forwarding route.
The following example removes a static route for destination IP address 123.23.19.233 through a
gateway at IP address 123.23.15.253.
27.2.6 ip route set Command
Syntax:
ras> ip route set <dst-ip>[/<netmask>] <gateway-ip> [<metric>] [<name>]
where
This command defines a new, static IP forwarding route or edits an existing one.
The following example creates a static route named “statroute1” to send traffic for destination IP
address 123.23.19.233 through a gateway at IP address 123.23.15.253.
27.2.7 ip route show Command
Syntax:
ras> ip route show
This command displays the system’s routing table. An example is shown next.
<dst ip> =
The destination IP address of packets to which this static route applies.
[/netmask] =
The destination subnet mask of packets to which this static route applies.
<gateway> =
The IP address of the gateway that you want to send the packets through.
ras> ip route delete 123.23.19.233 123.23.15.253
<dst ip> =
The destination IP address of packets that this static route is to route.
[/<netmask>]
=
The destination subnet mask of packets that this static route is to route.
<gateway-ip>
=
The IP address of the gateway that you want to send the packets through.
[<metric>]
=
The metric (hop count) of this static route.
[<name>]
=
A name to identify this static route. Up to 31 English keyboard characters.
Spaces and tabs are not allowed.
ras> ip route set 123.23.19.233 123.23.15.253 statroute1
ras> ip route show
dest interface gateway metric name
------------------ ---------- --------------- ------ ----------------
123.23.15.0/24 outband 123.23.15.86 1 -
123.23.19.233 outband 123.23.15.253 5 statroute1
192.168.1.0/24 inband 192.168.1.2 1 -
default outband 123.23.15.254 1 -

Содержание

Скачать