4 route delete command, 5 route show command, 4 route delete command 50.3.5 route show command – ZyXEL Communications IES-708-22A User Manual

Page 317

Advertising
background image

Chapter 50 IP Commands

IES-708-22A User’s Guide

317

where

This command defines a new, static IP forwarding route or edits an existing one.

50.3.4 Route Delete Command

Syntax:

ras> ip route delete <dst ip>[/netmask]

where

This command removes a static, IP forwarding route.

50.3.5 Route Show Command

Syntax:

ras> ip route show

This command displays the IES-708-22A’s routing table.
An example is shown next.

<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.

default

=

Use this to configure the IES-708-22A’s default route.

<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.

ras> ip route show
index dest gateway metric name
----- --------------- --------------- ------ -------------------------------
1 192.168.1.0/24 192.168.1.1 1
2 default 192.168.1.254 1

Advertising