beautypg.com

4 route delete command, 5 route show command, Figure 196 route show command example – ZyXEL Communications IES-612-51A User Manual

Page 333

background image

Chapter 49 IP Commands

IES-612-51A User’s Guide

333

where

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

49.3.4 Route Delete Command

Syntax:

ras> ip route delete [/netmask]

where

This command removes a static, IP forwarding route.

49.3.5 Route Show Command

Syntax:

ras> ip route show

This command displays the IES-612-51A’s routing table.

An example is shown next.

=

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.

=

The IP address of the gateway that you want to send the
packets through.

[metric]

=

The metric (hop count) of this static route.

=

A name to identify this static route. Up to 31 ASCII
characters. Spaces and tabs are not allowed.

default

=

Use this to configure the IES-612-51A’s default route.

=

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.

Figure 196 Route Show Command Example

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