Chapter 28 ip Commands
28.2.5 ip route delete Command
Syntax:
ras> ip route delete <dst-ip>[/<netmask>] <gateway>
where
<dst ip>
[/netmask]
<gateway>
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.
ras> ip route delete 123.23.19.233 123.23.15.253
28.2.6 ip route set Command
Syntax:
ras> ip route set <dst-ip>[/<netmask>] <gateway-ip> [<metric>] [<name>]
where
<dst ip>
[/<netmask>]
<gateway-ip>
[<metric>]
[<name>]
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.
ras> ip route set 123.23.19.233 123.23.15.253 statroute1
28.2.7 ip route show Command
Syntax:
ras> ip route show
660
The destination IP address of packets to which this static route applies.
=
The destination subnet mask of packets to which this static route applies.
=
=
The IP address of the gateway that you want to send the packets through.
The destination IP address of packets that this static route is to route.
=
The destination subnet mask of packets that this static route is to route.
=
=
The IP address of the gateway that you want to send the packets through.
=
The metric (hop count) of this static route.
A name to identify this static route. Up to 31 English keyboard characters.
=
Spaces and tabs are not allowed.
MSC1000G/1024G/1224G Series User's Guide