EasyManua.ls Logo

ZyXEL Communications MSC1000G - Ip Route Set Command

ZyXEL Communications MSC1000G
1168 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 25 ip Commands
Management Switch Card User’s Guide
724
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.
25.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.
25.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 -

Table of Contents

Related product manuals